cognee MCP server
Installing Manually
A MCP server project
- Clone the cognee repo
- Install dependencies
- Activate the venv with
- Add the new server to your Claude config:
The file should be located here: ~/Library/Application\ Support/Claude/
You need to create claude_desktop_config.json in this folder if it doesn't exist Make sure to add your paths and LLM API key to the file bellow Use your editor of choice, for example Nano:
Restart your Claude desktop.
Installing via Smithery
To install Cognee for Claude Desktop automatically via Smithery:
Define cognify tool in server.py Restart your Claude desktop.
To use debugger, run:
Open inspector with timeout passed:
To apply new changes while developing cognee you need to do:
poetry lock
in cognee folderuv sync --dev --all-extras --reinstall
mcp dev src/server.py
Development
In order to use local cognee build, run in root of the cognee repo:
After the build process is done, change the cognee library dependency inside the cognee-mcp/pyproject.toml
from
to
After that add the following snippet to the same file (cognee-mcp/pyproject.toml
).
You must be authenticated.
local-only server
The server can only run on the client's local machine because it depends on local resources.
Memory manager for AI apps and Agents using various graph and vector stores and allowing ingestion from 30+ data sources
Related MCP Servers
- AsecurityAlicenseAqualityMemory Bank Server provides a set of tools and resources for AI assistants to interact with Memory Banks. Memory Banks are structured repositories of information that help maintain context and track progress across multiple sessions.Last updated -1511113TypeScriptMIT License
- AsecurityAlicenseAqualityA flexible memory system for AI applications that supports multiple LLM providers and can be used either as an MCP server or as a direct library integration, enabling autonomous memory management without explicit commands.Last updated -313136JavaScriptMIT License
- -securityAlicense-qualityEnhanced knowledge graph memory server for AI assistants that uses Neo4j as the backend storage engine, enabling powerful graph queries and efficient storage of user interaction information with full MCP protocol compatibility.Last updated -TypeScriptMIT License
- -securityAlicense-qualityA Model Context Protocol server that provides AI agents with persistent memory capabilities through Mem0, allowing them to store, retrieve, and semantically search memories.Last updated -2PythonMIT License