Skip to main content
Glama
squatch-c-c

squatch-codebook-mcp

by squatch-c-c

squatch-codebook-mcp

Reason over your own local notes with a hyperdimensional (FHRR) codebook — query, related, neighbors, walk, analogy. No LLM in the loop, nothing leaves your machine. An MCP server, so it works in Claude Desktop (Chat) and Claude Code.

Run it (zero install — uvx fetches + runs)

uvx --from git+https://github.com/squatch-c-c/squatch-codebook-mcp squatch-codebook-mcp

Requires uv (curl -LsSf https://astral.sh/uv/install.sh | sh).

Related MCP server: MCP Associative Memory Server

Add to Claude Desktop

~/Library/Application Support/Claude/claude_desktop_config.json (macOS):

{
  "mcpServers": {
    "codebook": { "command": "uvx", "args": ["--from", "git+https://github.com/squatch-c-c/squatch-codebook-mcp", "squatch-codebook-mcp"] }
  }
}

Restart Claude. Now in Chat or Code you can ask things like "use codebook to find notes in ~/notes related to hyperdimensional computing" and it answers geometrically over your local files.

Tools

Tool

What it does

codebook_build(notes_dir, glob="*.md")

Index a folder; list its notes (run first).

codebook_query(notes_dir, text, …)

Notes most related to a phrase.

codebook_related(notes_dir, note_id, …)

Related notes (geometric + link recall).

codebook_neighbors(notes_dir, note_id, …)

Nearest notes by cosine similarity.

codebook_walk(notes_dir, start_id, steps=4)

Reasoning walk along the LINKS relation.

codebook_analogy(notes_dir, a, b, c, …)

a:b :: c:? over your notes.

All paths are local; every tool reads only the directory you point it at. Part of the Squatch working system.

Install Server
A
license - permissive license
B
quality
C
maintenance

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

  • F
    license
    B
    quality
    D
    maintenance
    Enables indexing and retrieving notes with full-text search using SQLite, plus building knowledge graphs to find relationships between concepts. Supports natural language note management, tagging, and semantic connections.
    16
  • A
    license
    A
    quality
    D
    maintenance
    Turns a local folder of notes and documents into a searchable knowledge base for AI assistants via MCP, enabling semantic search, reading, and adding notes entirely on-device.
    4
    9
    MIT

View all related MCP servers

Related MCP Connectors

  • Token-efficient MCP memory for Markdown vaults. Tiered search, GraphRAG, AI memories.

  • Long-term memory for AI assistants. Hybrid retrieval, query expansion, auto-topics.

  • Persistent memory and knowledge graph for AI assistants — keyword + vector + graph search.

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/squatch-c-c/squatch-codebook-mcp'

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