contextd
The context layer for AI-assisted development.
contextd helps you maintain structured, machine-readable project context so AI coding assistants (Claude Code, Cursor, GitHub Copilot) understand your codebase deeply and consistently.
What it does
- Structured context files — Store project overview, architecture, conventions, and module-specific knowledge in a standardized
.context/folder - AI-ready exports — Export your context to
CLAUDE.md,.cursorrules, or raw text so AI tools can consume it - Architecture decision records — Track why you made key decisions with sequentially-numbered ADRs
- Health checking — Validate context completeness, find stale files, and identify coverage gaps
- MCP server — Run contextd as an MCP server for real-time context queries from AI agents
- VS Code extension — Manage context visually from your editor with a sidebar, health dashboard, and right-click actions
- Remote sync — Subscribe to shared context collections and publish your own, with delta sync and filtering
- Multi-org auth — Authenticate with the remote service to enable team context sharing
CLI commands
| Command | Description |
|---|---|
init | Scaffold .context/ directory with templates |
export | Export context to CLAUDE.md, .cursorrules, or raw |
check | Validate context health and find gaps |
decision | Create and list architecture decision records |
serve | Start as an MCP server |
auth | Authenticate with remote service |
sync | Subscribe to and publish remote contexts |