Context7
ส่งคู่มือการใช้ไลบรารีและเฟรมเวิร์กรุ่นล่าสุดให้ AI อ่านก่อนตอบ ช่วยให้โค้ดที่ AI เขียนไม่ใช้คำสั่งเก่าที่เลิกใช้แล้ว
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Text to knowledge graphs: topics, clusters, gaps, and research ideas via InfraNodus.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"textgraph": {
"command": "npx",
"args": [
"-y",
"@reneturcios/textgraph",
"mcp"
]
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add textgraph -- npx -y @reneturcios/textgraph mcpวางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"textgraph": {
"command": "npx",
"args": [
"-y",
"@reneturcios/textgraph",
"mcp"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"textgraph": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@reneturcios/textgraph",
"mcp"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 6 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub CloudCorpRecords ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.1.0) เข้า registry 4 วันที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js, Docker ในเครื่องด้วย
ในหมวดเดียวกันมี 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 รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
textgraph turns a piece of text into a knowledge graph and answers questions about that graph: what the main topics and clusters are, which connections are missing, and what research questions or ideas those gaps suggest. It can also create a graph in an InfraNodus account, analyse an existing graph by name, and compare several texts through their graphs.
This package is a clean-room rebuild, and a labelled core subset: it covers 12 of the 22+ tools documented for the original InfraNodus MCP server. The omitted tools are listed under "Scope" below.
Every tool needs an InfraNodus API key:
export INFRANODUS_API_KEY="your key"
export INFRANODUS_API_URL="https://api.infranodus.com"
With no key set, every call fails with an error naming INFRANODUS_API_KEY, before any request is made.
Wire-format note: the original project's README documents the tools and their purposes, not the HTTP wire format. The endpoint shape used here is a documented reconstruction: each tool POSTs its JSON arguments to {INFRANODUS_API_URL}/ — the tool name with underscores, exactly as listed — with Authorization: Bearer INFRANODUS_API_KEY. Responses are parsed tolerantly: JSON is returned as structured text, a non-JSON body is returned as-is, and an upstream HTTP error is reported with its status and a body excerpt.
Local validation, applied before any request: analyze_text requires at least one of text or url; optimize_text_structure's responseType must be one of response, idea, question, or transcend; and overlap_between_texts / difference_between_texts require at least two texts.
npx @reneturcios/textgraph generate_content_gaps '{"text":"..."}'
Or run the container image:
docker run -i ghcr.io/cloudcorprecords/textgraph
The container defaults to the MCP server. Pass CLI arguments to use it as a CLI instead.
The CLI mirrors the tools: one subcommand per tool, taking its arguments as a single JSON object.
textgraph generate_knowledge_graph '{"text":"...","graphName":"notes"}'
textgraph analyze_existing_graph_by_name '{"graphName":"notes"}' textgraph analyze_text '{"url":"https://example.com/article"}' textgraph optimize_text_structure '{"text":"...","responseType":"idea"}' textgraph overlap_between_texts '{"texts":["first","second"]}' textgraph --version
Exit codes: 0 on success, 1 on an API or validation error (the error names the problem), 2 for usage errors.
One bin serves both faces. The mcp subcommand starts a stdio MCP server:
npx -y @reneturcios/textgraph mcp
MCP client configuration:
{
"mcpServers": { "textgraph": { "command": "npx", "args": ["-y", "@reneturcios/textgraph", "mcp"], "env": { "INFRANODUS_API_KEY": "your key" } } } }
| Tool | Input | What it does |
|---|---|---|
generate_knowledge_graph | text (required), graphName | Convert text into a knowledge graph: topics, concepts, relationships, clusters. |
analyze_existing_graph_by_name | graphName (required) | Retrieve and analyze an existing graph from the account. |
analyze_text | text and/or url (at least one required, validated locally) | Analyze a text or URL: topics, clusters, statements, graph structure. |
generate_content_gaps | text (required) | Detect missing connections and underexplored topics in a text. |
generate_topical_clusters | text (required), generateTopicalSummaries | Topics and keyword clusters from text. |
generate_contextual_hint | text (required) | Topical overview of a text to augment LLM responses. |
generate_research_questions | text (required) | Research questions bridging content gaps. |
generate_research_ideas | text (required) | Research ideas based on content gaps. |
optimize_text_structure | text (required), responseType (one of response / idea / question / transcend, validated locally) | Bias/coherence analysis. |
create_knowledge_graph | text (required), graphName, statements, categories | Create a graph in the account from text and return its link. |
overlap_between_texts | texts (array, at least 2, validated locally) | Similarities between texts via their graphs. |
difference_between_texts | texts (array, at least 2, validated locally) | What's in the other texts but not the first. |
Omitted from this core subset: optimize_reasoning, generate_responses_from_graph, develop_conceptual_bridges, develop_latent_topics, develop_text_tool, generate_ontology_graph, analyze_llm_results, merged_graph_from_texts, analyze_google_search_results, analyze_youtube_results, and any tools beyond the fetched README list. The summaries, ideas, and questions these tools return are produced by the upstream InfraNodus service; this package reproduces the tool surface and the request/response handling, not that service's analysis quality.
npm install
npm run build # tsc -> dist/ npm test # node test runner over test/*.test.ts, fake fetch only, no network npm run dev # run the CLI from source via tsx
MIT — see LICENSE.