Context7
ส่งคู่มือการใช้ไลบรารีและเฟรมเวิร์กรุ่นล่าสุดให้ AI อ่านก่อนตอบ ช่วยให้โค้ดที่ AI เขียนไม่ใช้คำสั่งเก่าที่เลิกใช้แล้ว
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Search Google's Knowledge Graph for structured information about real-world entities
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
GOOGLE_KNOWLEDGE_GRAPH_API_KEYค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"google-knowledge-graph": {
"command": "npx",
"args": [
"-y",
"@houtini/google-knowledge-graph-mcp"
],
"env": {
"GOOGLE_KNOWLEDGE_GRAPH_API_KEY": "ใส่ค่าของคุณ"
}
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add google-knowledge-graph --env GOOGLE_KNOWLEDGE_GRAPH_API_KEY='ใส่ค่าของคุณ' -- npx -y @houtini/google-knowledge-graph-mcpเติมค่าที่เว้นว่างไว้ก่อนรัน
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"google-knowledge-graph": {
"command": "npx",
"args": [
"-y",
"@houtini/google-knowledge-graph-mcp"
],
"env": {
"GOOGLE_KNOWLEDGE_GRAPH_API_KEY": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"google-knowledge-graph": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@houtini/google-knowledge-graph-mcp"
],
"env": {
"GOOGLE_KNOWLEDGE_GRAPH_API_KEY": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub houtini-ai ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
ต้องใส่ค่าเหล่านี้: GOOGLE_KNOWLEDGE_GRAPH_API_KEY
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (1.0.10) เข้า registry 13 วันที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย
ในหมวดเดียวกันมี Context7, Codebase Memory, Exa
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
ส่งคู่มือการใช้ไลบรารีและเฟรมเวิร์กรุ่นล่าสุดให้ AI อ่านก่อนตอบ ช่วยให้โค้ดที่ AI เขียนไม่ใช้คำสั่งเก่าที่เลิกใช้แล้ว
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
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