
Google Knowledge Graph
Look up people, places and organizations in Google's Knowledge Graph from Claude
- Pricing
- Open source
- Platforms
- CLI, self-hosted
- Runs
- Locally
- Version
- 1.0.10
- Listing updated
- 2 days ago
About Google Knowledge Graph
Google Knowledge Graph is an open-source MCP server for knowledge and memory. It runs locally on your machine and is started by your AI client.
This small server wraps Google's Knowledge Graph Search API so an assistant can verify facts about real-world entities during research. The author built it for fact-checking workflows and notes that the API itself is free, requiring only a Google Cloud API key with no billing account.
It offers two tools. One searches by name or description and returns entity types, descriptions (often drawn from Wikipedia), images, URLs, relevance scores and Machine IDs. The other looks up entities directly by Machine ID, which helps when resolving entities you already have identifiers for.
Install it with npx in Claude Desktop, with claude mcp add in Claude Code, or from source. It is MIT licensed and published by Houtini, a consultancy that also maintains other MCP servers. A GOOGLE_KNOWLEDGE_GRAPH_API_KEY is required.
Install
Run in a terminal
claude mcp add google-knowledge-graph --env GOOGLE_KNOWLEDGE_GRAPH_API_KEY='<GOOGLE_KNOWLEDGE_GRAPH_API_KEY>' -- npx -y @houtini/google-knowledge-graph-mcpAdd to claude_desktop_config.json
{
"mcpServers": {
"google-knowledge-graph": {
"command": "npx",
"args": [
"-y",
"@houtini/google-knowledge-graph-mcp"
],
"env": {
"GOOGLE_KNOWLEDGE_GRAPH_API_KEY": "<GOOGLE_KNOWLEDGE_GRAPH_API_KEY>"
}
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"google-knowledge-graph": {
"command": "npx",
"args": [
"-y",
"@houtini/google-knowledge-graph-mcp"
],
"env": {
"GOOGLE_KNOWLEDGE_GRAPH_API_KEY": "<GOOGLE_KNOWLEDGE_GRAPH_API_KEY>"
}
}
}
}Add to .vscode/mcp.json
{
"servers": {
"google-knowledge-graph": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@houtini/google-knowledge-graph-mcp"
],
"env": {
"GOOGLE_KNOWLEDGE_GRAPH_API_KEY": "<GOOGLE_KNOWLEDGE_GRAPH_API_KEY>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"google-knowledge-graph": {
"command": "npx",
"args": [
"-y",
"@houtini/google-knowledge-graph-mcp"
],
"env": {
"GOOGLE_KNOWLEDGE_GRAPH_API_KEY": "<GOOGLE_KNOWLEDGE_GRAPH_API_KEY>"
}
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"google-knowledge-graph": {
"command": "npx",
"args": [
"-y",
"@houtini/google-knowledge-graph-mcp"
],
"env": {
"GOOGLE_KNOWLEDGE_GRAPH_API_KEY": "<GOOGLE_KNOWLEDGE_GRAPH_API_KEY>"
}
}
}
}Configuration
GOOGLE_KNOWLEDGE_GRAPH_API_KEYGoogle Knowledge Graph Search API keyRequired
Tools this server provides (2)
Taken from the project documentation; the running server may differ.
- search_knowledge_graph
- Searches entities by name or description and returns structured data.
- lookup_knowledge_graph_entities
- Looks up entities by their Machine IDs.
What it does
- Entity search
- Search by name or description and get structured results.
- MID lookup
- Look up entities directly by Google Machine ID.
- Rich results
- Returns types, descriptions, images, URLs and relevance scores.
- Free API
- Uses Google's free Knowledge Graph API with a Cloud API key.
- Easy install
- Runs from npx, Claude Code or a local build.
Good for
- Verify that a person or organization exists before citing it
- Resolve entity names to Machine IDs
- Pull a short description and Wikipedia link for a topic
- Check entity types during content research
Pricing
Open source
MIT licensed; Google API key required (free)
Prices change. Check houtini.com before you buy.
Google Knowledge Graph FAQ
Does it cost anything?
The README says the Knowledge Graph API is free; you only need a Google Cloud API key.
What do I need to run it?
Node via npx and a GOOGLE_KNOWLEDGE_GRAPH_API_KEY.
How many tools?
Two: search_knowledge_graph and lookup_knowledge_graph_entities.
What is the license?
MIT.
Is Google Knowledge Graph free?
Yes. Google Knowledge Graph is open source, so you can use and self-host it for free.
How do I add Google Knowledge Graph to Claude Code?
Run this command in your terminal: claude mcp add google-knowledge-graph --env GOOGLE_KNOWLEDGE_GRAPH_API_KEY='<GOOGLE_KNOWLEDGE_GRAPH_API_KEY>' -- npx -y @houtini/google-knowledge-graph-mcp
What are the best alternatives to Google Knowledge Graph?
The closest alternatives to Google Knowledge Graph are Scrapling MCP Server, Codebase Memory, XERJ, Firecrawl MCP Server and Claude Code Ultimate Guide.
Alternatives to Google Knowledge Graph

Scrapling MCP Server
MCP serverMCP server for AI clients to scrape sites with HTTP and stealth browser sessions
Runs locally- 17 tools
- Open source
- 104K GitHub stars
- Web search and scraping

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

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

Firecrawl MCP Server
MCP serverMCP server that lets AI agents search, scrape and interact with web pages
- 3 tools
- Remote
- Freemium
- 7.8K GitHub stars
- Web search and scraping

Claude Code Ultimate Guide
MCP serverMCP server for searching the Claude Code Ultimate Guide from any MCP client
Runs locally- Open source
- 6.5K GitHub stars
- AI models and LLM tooling

SearXNG Search
MCP serverMCP server for web search and page reading through a SearXNG instance
Runs locally- 3 tools
- Open source
- 1.4K GitHub stars
- Web search and scraping