Introduction

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

CommandDescription
initScaffold .context/ directory with templates
exportExport context to CLAUDE.md, .cursorrules, or raw
checkValidate context health and find gaps
decisionCreate and list architecture decision records
serveStart as an MCP server
authAuthenticate with remote service
syncSubscribe to and publish remote contexts

Get started

Get started →