MCP server
Wikidata
io.github.cyanheads/wikidata-mcp-server
Checked 26 Oct 2026, 08:29 UTC · Connected to it and listed its tools
Search and fetch Wikidata entities, execute SPARQL queries, and resolve external identifiers.
Working at last checkAbout 3,630 tokens per request once connected7 tools
https://wikidata.caseyjhand.com/mcp
At a glance
- Type
- MCP server
- Publisher
- Not verified
- Status
- Working at last check
- Tools
- 7
- Token cost
- About 3,630 tokens per request
- Sets up in
- Claude Code, Claude Desktop, Codex, Gemini CLI, Cursor, VS Code, Antigravity, ChatGPT, OpenAI API, Grok
- Last checked
- 26 Oct 2026, 08:29 UTC
Connect it to your agent
Opens the app, which shows the server and asks you to confirm. For other apps, copy the setup below.
Claude Code
claude mcp add --transport http wikidata-mcp-server https://wikidata.caseyjhand.com/mcp
Claude Desktop
Settings → Connectors → Add custom connector, and paste the URL.
Codex (config.toml)
[mcp_servers.wikidata-mcp-server] url = "https://wikidata.caseyjhand.com/mcp"
Gemini CLI
{"mcpServers":{"wikidata-mcp-server":{"httpUrl":"https://wikidata.caseyjhand.com/mcp"}}}
Cursor
{"mcpServers":{"wikidata-mcp-server":{"url":"https://wikidata.caseyjhand.com/mcp"}}}
VS Code
{"servers":{"wikidata-mcp-server":{"type":"http","url":"https://wikidata.caseyjhand.com/mcp"}}}
Antigravity
agy mcp add wikidata-mcp-server https://wikidata.caseyjhand.com/mcp
ChatGPT
Settings → Apps & Connectors → Advanced settings: turn on Developer mode, then Create a connector and paste the URL. Which plans can do this varies.
OpenAI API (Responses tools)
{"type":"mcp","server_label":"wikidata-mcp-server","server_url":"https://wikidata.caseyjhand.com/mcp","require_approval":"always"}
Grok (xAI API tools)
{"type":"mcp","server_label":"wikidata-mcp-server","server_url":"https://wikidata.caseyjhand.com/mcp"}
Tools
wikidata_get_entity~650 tokens
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, awikidata_get_labels~324 tokens
Resolve one or more QIDs or PIDs to their human-readable labels and descriptions. Lightweight — returns no claim data. Supports up to 50 IDs per call (batched automatically). Designed for the common agent pattern: receive QIDs from a SPARQL query, then humanize them.wikidata_get_sitelinks~326 tokens
Fetch Wikipedia and Wikimedia project article URLs for a Wikidata item. A sitelink maps a site code (e.g., "enwiki") to a Wikipedia article title and URL. Major items can have 300+ sitelinks across languages. Use sites to filter to specific language editions, or wikis_only to return only Wikipedia lwikidata_get_statements~624 tokens
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. Use the properties parameter to fetch only specific P-IDs — omitting it returns every statement, awikidata_resolve_external_id~634 tokens
Look up a Wikidata entity by an external identifier such as a DOI, PubMed ID, ORCID iD, or OpenAlex ID. Returns match=<entity> on success, match=null when not found, and match=null with multipleMatches populated when a Wikidata data integrity issue causes more than one entity to claim the same exterwikidata_search_entities~429 tokens
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) and type="property" to find predicate P-IDs. The API returns nwikidata_sparql_query~643 tokens
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:, schema:) are auto-injected. The wikibase:label SERVICE is als
Browse
Related MCP servers
- Wikidata Sparql
Wikidata SPARQL MCP — Wikidata Query Service - Dbpedia
DBpedia MCP — SPARQL + Lookup over Wikipedia-derived structured data - Artsdata
Search Artsdata for authoritative data on Canadian events, artists, organizations, and places. - Geo Reconcile
Wikidata <-> OpenStreetMap reconciliation. - Wikidata
Wikidata MCP — wraps Wikidata API (wikidata.org/w/api.php) - SiteCheck
225 pay-per-call agent tools: Polymarket, chain reads, DeFi, web, SEC, KYB, geo, dev, AI. x402 - Wikexa Knowledge
Wikipedia, Wikidata and Wiktionary as clean JSON, not HTML. 1.9M searchable. Free, no auth. - Momenticmarketing Momentic
Free SEO, GEO, and AEO audits: analyze any page or domain, AI-crawler access, agent readiness.
Badge for your README
[](https://aptlynx.net/servers/io.github.cyanheads/wikidata-mcp-server)
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents