Skip to main content
Glama
compy-mcp

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

Available Tools

5 tools
get_markdownGet Markdown task listC

Render the notes as a ready-to-read Markdown task list, optionally scoped to one site.

Inputs: site.

get_noteGet one noteA

Fetch a single note/task by its id (as returned by search_notes / list_tasks).

Inputs: id (required).

list_sitesList sitesA

List the sites the user has notes on, with a count each. Good first call to see what's available.

Inputs: no named parameters.

list_tasksList Compy tasksA

List captured notes/tasks, optionally filtered by site or tag. Use when you want the full set rather than a keyword search.

Inputs: site, label, limit.

search_notesSearch Compy notesA

Search the highlights, notes and tasks the user captured on the web. Pass keywords from what you're working on to pull the relevant ones. Returns ranked matches with note text, highlighted quote, tag, URL and origin.

Inputs: query (required), site, label, limit.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.9/5.0

    Scored across 5 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose: rendering a markdown list, fetching a single note by ID, listing sites with counts, listing tasks with filters, and searching notes by keywords. No overlap or ambiguity.

    Naming Consistency5/5

    All tool names follow a consistent verb_noun pattern using snake_case: get_markdown, get_note, list_sites, list_tasks, search_notes. This pattern is predictable and clear.

    Tool Count5/5

    With 5 tools covering listing, searching, fetching, and rendering, the count is well-scoped for a read-only note retrieval server. It is neither too few nor too many.

    Completeness4/5

    The tool set provides complete coverage for reading and searching notes (list, search, get, render). However, it lacks any write operations (create, update, delete), which may be intentional but represents a gap for full note management.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      MCP server for AI agents to read, write, and organize notes in a local-first, human-in-the-loop note-taking app.
      2
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      MCP server that provides semantic memory with search, related-content traversal, and write-back capabilities, all powered by local embeddings of your notes, documents, and chat histories.
      2
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      MCP server for managing a local, domain-agnostic knowledge base using Markdown notes with frontmatter. Enables AI agents to capture, read, search, link, and maintain notes with atomic writes and privacy controls.
      13
      MIT