Wikidata MCP Server

@cyanheads/wikidata-mcp-server Search and fetch Wikidata entities, execute SPARQL queries, and resolve external identifiers via MCP. STDIO or Streamable HTTP. Its README documents 7 tools, including wikidata_search_entities, wikidata_get_entity, wikidata_get_labels.

People who work with knowledge graph, linked data and sparql and want it reachable from Claude, Cursor, VS Code, or another MCP client. The project is written in TypeScript.

VERIFIED ACTIVE

LAST COMMIT 2026-08-22 · ★ 3 · #86 OF 208 MAINTAINED DOCUMENTATION · VERIFIED 2026-09-18

Apache-2.0 · TypeScript servers · how we verify → /methodology

01 · Install Wikidata MCP Server

before you install - you'll need

Set MCP_TRANSPORT_TYPE, MCP_LOG_LEVEL before connecting.

Claude Code

claude mcp add cyanheads-wikidata-mcp-server --transport http https://wikidata.caseyjhand.com/mcp

Claude Desktop / Cursor / VS Code - add to config

{
  "mcpServers": {
    "cyanheads-wikidata-mcp-server": {
      "url": "https://wikidata.caseyjhand.com/mcp"
    }
  }
}

Same JSON for Cursor. For VS Code, rename the top-level key from `mcpServers` to `servers`.

Using another client? Same JSON, different key

Claude Desktop · mcpServers

Cursor · mcpServers

VS Code · servers

Windsurf · mcpServers

Zed · context_servers

Cline · mcpServers

Roo Code · mcpServers

Continue · mcpServers

LibreChat · mcpServers

Gemini CLI · mcpServers

Codex CLI · mcp_servers

Full setup guides: every client.

02 · Evidence

https://wikidata.caseyjhand.com/mcp

transport: streamable-http

endpoint alive - responded to MCP initialize · probed 2026-09-17

Security posture

What to check before giving this server access to your agent - from the registry, GitHub, and our own probes. We don't score safety; we show what's verifiable.

runs as local process (stdio) - runs on your machine with your user's permissions · remote - your agent's requests go to wikidata.caseyjhand.com

endpoint auth accepted our unauthenticated MCP initialize - no credentials needed to connect

license Apache-2.0 - declared in the repository

npm package @cyanheads/wikidata-mcp-server - published under the repo owner's npm scope (@cyanheads)

registry namespace io.github.cyanheads is GitHub-verified and matches the repo owner

03 · What Wikidata MCP Server can do

Prose above is summarized from the project's README and registry record - no invented capabilities.

What you can build

With this server connected, an agent can search for items or properties by text query, returning QIDs/PIDs with labels, descriptions, and match metadata, fetch a full entity by QID or PID with optional field and language filtering, fetch property claims for an entity with qualifier detail and QID label resolution, and execute a SPARQL SELECT query against the Wikidata Query Service.

The 7 tools it gives your agent

Extracted from the project's README - what wikidata-mcp-server lets an agent do.

wikidata_search_entities
- Search for items or properties by text query, returning QIDs/PIDs with labels, descriptions, and match metadata
wikidata_get_entity
- Fetch a full entity by QID or PID with optional field and language filtering
wikidata_get_labels
- Batch-resolve up to 50 QIDs or PIDs to human-readable labels and descriptions
wikidata_get_statements
- Fetch property claims for an entity with qualifier detail and QID label resolution
wikidata_get_sitelinks
- Fetch Wikipedia and Wikimedia project article URLs for a Wikidata item
wikidata_sparql_query
- Execute a SPARQL SELECT query against the Wikidata Query Service
wikidata_resolve_external_id
- Look up a Wikidata entity by an external identifier (DOI, PubMed ID, ORCID, OpenAlex ID, etc.)

Latest releases

v0.1.18 · 2026-08-22

SDK v2 adoption and response parity · Supports MCP 2026-07-28, advertises error envelopes and JSON Schema 2020-12 where appropriate, and rejects undeclared root tool input keys instead of stripping them. · Selects…

v0.1.17 · 2026-07-15

Response overflow outlines, SPARQL VALUES fix, entity field narrowing · Three fixes: bounded response overflow on well-connected entities, a SPARQL label-injection bug, and a bandwidth win on entity fetches. · Added…

v0.1.16 · 2026-07-14

resolve_external_id: URL/whitespace normalization, datatype gate · Four issue fixes harden identifier normalization and validation in wikidata_resolve_external_id. · Fixed: · Identifier-resolver URL prefixes ( a bare…

04 · Who maintains Wikidata MCP Server

wikidata-mcp-server is maintained by cyanheads. We track 125 MCP servers from cyanheads - 119 actively maintained, 1,816 combined GitHub stars, oldest repo from Dec 2024. Full record: all servers from cyanheads.

  1. obsidian-mcp-server Read, write, search, and surgically edit Obsidian notes, tags, and frontmatter via MCP. ★ 681
  2. mcp-ts-core Agent-native TypeScript framework for MCP servers. ★ 151
  3. pubmed-mcp-server Search PubMed/Europe PMC, fetch articles and full text (PMC/EPMC/Unpaywall), citations, MeSH terms. ★ 148
  4. git-mcp-server Comprehensive Git MCP server enabling native git tools including clone, commit, worktree, & more. ★ 240
  5. clinicaltrialsgov-mcp-server Search ClinicalTrials.gov - find studies, retrieve results, match patients to eligible trials. ★ 94
  6. ntfy-mcp-server Send, manage, and replay ntfy push notifications via MCP. ★ 22

05 · Facts

category
documentation - ranked #86 of 208 actively-maintained documentation servers as of 2026-09-18.
release cadence
5 releases in the last 90 days (latest 2026-08-22)
registry
io.github.cyanheads/wikidata-mcp-server (active, first published 2026-05-24 · 17 versions)
packages
npm:@cyanheads/wikidata-mcp-server · npm:@cyanheads/wikidata-mcp-server

06 · Wikidata MCP Server FAQ

Is Wikidata MCP Server still maintained?

Yes - as of 2026-09-18, its last commit was 2026-08-22 and it shipped 5 releases in the last 90 days. We re-verify nightly.

What can Wikidata MCP Server do?

With this server connected, an agent can search for items or properties by text query, returning QIDs/PIDs with labels, descriptions, and match metadata, fetch a full entity by QID or PID with optional field and language filtering, fetch property claims for an entity with qualifier detail and QID label resolution, and execute a SPARQL SELECT query against the Wikidata Query Service.

How do I install Wikidata MCP Server?

Run `npx -y @cyanheads/wikidata-mcp-server`. The README documents 2 environment variables (MCP_TRANSPORT_TYPE, MCP_LOG_LEVEL) to set first. Set MCP_TRANSPORT_TYPE, MCP_LOG_LEVEL before connecting. You can also paste the ready-made client config above.

Does Wikidata MCP Server require authentication?

No - the endpoint accepted our unauthenticated MCP initialize when probed on 2026-09-17; you can connect without credentials.

07 · Alternatives to Wikidata MCP Server