Deploy Cognee as a REST API server for scalable, language-agnostic access to your knowledge graphs
Clone Repository
Configure Environment
.env
file with API keys and database settings.Start with Docker Compose
Access API Documentation
.env
file with your configuration:
http://localhost:8000/docs
with all endpoints and examples.http://localhost:8000
- All endpoints are documented in the interactive Swagger UI and complete API reference.Available Profiles
Profile | Services | Use Case |
---|---|---|
(default) | API server only | Basic development with SQLite |
postgres | + PostgreSQL | Production database |
neo4j | + Neo4j | Graph database |
chromadb | + ChromaDB | Vector database |
mcp | MCP server | IDE integration |
ui | Frontend | Web interface (limited) |
Profile Examples
docker compose --profile postgres up -d
and visit http://localhost:8000/docs to explore the interactive API documentation!