Compass MCP
A shared operational layer that synchronizes tasks and project contexts across Claude Chat, Cowork, and Code surfaces using local markdown files. It enables persistent state management and cross-session knowledge sharing without the need for a database.
README
š§ Compass MCP
The missing bridge between Claude Chat, Cowork, and Code.
Compass is an MCP server that gives Claude shared operational state across all three surfaces. Add a task in Chat, check it off in Code, filter by project in Cowork ā same data, zero re-explaining.
āāāāāāāāāāāāā āāāāāāāāāāāāā āāāāāāāāāāāāā
ā Chat ā ā Cowork ā ā Code ā
āāāāāāā¬āāāāāā āāāāāāā¬āāāāāā āāāāāāā¬āāāāāā
ā ā ā
āāāāāāāāāā¬āāāāāāāā“āāāāāāāāā¬āāāāāāāā
ā ā
āāāāāāāāā¼āāāāāāāāāāāāāāāāā¼āāāāāāāā
ā Compass MCP ā
ā ā
ā āāāāāāāāāāāāāāāāāāāāāāāā ā
ā ā ~/compass-data/ ā ā
ā ā tasks.md ā ā
ā ā contexts/ ā ā
ā āāāāāāāāāāāāāāāāāāāāāāāā ā
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
Why?
Claude Chat, Cowork, and Code don't share state. Each session starts from zero. There's no way to ask in Chat "what did I finish in Code?" or tell Cowork "here's the context for this project" without re-explaining everything.
Compass fixes that. One MCP server, visible to all three surfaces, backed by plain markdown files.
This is not another todo app. It's the operational layer that connects how you think (Chat), how you execute (Cowork), and how you build (Code).
Install
git clone https://github.com/richlira/compass-mcp.git
cd compass-mcp
npm install
npm run build
Connect to Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"compass": {
"command": "node",
"args": ["/absolute/path/to/compass-mcp/build/index.js"]
}
}
}
Restart Claude Desktop. All three tabs (Chat, Cowork, Code) will see Compass.
Usage
No commands to memorize. Just talk:
| You say | Compass does |
|---|---|
| "Set up my workspace" | init_workspace ā creates ~/compass-data/ |
| "Add task: write copy for landing page, deadline April 5" | add_task ā adds to tasks.md |
| "I finished the workshop slides" | complete_task ā marks it done |
| "What's still pending?" | get_tasks ā returns filtered tasks |
| "Save context for Impact Lab: April 18, hackathon format" | save_context ā creates contexts/impact-lab.md |
| "What do we know about the workshop?" | get_context ā reads contexts/workshop.md |
Works in English, Spanish, Spanglish ā whatever. Claude matches your intent to the right tool automatically.
Tools
init_workspace
Creates ~/compass-data/ with tasks.md and contexts/ directory. Safe to run multiple times.
add_task
Adds a task to tasks.md.
- title (required) ā what needs to be done
- tags ā project or category tags (e.g.
["cancun", "marketing"]) - deadline ā due date
- section ā
"active"(default) or"backlog"
complete_task
Marks a task as completed in tasks.md.
- title (required) ā task to complete (fuzzy matched)
- notes ā optional completion notes
get_tasks
Returns tasks filtered by status, tags, or deadline.
- status ā
"active","backlog","completed", or"all" - tags ā filter by tags
- deadline_before ā show tasks due before a date
save_context
Creates or updates a project context file in contexts/.
- project (required) ā project name (becomes the filename)
- content (required) ā markdown content with project details
get_context
Reads a project context file.
- project (required) ā project name to look up
Storage
Everything lives in ~/compass-data/:
~/compass-data/
āāā tasks.md ā all tasks with status, tags, deadlines
āāā contexts/
āāā cancun.md ā project-specific context
āāā workshop.md
āāā ...
Plain markdown. Human-readable. Git-versionable. No database.
The workspace path is configurable via the COMPASS_DATA_DIR environment variable.
How the three surfaces use Compass
Chat ā your thinking space. Plan the day, add tasks, check status, save project context. Chat is where you decide.
Cowork ā your execution space. Cowork reads the same tasks and contexts. It can check what's pending, mark things done as it works, and read project context to understand what to do.
Code ā your building space. Code checks for build-related tasks, marks them complete when done, and reads project context for specs and decisions. Code is also where you maintain and improve Compass itself.
All three read and write the same tasks.md and contexts/ ā that's the bridge.
Pro tip: combine with Google Calendar
If you have the Google Calendar connector enabled, Claude can combine Compass tasks with your calendar:
"Check my tasks and my calendar for today, and block time for what I can get done"
Claude reads your tasks from Compass, finds free slots in your calendar, estimates duration, and creates focus blocks. No extra code needed ā just Claude orchestrating two tools together.
Requirements
- Node.js 18+
- Claude Desktop (macOS or Windows)
- Claude Pro, Max, Team, or Enterprise plan
Development
# Build
npm run build
# Test with MCP Inspector
npx @modelcontextprotocol/inspector node build/index.js
# Watch mode
npm run watch
Philosophy
Compass is intentionally minimal. Six tools, two file types, zero database. Decisions, progress tracking, and daily recaps are left to Claude's memory ā that's what it's good at. Compass only handles what Claude can't do alone: queryable task state and structured project context that persists across all surfaces.
If you need more, add it. If you don't, enjoy the simplicity.
License
MIT
Chat, Cowork, Code ā and Compass. š§
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.