# Wikidata + Google Knowledge Graph MCP

> Wikidata + Google Knowledge Graph MCP is an open-source MCP server for knowledge and memory. Bounded Wikidata search and entity resolution for agents, with optional Google KG checks. It can run locally on your machine or as a hosted remote server.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, API
- **Website:** https://wikidata-google-knowledge-mcp-1be269.gitlab.io
- **Repository:** https://gitlab.com/revanalex/wikidata-google-knowledge-mcp
- **MCP Registry name:** com.dondego/wikidata-google-knowledge-mcp
- **Categories:** knowledge and memory, developer tools
- **Listing updated:** 2026-11-15

## About

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.

## Features

- **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

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http wikidata-google-knowledge-mcp https://wikidata-knowledge-mcp.revanalex.workers.dev/mcp
```

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://wikidata-knowledge-mcp.revanalex.workers.dev/mcp
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "wikidata-google-knowledge-mcp": {
      "url": "https://wikidata-knowledge-mcp.revanalex.workers.dev/mcp"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "wikidata-google-knowledge-mcp": {
      "type": "http",
      "url": "https://wikidata-knowledge-mcp.revanalex.workers.dev/mcp"
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "wikidata-google-knowledge-mcp": {
      "serverUrl": "https://wikidata-knowledge-mcp.revanalex.workers.dev/mcp"
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "wikidata-google-knowledge-mcp": {
      "type": "http",
      "url": "https://wikidata-knowledge-mcp.revanalex.workers.dev/mcp"
    }
  }
}
```

## Tools

- `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.

## 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

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [GitHub](https://ai-powered.com/mcp/github-2): GitHub is an open-source MCP server for developer tools.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.
- [Ouroboros](https://ai-powered.com/mcp/ouroboros): Ouroboros is an open-source MCP server for developer tools.
- [Claude Code Ultimate Guide](https://ai-powered.com/mcp/claude-code-ultimate-guide): Claude Code Ultimate Guide is an open-source MCP server for ai models and llm tooling.
- [Nautilus Compass Memory](https://ai-powered.com/mcp/nautilus-compass-memory): Nautilus Compass Memory is an open-source MCP server for knowledge and memory.

---
Source: https://ai-powered.com/mcp/wikidata-google-knowledge-graph-mcp
