Skip to main content
Glama
alameddinc

compy-mcp

by alameddinc

compy-mcp

Let your AI agent search and read the notes you captured on the web with Compy.

Compy is a local-first Chrome extension for highlighting and note-taking on any web page. compy-mcp is a Model Context Protocol server that exposes those notes to an MCP client (Claude Code, Claude Desktop, …) so your agent can pull the relevant highlights and tasks on demand — no copy-paste.

100% local. Read-only. No account, no network — it just reads a JSON file that Compy writes on your machine.

How it works

Compy (browser)  ──"Sync for AI"──▶  ~/Downloads/compy/compy-export.json
                                              │  (watched)
                                       compy-mcp (stdio)
                                              │  tools + resources
                                        Claude Code / any MCP client
  1. In Compy's dashboard, open the Copy for AI menu → Sync for AI. This writes ~/Downloads/compy/compy-export.json. Re-run it whenever you want the agent to see your latest notes.

  2. Register this server with your MCP client (below).

  3. Ask your agent things like "check Compy for anything I flagged on the billing page" — it calls search_notes and gets your notes, quotes, tags and URLs.

Related MCP server: Bruin

Install

Requires Node 18+.

Claude Code

claude mcp add compy -- npx -y compy-mcp

Claude Desktop / other clients

Add to your MCP config:

{
  "mcpServers": {
    "compy": { "command": "npx", "args": ["-y", "compy-mcp"] }
  }
}

Pin a project to one site (optional)

If you work across several sites, bind a project's server to one site with COMPY_SITE so search_notes / list_tasks default to it (the agent doesn't have to know which site your notes are on):

claude mcp add compy -e COMPY_SITE=https://app.example.com -- npx -y compy-mcp

Pass site: "*" in any call to search across all sites anyway. Without COMPY_SITE, everything is unfiltered by default — the agent searches by keywords and can call list_sites to discover what's available.

Custom file location

By default it reads ~/Downloads/compy/compy-export.json. Override with an env var or flag:

COMPY_FILE=/path/to/compy-export.json npx compy-mcp
# or
npx compy-mcp --file /path/to/compy-export.json

Tools

Tool

What it does

search_notes

Ranked keyword search over note text, quotes, titles and tags. Filter by site / label.

list_tasks

List notes/tasks, optionally filtered by site / label.

list_sites

Sites you have notes on, with counts. Good first call.

get_note

Fetch one note by id.

get_markdown

Render notes as a Markdown task list (optionally scoped to a site).

Resource: compy://sites — overview of sites + counts.

Why keyword search, not embeddings?

The note set is small (tens to a few hundred short notes) and the calling model is the semantic layer — it reasons over what search_notes returns. Fast substring/token ranking is plenty at this scale and keeps everything local, with zero setup and no API keys.

License

MIT

Install Server
A
license - permissive license
A
quality
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

View all related MCP servers

Related MCP Connectors

  • Search your AI chat history (ChatGPT, Claude, Codex) from any MCP client. Remote, private, read-only

  • Agent-native MCP server over the public saagarpatel.dev corpus. Read-only, stateless.

  • Local-first RAG engine with MCP server for AI agent integration.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/alameddinc/compy-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server