Context7
Up-to-date docs for AI agents
제작자가 쓴 설명(영어 원문)
Local knowledge graph memory MCP server for AI assistants.
이 세 가지는 절대 하나의 점수로 합치지 않아요. 의견, 측정, 인기는 서로 다른 것이니까요.
이 서버는 아직 쉬운 말로 된 요약을 쓰지 못했어요. 아래는 레지스트리에서 읽어 온 사실이에요.
쓰고 있는 AI 앱을 고른 다음 설정을 복사하세요.
제작자가 레지스트리에 설치 정보를 올리지 않았어요. 아래 제작자의 README를 확인하세요.
내 컴퓨터에서 실행돼요. 설치하면 AI 앱에 도구 목록이 나타나요.
누구나 볼 수 있는 정보를 점검했고, 코드는 읽지 않았어요. 해당하지 않는 항목은 개수에서 뺐어요. · 2026년 11월 8일 점검
레지스트리 이름이 GitHub 계정 nnar1o 기준으로 확인되었고, 이 계정이 저장소를 소유하고 있어요
아직 GitHub에서 이 저장소를 읽어 오지 않았어요
아직 GitHub에서 이 저장소를 읽어 오지 않았어요
내 컴퓨터에서 실행되는 서버라 인터넷 엔드포인트가 없어요
내 컴퓨터에서 실행되며, 대신 로컬 설정을 사용해요
내 컴퓨터에서 실행돼요. 도구 목록은 인터넷 엔드포인트가 있는 서버에서만 읽을 수 있어요
레지스트리에서 이 카테고리의 활성 서버 전체와 비교했어요. 스타는 게시자가 저장소를 소유한 경우에만 세요.
해당하는 기본 점검 1개 중 1개를 통과했어요. 코드는 읽지 않았어요. 키나 토큰을 넣기 전에 서버가 어떤 권한을 요구하는지 확인하고, 꼭 필요한 권한만 있는 키를 쓰세요.
레지스트리에 필수 키가 나와 있지 않아요. 다만 처음 쓸 때 로그인을 요구하는 서버도 있어요.
내 컴퓨터에서 실행돼요. AI 앱이 필요할 때 실행하고, 데이터는 제작자의 서버를 거치지 않아요(서버 자체가 온라인 서비스를 호출하는 경우는 제외).
GitHub 저장소는 마지막으로 – 변경됐고, 최신 버전(0.3.0)은 3개월 전 레지스트리에 올라왔어요.
Claude Desktop, Claude Code, Cursor, VS Code처럼 MCP를 지원하는 앱에서 쓸 수 있어요.
같은 카테고리에는: Context7, Codebase Memory, Exa
같은 카테고리에서 다른 제작자가 만든 서버예요. 스타 순으로 정렬했어요.
카드 보는 법:★ GitHub 스타i세 기둥: 리뷰 · 점검 · 사용 정도i업데이트 = 최신 버전을 레지스트리에 공개한 날i
Up-to-date docs for AI agents
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.
제작자의 저장소에서 쓰인 그대로 가져왔어요. PopNx MCP가 검토하거나 보증한 내용이 아니에요. HTML, 이미지, 스크립트는 제거했어요. 링크를 누르면 이 사이트를 벗어나요.
Beta - APIs may still change and some bugs are still expected.
kg gives your AI assistant persistent, structured, editable project memory stored locally as a knowledge graph.
Instead of relying only on document chunk retrieval, you can keep architecture, decisions, incidents, rules, dependencies, and workflows in a graph that is readable, reviewable, and Git-friendly.
Use it when you want your assistant to understand an existing project across sessions — not start from zero every time.
*.kg files with readable diffsClassic RAG is good for retrieving text chunks from documents.
kg-mcp is better when you want:
cargo install kg-cli
Recommended install:
curl -sSL https://raw.githubusercontent.com/nnar1o/kg/master/install.sh | sh
You can also download a ready binary from GitHub Releases.
kg-mcp to Your AI ClientAdd kg-mcp as a local stdio MCP server.
Example config:
{
"mcpServers": { "kg": { "command": "/absolute/path/to/kg-mcp" } } }
After that:
kg MCP server is available,Full MCP setup and reference: docs/mcp.md
kg understands short, verb-first English commands (SCL — Simple Command Language). The active graph is resolved from your config automatically.
find "compressor defrost"
get concept:refrigerator add concept:smart_fridge --name "Smart Fridge" --description "Connected refrigerator" modify concept:smart_fridge --importance 0.9 remove concept:old_idea connect process:compressor_control TRIGGERS process:auto_defrost disconnect process:compressor_control TRIGGERS process:auto_defrost list nodes stats use fridge help
| Verb | What it does | ||||
|---|---|---|---|---|---|
find | search nodes by text | ||||
get | fetch one node by id | ||||
add --name "Name" | create a node (type inferred from id prefix) | ||||
modify --field value | update node fields | ||||
remove | delete a node | ||||
connect | create an edge (alias: add edge) | ||||
disconnect | delete an edge (alias: remove edge) | ||||
| `list nodes\ | edges\ | types\ | relations\ | graphs` | list graph contents |
stats | show graph statistics | ||||
use | switch active graph | ||||
help [verb] | get help for a verb or all | ||||
| `feedback yes\ | no\ | nil\ | pick ` | give feedback on search results | |
strict | disable defaults for following lines |
Format: :snake_case — e.g. concept:fridge, bug:door_seal, process:compressor_cycle.
HAS USES STORED_IN TRIGGERS CREATED_BY AFFECTED_BY AVAILABLE_IN DOCUMENTED_IN DEPENDS_ON TRANSITIONS DECIDED_BY GOVERNED_BY READS_FROM
; or newlines. Lines starting with # are comments.use to switch graphs within a script.kg node find ... commands still work as fallback.docs/scl.mdThis is the first workflow for a new project: ask the assistant to create or extend a graph from your documentation.
By default, graphs are stored in ~/.kg/graphs as *.kg files.
Minimal prompt:
You are connected to kg-mcp.
Project graph name: payments
Build or extend this graph from the project documentation I provide. Use payments as the graph name for all graph operations.
Only add facts grounded in source material. If an important fact is missing and can be inferred safely from the provided docs, update the graph. If something is ambiguous, ask or record it as a note instead of inventing facts.
Example prompt with documents:
Use kg-mcp to build or extend the `payments` graph from these documents:
Only add facts grounded in the documents. If something is ambiguous, keep it out of the graph or record it as a note. When you finish, summarize what was added, what remains unclear, and what document should be ingested next.
Longer prompt for this workflow: docs/ai-prompt-graph-from-docs.md
For a ready-made repository example, run cargo run --bin repo-example to generate repo-example.kg from this repo.
kg can turn an existing folder into a graph automatically. It scans the directory tree, recognizes many common file types, extracts symbols for Rust, Java, JavaScript/TypeScript, Python, and C/C++, and keeps the generated structure separate from the manual graph.
For markdown-like documents, it also creates document (GDOC) and chapter (GSEC) nodes with section content.
It is a fast way to get a useful map of a codebase or workspace without modeling everything by hand. The generated index is local, refreshable, and safe to ignore in git.
Example:
cargo run --bin repo-example
This generates repo-example.kg from this repository as a local demo.
Once the graph exists, the normal workflow is to ask the assistant to inspect it and answer questions from it.
Example prompt:
Use kg-mcp to inspect my existing `payments` graph.
I want to understand:
If the graph is missing critical information, say exactly what is missing.
Other useful questions:
payments graph?"You can also ask the assistant to improve the graph while you work.
Example prompt:
Use kg-mcp to review my existing `payments` graph.
Find:
Apply safe improvements where possible. Only add facts grounded in the graph, the provided docs, or the current discussion. If something is ambiguous, leave it out or add a note.
When you finish, summarize:
This works best when your main system prompt or project prompt already tells the assistant which graph belongs to the project.
Minimal project-level prompt:
You are connected to kg-mcp.
Project graph name: payments. Use this graph for relevant reads and updates in this project. If you notice important missing information that is grounded in the available docs or conversation context, update the graph as part of your work. If uncertain, ask or add a note instead of inventing facts.
.kg.toml)kg looks for .kg.toml in the current directory and its parent directories.
Example:
backend = "json" # json backend writes native .kg files by default
graph_dir = ".kg/graphs" graph_dirs = ["../shared-graphs", "../team-graphs"] nudge = 20 user_short_uid = "dev_01"
[graphs] payments = "graphs/payments.kg"
Notes:
backend = "json" is the default and prefers .kg text graphs.backend = "redb" stores graphs in .db files.graph_dir sets a primary graph directory.graph_dirs adds extra directories scanned by kg list and graph resolution.The default graph directory is ~/.kg/graphs.
You can put that directory under git.
Recommended approach:
*.kg graph files in git,Suggested .gitignore:
*.kglog
*.kgindex *.event.log *.migration.log *.bak *.bck.*.gz
In practice:
*.kg is the main graph file you usually want to review and commit,*.kglog is a local access/feedback log,*.kgindex is a generated local index,*.event.log is a local append-only change timeline,*.bak is the previous on-disk version from the last write,*.bck.*.gz are periodic compressed backup snapshots,*.migration.log is a migration report when older graphs are converted.*.kg is git-friendly and intentionally structured to make diffs readable and merges easier when several people work on the same graph.
To generate an interactive HTML view of a graph:
kg graph payments export-html --output payments.html
You can keep the generated HTML as a shareable visual snapshot of the current graph.
docs/mcp.md - MCP setup and tool referencedocs/ai-prompt-graph-from-docs.md - longer prompt for document ingestiondocs/build-graph-from-docs.md - graph-building workflow from docsdocs/troubleshooting.md - common issuesFor questions or feedback: nnar10@proton.me