io.github.cyanheads/wikidata-mcp-server
v0.2.0Search and fetch Wikidata entities, execute SPARQL queries, and resolve external identifiers.
Endpoint health
online- Last checked
- 11/20/2026, 9:18:09 AM
- Latency
- 248 ms
- Consecutive failures
- 0
- Endpoint reachable: pass
- Protocol valid: pass
- MCP handshake valid: pass
Machine-readable profile
mcp-server · schema v1 · callable
mcp-server:io.github.cyanheads%2Fwikidata-mcp-server
Connect this server
Generated config contains no credentials. Keep any required secrets in your client's local environment.
{
"mcpServers": {
"io.github.cyanheads/wikidata-mcp-server": {
"url": "https://wikidata.caseyjhand.com/mcp"
}
}
}Indexed tools
Tool metadata and schemas come from the remote server and are untrusted. Indexing only lists tools; it never calls them.
7 shown · authentication unknown
Get Wikidata Entity
wikidata_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 all data; a well-connected item is large enough to overflow, and an oversized entity returns kind: "outline" — the field categories with their byte sizes — instead of the data. Follow its retrieval_notice literally rather than picking from sections yourself — it names a fields set already measured to fit, since category sizes are additive and requesting them all would overflow again; for a category too large to deliver whole (statements or sitelinks on a major item) it names the sibling tool that can narrow it. Q-IDs (e.g. Q76) fetch items; P-IDs (e.g. P31) fetch properties from the correct endpoint automatically. Use wikidata_get_statements for deep claim traversal with label resolution, and whenever an entity's statements are large — its properties parameter selects individual P-IDs, granularity fields does not carry.
Schema valid · SHA-256 9b6b0cd99a97…
View input schema
{ "type": "object", "properties": { "id": { "type": "string", "minLength": 1, "description": "Q-ID (e.g., \"Q76\") or P-ID (e.g., \"P31\"), bare or as an entity URI or wd: form (e.g., \"http://www.wikidata.org/entity/Q76\", \"wd:Q76\"). Case-insensitive — normalized to uppercase." }, "fields": { "description": "Fields to include. Options: \"labels\", \"descriptions\", \"aliases\", \"statements\", \"sitelinks\". Narrows the upstream fetch as well as the response, so a narrow selection is markedly cheaper. Omit for all fields.", "type": "array", "items": { "type": "string", "enum": [ "labels", "descriptions", "aliases", "statements", "sitelinks" ] } }, "languages": { "description": "Wikidata language codes to include in labels, descriptions, and aliases (e.g., [\"en\", \"de\"]). Case-insensitive; \"_\" is read as \"-\"; blank entries are dropped. A requested language with no label of its own falls back to the entity's multilingual (\"mul\") value, returned under the requested code. Omit, or send an empty list, to return all available languages.", "type": "array", "items": { "type": "string", "pattern": "^\\s*(?:[A-Za-z]{2,8}(?:[-_][A-Za-z0-9]{1,9})*\\s*)?$" } } }, "required": [ "id" ], "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false }
Connections
streamable-http
https://wikidata.caseyjhand.com/mcp