Add Wikidata MCP#1210
Conversation
|
@tadasant Could you please review this Wikidata (knowledge graph) MCP server? |
|
@tadasant Thanks! Do I need to update branch by myself? |
|
I worry that the servers repo is snowballing into a third party MCP server list. We can't really vet all the repos that are out there for safety and reliability. There are plenty of sites like PulseMCP that aggregate MCP servers. This repo is just meant to be examples maintained by the project. |
Sorry, forgot to hit merge! |
Not incorrect and it is unsustainable long term - just not fair to folks in the meantime to be unable to get listed until we resolve it (with the official registry) because this repo is what gets the most attention from the broader community. |
Description
Adds Wikidata MCP server to README.
https://github.com/zzaebok/mcp-wikidata
Server Details
Motivation and Context
How Has This Been Tested?
Tested it with MCP client and check the LLM uses the provided tools appropriately.
You can see the client code here: https://github.com/zzaebok/mcp-wikidata/blob/master/src/client.py
Output (some fields are omitted for clarity):
{ "messages": [ HumanMessage( content="Can you recommend me a movie directed by Bong Joonho?", ), AIMessage( tool_calls=[ { "name": "search_entity", "args": {"query": "Bong Joon-ho"}, } ], ), ToolMessage( content="Q495980", name="search_entity", ), AIMessage( tool_calls=[ { "name": "get_properties", "args": {"entity_id": "Q495980"}, } ], ), ToolMessage( content='["P345", "P244", "P214", "P227", ...]', name="get_properties", ), AIMessage( tool_calls=[ { "name": "search_property", "args": {"query": "director"}, } ], ), ToolMessage( content="P57", name="search_property", ), AIMessage( tool_calls=[ { "name": "execute_sparql", "args": { "sparql_query": 'SELECT ?film ?filmLabel WHERE {\n ?film wdt:P57 wd:Q495980.\n SERVICE wikibase:label { bd:serviceParam wikibase:language "en". }\n} LIMIT 1' }, } ], ), ToolMessage( content='[{"film": {"type": "uri", "value": "http://www.wikidata.org/entity/Q483761"}, "filmLabel": {"xml:lang": "en", "type": "literal", "value": "Mother"}}]', name="execute_sparql", ), AIMessage( content='I recommend the movie "Mother," which was directed by Bong Joon-ho.', ), ] }Breaking Changes
Types of changes
Checklist
Additional context