Cognee

Cognee

4.2

Cognee MCP server is a project designed to facilitate the integration and management of model context protocols, particularly for use with Claude Desktop.

The Cognee MCP server is a robust solution for managing model context protocols, specifically tailored for integration with Claude Desktop. It allows users to set up and manage their MCP servers efficiently, providing a seamless interface for handling various tasks related to model context protocols. The server can be installed manually or via Smithery, offering flexibility in deployment. It supports local development and debugging, making it a versatile tool for developers working with model context protocols. The server is designed to work with various tools and resources, ensuring compatibility and ease of use across different platforms.

Features

  • Manual and Automated Installation: Offers both manual installation and automated setup via Smithery for flexibility.
  • Local Development Support: Provides tools and instructions for local development and debugging.
  • Integration with Claude Desktop: Seamlessly integrates with Claude Desktop for enhanced functionality.
  • Customizable Configuration: Allows users to customize server settings and paths in the configuration file.
  • Support for Multiple Tools: Compatible with various tools and resources for extended functionality.

Usage with Different Platforms

manual_installation

bash
brew install uv
cd cognee-mcp
uv sync --dev --all-extras --reinstall
source .venv/bin/activate

claude_config


{
	"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-"
      }
		}
	}
}

smithery_installation

bash
npx -y @smithery/cli install cognee --client claude

debugging

bash
mcp dev src/server.py

development

bash
poetry build -o ./cognee-mcp/sources