Open source AI knowledge management platform — Web App + MCP Server (Python, MIT)
1.0K
Open source AI knowledge management platform
Web App + MCP Server — built with Python, MIT licensed
Website • GitHub • Features • API Reference
Context Pilot gives your AI assistant persistent, structured memory. Store knowledge once, use it with any AI model — Claude Code, GitHub Copilot, Ollama, LM Studio, or any MCP-compatible client.
docker pull applehell/contextpilot:latest
docker run -d --name context-pilot \
-p 8080:8080 -p 8400:8400 \
-v context-pilot-data:/data \
applehell/contextpilot:latest
Web UI: http://localhost:8080
MCP Server: http://localhost:8400/mcp/
Health Check: http://localhost:8080/health
services:
context-pilot:
image: applehell/contextpilot:latest
container_name: context-pilot
restart: unless-stopped
ports:
- "8080:8080" # Web UI
- "8400:8400" # MCP streamable-http server
volumes:
- context-pilot-data:/data
- /path/to/docs:/mnt/docs:ro # optional: folder for indexing
environment:
- CONTEXTPILOT_DATA_DIR=/data
volumes:
context-pilot-data:
docker compose up -d
Add to ~/.claude.json:
{
"mcpServers": {
"context-pilot": {
"type": "http",
"url": "http://localhost:8400/mcp/"
}
}
}
Claude Code now has full access to your knowledge base.
| Feature | Description |
|---|---|
| Memories | Create, search (FTS5), tag, pin, TTL, bulk operations |
| 17 Connectors | GitHub, Gitea, Paperless-ngx, Email (IMAP), local folders |
| Plugin Architecture | Every connector is a Python module — write your own in minutes |
| MCP Server | Built-in Model Context Protocol server (streamable-http, port 8400) |
| Knowledge Graph | Interactive network visualization of memory relationships |
| Smart Assembler | Token-budget assembly with 6 compressors |
| Secrets Scanner | Detects API keys, passwords, tokens (OWASP patterns) |
| Profiles | Fully isolated workspaces per project/client |
| Import | CLAUDE.md, Copilot instructions, SQLite databases |
| REST API | Full API for custom integrations |
| Tag | Description |
|---|---|
latest | Latest stable release |
4.3.1 | Current version |
| Path | Purpose |
|---|---|
/data | Database, profiles, configs (persistent) |
/mnt/docs | Optional: local folder for indexing (read-only) |
| Port | Service |
|---|---|
8080 | Web UI + REST API |
8400 | MCP streamable-http server |
| Variable | Default | Description |
|---|---|---|
CONTEXTPILOT_DATA_DIR | /data | Data directory inside container |
Python 3.11+ · FastAPI · SQLite (WAL + FTS5) · Server-Sent Events · MCP (FastMCP) · tiktoken
MIT License — free to use, modify, and distribute.
Source code: github.com/applehell/contextpilot Website: contextpilot.net
Content type
Image
Digest
sha256:a627a95a5…
Size
139.5 MB
Last updated
2 months ago
docker pull applehell/contextpilot