cognee-mcp
코그니 MCP 서버
수동 설치
MCP 서버 프로젝트
Cognee 저장소를 복제합니다
종속성 설치
지엑스피1
cd cognee-mcp
uv sync --dev --all-extras --reinstallvenv를 활성화하세요
source .venv/bin/activateClaude 구성에 새 서버를 추가합니다.
해당 파일은 다음 위치에 있어야 합니다: ~/Library/Application\ Support/Claude/
cd ~/Library/Application\ Support/Claude/claude_desktop_config.json이 없으면 이 폴더에 만들어야 합니다. 아래 파일에 경로와 LLM API 키를 추가해야 합니다. 예를 들어 Nano와 같이 원하는 편집기를 사용하세요.
nano claude_desktop_config.json{
"mcpServers": {
"cognee": {
"command": "/Users/{user}/cognee/.venv/bin/uv",
"args": [
"--directory",
"/Users/{user}/cognee/cognee-mcp",
"run",
"cognee"
],
"env": {
"ENV": "local",
"TOKENIZERS_PARALLELISM": "false",
"LLM_API_KEY": "sk-"
}
}
}
}Claude 데스크탑을 다시 시작하세요.
Smithery를 통해 설치
Smithery를 통해 Claude Desktop용 Cognee를 자동으로 설치하려면:
npx -y @smithery/cli install cognee --client claudeserver.py에서 cognify 도구를 정의합니다. Claude 데스크톱을 다시 시작합니다.
디버거를 사용하려면 다음을 실행하세요.
mcp dev src/server.py시간 초과가 지나서 검사기를 엽니다.
http://localhost:5173?timeout=120000인지 발달 중에 새로운 변경 사항을 적용하려면 다음을 수행해야 합니다.
코그니 폴더에
poetry lockuv sync --dev --all-extras --reinstallmcp dev src/server.py
개발
로컬 Cognee 빌드를 사용하려면 Cognee 저장소의 루트에서 실행하세요.
poetry build -o ./cognee-mcp/sources빌드 프로세스가 완료된 후 cognee-mcp/pyproject.toml 내부의 cognee 라이브러리 종속성을 변경합니다.
cognee[postgres,codegraph,gemini,huggingface]==0.1.38에게
cognee[postgres,codegraph,gemini,huggingface]그런 다음 같은 파일( cognee-mcp/pyproject.toml )에 다음 스니펫을 추가합니다.
[tool.uv.sources]
cognee = { path = "sources/cognee-0.1.38-py3-none-any.whl" }Available Tools
6 toolscall_toolA
Call a tool by name with the given arguments.
Use this to execute tools discovered via search_tools.
Inputs: name (required), arguments.
code_searchA
Search Cognee's indexed code graph with a structured operation.
This tool is for source-code structure, symbols, call/dependency paths,
impact, architecture, and index changes. It does not search conversational
memory. Choose an operation and pass its operation-specific fields in
arguments. For example, use operation="query_facts" with
arguments={"kinds": ["module", "symbol"], "limit": 100}, or
operation="impact_analysis" with arguments={"seeds": ["UserService"]}.
For a question in plain words ("how does checkout work?"), use
operation="ask" with the question as query: it returns matching
symbols, entry-point flows, their neighbourhood and file:line citations.
Inputs: operation (required), query, top_k, datasets, +1 more. Returns: result
forgetB
Delete data from memory.
Can target a single data item, a specific dataset (by name or id), or everything the user owns. Removes data from the relational DB, graph DB, and vector DB.
Inputs: data_id, dataset, dataset_id, everything, +1 more. Returns: result
recallA
Search memory with auto-routing and session awareness.
When session_id is provided without datasets or search_type, searches session cache first by keyword matching. Falls through to the permanent knowledge graph if no session results match.
Auto-routing picks the best search strategy when search_type is not specified.
Inputs: query (required), scope, top_k, datasets, +7 more. Returns: result
rememberA
Store data in memory.
Two modes depending on whether session_id is provided:
Without session_id (permanent memory): Runs the full add + cognify pipeline to ingest data and build the knowledge graph, then the self-improvement loop (improve) unless self_improvement=False.
With session_id (session memory): Stores the data in the session cache. Direct mode may also bridge it to the graph in the background; API mode uses typed cache entries and does not bridge to the graph. Omit session_id when the content should be stored as permanent graph memory.
Pass either data (text) or filename + content_base64 (a file
upload, up to 10 MB), not both. File uploads are permanent-memory
only and don't support session_id.
Inputs: data, filename, node_set, background, +6 more. Returns: result
search_toolsA
Search for tools using natural language.
Returns matching tool definitions ranked by relevance, in the same format as list_tools.
Inputs: query (required). Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 6 tools
The tools have mostly distinct purposes: remember/forget handle storage, recall handles memory retrieval, code_search handles source-code graph queries, and search_tools/call_tool form a discovery-execution pair. There is some potential overlap between recall and code_search since both are search-like, but the descriptions clearly separate conversational memory from code structure.
Names are readable and use snake_case, but the conventions are mixed: remember/forget/recall are single verbs, while call_tool and search_tools are verb_noun, and code_search is less clearly patterned. The set is still understandable, just not predictably uniform.
Six tools is well-scoped for a memory and code-graph server. Each tool has a clear role, and the set avoids both thin coverage and unnecessary bulk.
The core memory lifecycle is covered through remember, recall, and forget, and code search plus tool discovery extend the surface appropriately. Minor gaps exist around explicit update/list semantics, but the main workflows appear supported.
Maintenance
Related MCP Connectors
Persistent memory for AI agents. Semantic search, memory graph, W3C DID identity.
Persistent memory and knowledge management for AI agents with semantic search and 50+ tools.
Universal memory for AI agents and tools. Save, organize and search context anywhere.
Shared memory for AI agents, as a graph in your own Postgres. Writes never call an LLM.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenancePersistent knowledge memory layer for AI agents. Hybrid semantic + full-text search with pgvector, code dependency graph with blast-radius impact analysis, and incremental indexing for 7 languages. In-process ONNX embeddings, no external API required.34MIT
- AlicenseNot gradedqualityDmaintenanceProvides persistent knowledge graph memory for AI agents, enabling them to store, recall, and query facts about people, projects, and relationships across sessions.MIT
- AlicenseNot gradedqualityFmaintenanceEnables LLMs to store, search, and manage memories with hybrid semantic and keyword search using ChromaDB and Neo4j for persistent memory and knowledge graph capabilities.MIT

Mnemo MCPofficial
AlicenseNot gradedqualityDmaintenancePersistent AI memory server with hybrid search and embedded sync. Enables AI agents to store, retrieve, and manage information across sessions with temporal knowledge graph support.MIT