Skip to main content
Glama
Wikidata Entity Knowledge Graph MCP

Wikidata Entity Knowledge Graph MCP

README.md
# 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.

```text
https://wikidata-entity-knowledge-graph-mcp.lipmichal.workers.dev/mcp
```

## Available tools

| Tool | Purpose |
| --- | --- |
| `search_entities` | Search Wikidata items or properties by keyword and language to resolve Q-IDs |
| `get_entity_claims` | Retrieve structured Wikidata property claims for a Q-ID, optionally filtered by P-codes |
| `get_entity_sitelinks` | Fetch Wikipedia and Wikimedia sitelinks and canonical URLs for a Wikidata entity |
| `lookup_company_identifiers` | Extract B2B corporate identifiers (LEI, CIK, ISIN, EIN, DUNS, OpenCorporates, website) from a company Q-ID |
| `get_entity_summary` | 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.

```json
{
  "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.

```bash
npm install
npm run build
npm start
```

## Compliance 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](https://www.mcpstamp.com/free-servers/) with hosted keyless endpoints and client setup guides.
- [Free MCP readiness checker](https://www.mcpstamp.com/check/) to score any MCP server for Claude, ChatGPT, and registry submission.
- [MCP Readiness Audit ($490)](https://www.mcpstamp.com/services/#audit) for teams shipping a production server who want a hands-on security, schema, and store review.
- [Zovo Pro MCP Bundle ($39 one-time)](https://mcp.zovo.one/buy/bundle?src=gh.wikidata-entity-knowledge-graph-mcp) with hosted commercial servers and priority endpoints.

TDQS

A3.7/5.0

Scored across 5 tools

Disambiguation4/5

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.

Naming Consistency5/5

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.

Tool Count5/5

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.

Completeness4/5

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

ActivityMaintained
ResponsivenessNo recent community issues