Wikidata Entity Knowledge Graph MCP
Searches live Wikidata items and properties by keyword and language to resolve canonical Q-IDs, then retrieves structured property claims for an entity (optionally filtered by P-codes), plus compact entity summaries with labels, descriptions, aliases and counts. Also extracts B2B corporate identifiers such as LEI, CIK, ISIN, EIN, DUNS, OpenCorporates and website from a company Q-ID.
Fetches the Wikipedia and other Wikimedia sitelinks for a Wikidata entity, returning the sitelink titles and canonical article URLs so a Q-ID can be resolved to its corresponding Wikipedia page(s) in each language.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Wikidata Entity Knowledge Graph MCP Find Apple Inc.'s LEI, CIK, and ISIN in Wikidata"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
wikidata-entity-knowledge-graph-mcp
Live Wikidata knowledge graph entity search, structured property claims, Wikipedia sitelinks, entity summaries, and B2B corporate identifiers over Model Context Protocol (MCP). Data teams, KYC analysts, and AI research workflows can resolve canonical Q-IDs and extract LEI, CIK, ISIN, and EIN records with zero API keys and zero sign-up. It works right away.
Hosted endpoint
Point any Streamable HTTP MCP client at the free hosted Cloudflare Worker endpoint.
https://wikidata-entity-knowledge-graph-mcp.lipmichal.workers.dev/mcpRelated MCP server: seosiri-semantic-entity-mcp
Available tools
Tool | Purpose |
| Search Wikidata items or properties by keyword and language to resolve Q-IDs |
| Retrieve structured Wikidata property claims for a Q-ID, optionally filtered by P-codes |
| Fetch Wikipedia and Wikimedia sitelinks and canonical URLs for a Wikidata entity |
| Extract B2B corporate identifiers (LEI, CIK, ISIN, EIN, DUNS, OpenCorporates, website) from a company Q-ID |
| Get a compact summary of a Wikidata entity with label, description, aliases, Wikipedia URL, and counts |
Client configuration
Add the remote URL to Claude Desktop, Cursor, or VS Code MCP settings.
{
"mcpServers": {
"wikidata-entity-knowledge-graph": {
"url": "https://wikidata-entity-knowledge-graph-mcp.lipmichal.workers.dev/mcp"
}
}
}Run locally over stdio
You can also run the server locally on Node 20 or newer over stdio.
npm install
npm run build
npm startCompliance and reliability
Every upstream request queries wikidata.org/w/api.php with a polite User-Agent header (mcpstamp-wikidata/1.0 (hello@mcpstamp.com)) and automatic retry on transient network or 5xx errors. Cloudflare edge caching applies only to HTTP 2xx responses, so upstream faults don't linger in cache. All five tools declare read-only, non-destructive, idempotent, open-world annotations, and the Worker negotiates protocol version 2026-07-28 down to the SDK version cleanly.
More MCP Servers and Readiness Check
This server belongs to the public MCP directory maintained by MCPStamp and Zovo.
Free live-data MCP directory with hosted keyless endpoints and client setup guides.
Free MCP readiness checker to score any MCP server for Claude, ChatGPT, and registry submission.
MCP Readiness Audit ($490) for teams shipping a production server who want a hands-on security, schema, and store review.
Zovo Pro MCP Bundle ($39 one-time) with hosted commercial servers and priority endpoints.
Available Tools
5 toolsget_entity_claimsGet Wikidata entity claimsARead-onlyIdempotentInspect
Retrieve structured claims (statements) for a Wikidata Q-ID, optionally filtered to specific comma-separated P-property codes.
Inputs: id (required), limit, language, properties.
get_entity_sitelinksGet Wikidata entity sitelinksBRead-onlyIdempotentInspect
Retrieve Wikipedia and Wikimedia project sitelinks and canonical article URLs for a Wikidata entity.
Inputs: id (required), limit, site_filter.
get_entity_summaryGet compact Wikidata entity summaryARead-onlyIdempotentInspect
Fetch a concise knowledge-graph summary for a Wikidata Q-ID with label, description, aliases, Wikipedia URL, instance-of classes, website, and claim/sitelink counts.
Inputs: id (required), language.
lookup_company_identifiersLookup B2B company identifiers on WikidataBRead-onlyIdempotentInspect
Extract structured B2B corporate identifiers (LEI, SEC CIK, ISIN, ticker symbol, IRS EIN, DUNS, OpenCorporates ID, official website, headquarters) for a company Q-ID.
Inputs: id (required).
search_entitiesSearch Wikidata entitiesARead-onlyIdempotentInspect
Search the Wikidata knowledge graph for items or properties by text query and language code to resolve canonical Q-IDs.
Inputs: query (required), type, limit, language.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
The five tools target clearly separable facets: text search, claims, sitelinks, a curated company-identifier extraction, and a roll-up summary. The only friction is that get_entity_summary aggregates data (Wikipedia URL, website, instance-of) that also appears in get_entity_sitelinks and get_entity_claims, and lookup_company_identifiers is essentially a curated subset of claims, so an agent may occasionally pick the summary when it wanted the focused extractor.
All names are snake_case verb_noun constructions (search_entities, get_entity_*, lookup_company_identifiers) with a consistent get_/search_/lookup_ verb vocabulary. The pattern is predictable and the resource is always explicit in the name.
Five tools is a tight, well-scoped surface for a read-only knowledge-graph lookup server; each tool corresponds to a distinct retrieval need and none feels like filler. There is no redundancy that would justify merging or splitting.
Coverage spans discovery (search), structured data (claims), external links (sitelinks), a domain-specific extraction (company identifiers), and a fast overview (summary), which covers most read workflows. Gaps remain: no batch/multi-entity retrieval, no way to resolve or expand the Q-IDs returned inside claim values, and no raw SPARQL escape hatch for queries the five tools don't anticipate.
Maintenance
Related MCP Connectors
Read-only Wikidata tools and identity evidence. Local optional Google KG; bounded public remote.
Search and fetch Wikidata entities, execute SPARQL queries, and resolve external identifiers.
Machine-readable entity discovery with provenance, trust and verified source evidence.
Wikipedia, Wikidata and Wiktionary as clean JSON, not HTML. 1.9M searchable. Free, no auth.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceConnects LLMs to Wikidata's structured knowledge base using a hybrid architecture that optimizes for both fast entity searches and complex relational queries. It provides tools for entity and property retrieval, metadata lookups, and direct SPARQL execution to ground AI responses in verified data.2-
- AlicenseNot gradedqualityCmaintenanceProvides tools for named entity extraction, Wikidata disambiguation, sameAs schema linking, and knowledge graph triple construction, enabling structured semantic data processing.MIT
- AlicenseNot gradedqualityBmaintenanceEnables agents to perform federated cited search and heuristic grounding across a governed versioned wiki and indexed files, inspect citation spans, and read or write scoped knowledge through HTTP or stdio MCP.Apache 2.0
- AlicenseAqualityBmaintenanceEnables agents to resolve named entities, retrieve curated Wikidata triples, discover cross-links and inbound relations, and run guarded SPARQL queries against a local Truthy knowledge graph for executive brief enrichment.71MIT