Wikidata + Google Knowledge Graph MCP
Bounded Wikidata search and entity resolution for agents, with optional Google KG checks
- Pricing
- Open source
- Platforms
- CLI, API
- Runs
- Locally or Remotely
- Version
- 0.3.1
- Listing updated
- 2 days ago
About Wikidata + Google Knowledge Graph MCP
Wikidata + Google Knowledge Graph MCP is an open-source MCP server for knowledge and memory. It can run locally on your machine or as a hosted remote server.
Instead of returning dozens of raw hits, this server returns three candidates by default (five at most) with name, place and type match flags, and only the properties you ask for. The aim is to stop a model picking the top result for something like Fox Theatre, which matches over a hundred Wikidata items.
Its resolver is deterministic code. It needs a local anchor you supply, such as an official website, coordinates, address or creator, before it returns AUTO_MATCH. A name and city usually gives HOLD, and two plausible candidates give AMBIGUOUS, so uncertainty is an honest answer. Google and Wikidata agreement is recorded as provider concordance, not as proof of identity.
For corpora, the wdkg command line streams resumable JSONL with request budgets and exports an evidence bundle. The server is read-only, works without a Wikidata key, and uses a Google Knowledge Graph key only if set. It is not affiliated with Wikimedia or Google.
Install
Run in a terminal
claude mcp add --transport http wikidata-google-knowledge-mcp https://wikidata-knowledge-mcp.revanalex.workers.dev/mcpAdd to Settings → Connectors → Add custom connector
https://wikidata-knowledge-mcp.revanalex.workers.dev/mcpAdd to ~/.cursor/mcp.json
{
"mcpServers": {
"wikidata-google-knowledge-mcp": {
"url": "https://wikidata-knowledge-mcp.revanalex.workers.dev/mcp"
}
}
}Add to .vscode/mcp.json
{
"servers": {
"wikidata-google-knowledge-mcp": {
"type": "http",
"url": "https://wikidata-knowledge-mcp.revanalex.workers.dev/mcp"
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"wikidata-google-knowledge-mcp": {
"serverUrl": "https://wikidata-knowledge-mcp.revanalex.workers.dev/mcp"
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"wikidata-google-knowledge-mcp": {
"type": "http",
"url": "https://wikidata-knowledge-mcp.revanalex.workers.dev/mcp"
}
}
}Configuration
GOOGLE_KNOWLEDGE_GRAPH_API_KEYOptional Google Knowledge Graph Search API key. Wikidata works without it.
Tools this server provides (5)
Taken from the project documentation; the running server may differ.
- kg_search
- Candidates for a name.
- kg_entity
- Selected facts of one QID.
- kg_related
- One bounded relationship.
- kg_resolve
- Identity of one local record.
- kg_status
- Configuration and credential presence.
What it does
- Bounded search
- Three candidates by default with match flags.
- Evidence-based resolver
- Closed-vocabulary evidence codes, not model guesses.
- Honest outcomes
- HOLD, AMBIGUOUS and NO_CANDIDATE are valid results.
- Batch CLI
- Resumable JSONL resolver with request budgets.
- Id joins
- Maps Google /m/ and /g/ ids to Wikidata properties.
Good for
- Link venue records to Wikidata QIDs
- Check which candidate is the right Fox Theatre
- Fetch selected facts for one entity
- Resolve thousands of records with budgets
- Cross-check Wikidata against Google Knowledge Graph
Pricing
Open source
Free and open source
Prices change. Check wikidata-google-knowledge-mcp-1be269.gitlab.io before you buy.
Wikidata + Google Knowledge Graph MCP FAQ
Do I need keys?
Wikidata needs none; the Google Knowledge Graph API key is optional.
Can it edit Wikidata?
No, it is read-only.
What does HOLD mean?
The evidence is not enough to choose, such as a name plus city with no anchor.
How do I run it?
Via uvx or pip from PyPI as wikidata-google-knowledge-mcp, over stdio.
Is Wikidata + Google Knowledge Graph MCP free?
Yes. Wikidata + Google Knowledge Graph MCP is open source, so you can use and self-host it for free.
How do I add Wikidata + Google Knowledge Graph MCP to Claude Code?
Run this command in your terminal: claude mcp add --transport http wikidata-google-knowledge-mcp https://wikidata-knowledge-mcp.revanalex.workers.dev/mcp
What are the best alternatives to Wikidata + Google Knowledge Graph MCP?
The closest alternatives to Wikidata + Google Knowledge Graph MCP are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.
Alternatives to Wikidata + Google Knowledge Graph MCP

REA
MCP serverCLI and MCP server that lets coding agents reverse engineer apps and binaries
Runs locally- Open source
- 464K GitHub stars
- Developer tools

Codebase Memory
MCP serverLocal MCP server that builds a code knowledge graph for AI coding agents
Runs locally- Open source
- 48.7K GitHub stars
- Knowledge and memory

GitHub
MCP serverOfficial MCP server connecting AI assistants to GitHub repos, issues and workflows
Not checked yet- Remote
- Open source
- 34.5K GitHub stars
- Developer tools

Serena MCP: the IDE for your agent
MCP serverMCP toolkit giving coding agents symbol-level code retrieval and editing
Runs locally- Open source
- 31.5K GitHub stars
- Developer tools

XERJ
MCP serverLocal search engine for AI agents with cited answers over your code and docs
Runs locally- Open source
- 19.2K GitHub stars
- Knowledge and memory

Ouroboros
MCP serverSpec-first layer that pins requirements and verifies results of AI coding agent work
Runs locally- Open source
- 6.4K GitHub stars
- Developer tools