接入你的智能体
发布者自己的命令。不是 PlugMCP 端点。
用我们的密钥与日志托管一份副本。
npx -y @houtini/[email protected]Claude Code 没有针对本地命令的安装链接。复制下方命令并在终端中运行。
GOOGLE_KNOWLEDGE_GRAPH_API_KEY=<secret> claude mcp add houtini-ai-google-knowledge-graph-mcp -- npx -y @houtini/google-knowledge-graph-mcp@1.0.10在终端中运行。
{ "mcpServers": { "houtini-ai-google-knowledge-graph-mcp": { "command": "npx", "args": [ "-y", "@houtini/[email protected]" ], "env": { "GOOGLE_KNOWLEDGE_GRAPH_API_KEY": "<secret>" } } }}claude_desktop_config.json
远程 URL 还是本机命令? 两种安装方式的区别
Model Context Protocol server that connects Claude (or any MCP client) to Google's free public Knowledge Graph API. Search for real-world entities - people, places, organisations, concepts - and get structured data back.
Quick Navigation
Why this exists | What you get | Installation | Getting your API key | Usage examples | Parameters | Entity types | Troubleshooting
What is this? An MCP server. If you don't know what that means, you probably don't need this. If you're using Claude Desktop or another MCP-compatible client and want to search Google's knowledge database, this is for you.
I built this because I needed a way for Claude to verify entity information during research workflows. Google's Knowledge Graph contains structured data about millions of real-world entities - the same data that powers those knowledge panels in Google Search results.
The Knowledge Graph Search API is completely free. No billing account, no usage costs, just a Google Cloud API key. Most developers don't seem to know this exists, which is odd given how useful it is.
This MCP gives Claude (or any MCP client) access to that database.
Two tools for searching Google's knowledge graph:
1. Search by query - search_knowledge_graph
Search for entities by name or description. Returns structured data including entity types, descriptions, Wikipedia URLs, and relevance scores.
2. Lookup by MID - lookup_knowledge_graph_entities
If you already have Machine IDs (Google's internal entity identifiers), look them up directly. Useful for entity resolution workflows.
Both return JSON with:
Add this to your claude_desktop_config.json:
{
"mcpServers": {
"google-knowledge-graph": {
"command": "npx",
"args": ["-y", "@houtini/google-knowledge-graph-mcp"],
"env": {
"GOOGLE_KNOWLEDGE_GRAPH_API_KEY": "your-api-key-here"
}
}
}
}
Claude Code uses a different registration mechanism -- it doesn't read claude_desktop_config.json. Use claude mcp add instead:
claude mcp add \
-e GOOGLE_KNOWLEDGE_GRAPH_API_KEY=your-api-key-here \
-s user \
google-knowledge-graph -- npx -y @houtini/google-knowledge-graph-mcp
Verify with:
claude mcp get google-knowledge-graph
You should see Status: Connected.
If you prefer running from source:
git clone https://github.com/houtini-ai/google-knowledge-graph-mcp.git
cd google-knowledge-graph-mcp
npm install
npm run build
Then configure Claude Desktop:
{
"mcpServers": {
"google-knowledge-graph": {
"command": "node",
"args": ["C:\\path\\to\\google-knowledge-graph-mcp\\dist\\index.js"],
"env": {
"GOOGLE_KNOWLEDGE_GRAPH_API_KEY": "your-api-key-here"
}
}
}
}
Windows users: Use double backslashes in paths: C:\\MCP\\...
Config location:
%APPDATA%\Claude\claude_desktop_config.json~/Library/Application Support/Claude/claude_desktop_config.json~/.config/Claude/claude_desktop_config.jsonGoogle's Knowledge Graph Search API is free - no billing account, no card, no quota to unlock.
That's it. No credit card, no billing setup.
Once installed and Claude Desktop is restarted, you can:
Basic entity search:
Search the knowledge graph for "Marie Curie"
Entity type filtering:
Search knowledge graph for "Python" with types ["ComputerLanguage"]
Multiple results:
Search knowledge graph for "Paris" limit 5
Lookup by MID:
Look up knowledge graph entity /m/0dl567
The MCP returns structured JSON that Claude can parse. You'll get entity names, types, descriptions, URLs, and relevance scores.
Example response structure:
{
"entities": [
{
"mid": "/m/0dl567",
"name": "Taylor Swift",
"type": ["Person", "Thing"],
"description": "American singer-songwriter",
"detailedDescription": "Taylor Alison Swift is an American singer-songwriter...",
"image": "https://...",
"url": "http://en.wikipedia.org/wiki/Taylor_Swift",
"resultScore": 4258.07
}
],
"count": 1
}
["en"]["Person", "Organization"]["/m/0dl567"]The Knowledge Graph uses schema.org types. Common ones:
Person - Individual peopleOrganization - Companies, institutionsPlace - Locations, geographical entitiesEvent - Historical or current eventsCreativeWork - Books, films, music, artProduct - Commercial productsComputerLanguage - Programming languagesSportsTeam - Sports teamsCountry - Nations and countriesCity - Cities and municipalitiesYou can combine types for more specific searches.
MCP not appearing in Claude:
\\ on Windows)"API key required" error:
GOOGLE_KNOWLEDGE_GRAPH_API_KEYNo results returned:
400 "API key not valid":
npm install
npm run build
The build process compiles TypeScript to CommonJS in dist/. No special configuration needed.
https://kgsearch.googleapis.com/v1/entities:searchitemListElement arrayThe MCP SDK uses CommonJS patterns. I've stuck with that for compatibility. If you're building your own MCP and want ES modules, that's fine - just different choices.
If you find issues or have improvements:
I'm particularly interested in hearing about:
MIT - do what you want with it.
Built by Richard Baxter (Houtini) as part of a collection of MCP servers for AI-assisted development and research workflows.
Other Houtini MCPs:
@houtini/gemini-mcp - Google AI chat with grounding and deep research@houtini/geo-analyzer - Content optimisation for AI search engines@houtini/brevo-mcp - Email marketing automationStatus: Production ready, tested with Claude Desktop
MCP server for Google's free public Knowledge Graph Search API - search for structured entity information about people, places, organizations, and concepts
{ "mcpServers": { "houtini-ai-google-knowledge-graph-mcp": { "command": "npx", "args": [ "-y", "@houtini/[email protected]" ], "env": { "GOOGLE_KNOWLEDGE_GRAPH_API_KEY": "<secret>" } } }}工具
暂无工具列表。远程服务器在首次健康检查后会获得工具列表。
常见问题
在本页复制适用于 Cursor、Claude Desktop、Claude Code 或 VS Code 的 stdio 配置。它使用发布者的安装方式,而不是 PlugMCP 代理。
发布者列出了以下环境变量:GOOGLE_KNOWLEDGE_GRAPH_API_KEY。
Google Knowledge Graph 通过 stdio 在本地运行。
上次检查时间:2026-10-28。 MCP server for Google's free public Knowledge Graph Search API - search for structured entity information about people, places, organizations, and concepts