io.github.cyanheads/wikidata-mcp-server
Search and fetch Wikidata entities, execute SPARQL queries, and resolve external identifiers.
Is this your project? Claim this entry to answer questions, hear about reviews and appear as the author.
- Repository
- github.com/cyanheads/wikidata-mcp-server
- Server address
https://wikidata.caseyjhand.com/mcp(streamable-http)- Version
- 0.4.1
- Author
- cyanheads (namespace verified by the registry)
- Source
- Official MCP registry (updated Nov 22, 2026)
Reviews
No review yet.
Sign in to leave a review. Your email is all you need.
Questions for the author
No question yet.
Sign in to ask the author a question. The author has not claimed this entry yet: they will only be told if they claim it. Other members can answer.
How to install it
Variables to fill in: WIKIDATA_USER_AGENT, WIKIDATA_SPARQL_TIMEOUT_MS, WIKIDATA_REST_TIMEOUT_MS, WIKIDATA_CLAMP_LIMITS, MCP_LOG_LEVEL.
Remote server (nothing to install)
Claude Code
In a terminal:
claude mcp add --transport http wikidata-mcp-server https://wikidata.caseyjhand.com/mcpClaude (app and claude.ai)
Open Settings, then Connectors, and add a custom connector with this address. If the server asks you to sign in, Claude will walk you through it.
https://wikidata.caseyjhand.com/mcpChatGPT
In Settings, Apps & Connectors section, turn on developer mode, then create a connector with this address.
https://wikidata.caseyjhand.com/mcpCursor ~/.cursor/mcp.json
Add this to ~/.cursor/mcp.json (or .cursor/mcp.json in the project):
{
"mcpServers": {
"wikidata-mcp-server": {
"url": "https://wikidata.caseyjhand.com/mcp"
}
}
}VS Code .vscode/mcp.json
Add this to your project’s .vscode/mcp.json:
{
"servers": {
"wikidata-mcp-server": {
"type": "http",
"url": "https://wikidata.caseyjhand.com/mcp"
}
}
}On your machine
Claude Code
The server runs on your machine (npm package). In a terminal:
claude mcp add wikidata-mcp-server -e WIKIDATA_USER_AGENT=YOUR_WIKIDATA_USER_AGENT -e WIKIDATA_SPARQL_TIMEOUT_MS=YOUR_WIKIDATA_SPARQL_TIMEOUT_MS -e WIKIDATA_REST_TIMEOUT_MS=YOUR_WIKIDATA_REST_TIMEOUT_MS -e WIKIDATA_CLAMP_LIMITS=YOUR_WIKIDATA_CLAMP_LIMITS -e MCP_LOG_LEVEL=YOUR_MCP_LOG_LEVEL -- npx -y @cyanheads/[email protected]Claude Desktop claude_desktop_config.json
Settings, Developer, Edit config, then add:
{
"mcpServers": {
"wikidata-mcp-server": {
"command": "npx",
"args": [
"-y",
"@cyanheads/[email protected]"
],
"env": {
"WIKIDATA_USER_AGENT": "YOUR_WIKIDATA_USER_AGENT",
"WIKIDATA_SPARQL_TIMEOUT_MS": "YOUR_WIKIDATA_SPARQL_TIMEOUT_MS",
"WIKIDATA_REST_TIMEOUT_MS": "YOUR_WIKIDATA_REST_TIMEOUT_MS",
"WIKIDATA_CLAMP_LIMITS": "YOUR_WIKIDATA_CLAMP_LIMITS",
"MCP_LOG_LEVEL": "YOUR_MCP_LOG_LEVEL"
}
}
}
}Cursor ~/.cursor/mcp.json
In ~/.cursor/mcp.json:
{
"mcpServers": {
"wikidata-mcp-server": {
"command": "npx",
"args": [
"-y",
"@cyanheads/[email protected]"
],
"env": {
"WIKIDATA_USER_AGENT": "YOUR_WIKIDATA_USER_AGENT",
"WIKIDATA_SPARQL_TIMEOUT_MS": "YOUR_WIKIDATA_SPARQL_TIMEOUT_MS",
"WIKIDATA_REST_TIMEOUT_MS": "YOUR_WIKIDATA_REST_TIMEOUT_MS",
"WIKIDATA_CLAMP_LIMITS": "YOUR_WIKIDATA_CLAMP_LIMITS",
"MCP_LOG_LEVEL": "YOUR_MCP_LOG_LEVEL"
}
}
}
}VS Code .vscode/mcp.json
In .vscode/mcp.json:
{
"servers": {
"wikidata-mcp-server": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@cyanheads/[email protected]"
],
"env": {
"WIKIDATA_USER_AGENT": "YOUR_WIKIDATA_USER_AGENT",
"WIKIDATA_SPARQL_TIMEOUT_MS": "YOUR_WIKIDATA_SPARQL_TIMEOUT_MS",
"WIKIDATA_REST_TIMEOUT_MS": "YOUR_WIKIDATA_REST_TIMEOUT_MS",
"WIKIDATA_CLAMP_LIMITS": "YOUR_WIKIDATA_CLAMP_LIMITS",
"MCP_LOG_LEVEL": "YOUR_MCP_LOG_LEVEL"
}
}
}
}ChatGPT
ChatGPT only connects to remote servers (an https address). This package runs locally: use one of the apps above.
These configurations are built from the information published by the author. Check the repository before installing a local server.
Our test
Responds The server speaks MCP and lists its tools.
- Date
- Nov 28, 2026, 10:21 (test run by L’Atlas)
- Response time
- 1,338 ms (whole test)
- Tools found
- 7
- Announced name
- wikidata-mcp-server 0.4.1
- Protocol
- MCP 2025-11-25
- Next test
- Dec 5, 2026
See the tools (7)
wikidata_search_entities
Search Wikidata for items or properties by text query. Returns QIDs or PIDs with labels, descriptions, and match metadata indicating whether the hit was on a label or alias. Use type="item" for real-world concepts (people, places, works) anwikidata_get_entity
Fetch a Wikidata entity (item or property) by QID or PID. The fields parameter narrows the upstream fetch, not just the response — asking for labels alone costs a fraction of the whole entity, so name the fields you need. Omit fields for alwikidata_get_labels
Resolve QIDs or PIDs to their human-readable labels and descriptions, with no claim data. Resolves up to 500 distinct IDs per call, batched automatically; distinct IDs past the first 500 come back in deferredIds to send in a follow-up call.wikidata_get_statements
Fetch property claims for a Wikidata entity with qualifier and reference detail. Item QIDs and quantity units — in values, qualifiers, and references — are resolved to human-readable labels by default, and every P-ID the statements name comwikidata_get_sitelinks
Fetch Wikipedia and other Wikimedia project article URLs for a Wikidata item. A sitelink maps a site code (e.g., "enwiki", "commonswiki") to an article title and URL. Major items can have 300+ sitelinks across languages. Use sites to filterwikidata_sparql_query
Execute a SPARQL SELECT query against the Wikidata Query Service. Full graph power: multi-hop traversals, aggregations, subqueries, OPTIONAL, FILTER, UNION, BIND. Standard Wikidata prefixes (wd:, wdt:, p:, ps:, pq:, wikibase:, bd:, rdfs:, swikidata_resolve_external_id
Look up a Wikidata entity by an external identifier such as a DOI, PubMed ID, ORCID iD, OpenAlex ID, or IMDb ID. Returns match=<entity> on success, match=null when not found, and match=null with multipleMatches populated when a Wikidata dat
What the test does: it opens an MCP session (initialize) and asks for the tool list (tools/list), with no key or account. No tool is ever called. Learn more
Cite this entry
For an article or comparison, use this permanent link and include the test date. The description comes from its source; reviews belong to members. A successful test is not a security audit.
io.github.cyanheads/wikidata-mcp-server · L’Agora · Tested on
[io.github.cyanheads/wikidata-mcp-server — L’Agora](https://lagora.dev/en/entry/io.github.cyanheads/wikidata-mcp-server)
Comments
No comment yet. A question, a tip? Start the discussion.
Sign in to comment.
Badge for your README
Show that your project is listed (and tested, if it responds): paste this code in your README. The badge follows the latest test and links back to this entry.
Markdown (GitHub)
[](https://lagora.dev/en/entry/io.github.cyanheads/wikidata-mcp-server)HTML
<a href="https://lagora.dev/en/entry/io.github.cyanheads/wikidata-mcp-server"><img src="https://lagora.dev/badge/io.github.cyanheads/wikidata-mcp-server.svg?lang=en" alt="io.github.cyanheads/wikidata-mcp-server on L’Agora" height="20"></a>For the entry’s author only: sign in to continue.
By the same author
io.github.cyanheads/clinicaltrialsgov-mcp-server Responds
io.github.cyanheads/openlibrary-mcp-server Responds
io.github.cyanheads/arxiv-mcp-server Responds