Context Book MCP Server

Stop re-explaining yourself to Agents. Give it the right context, right when it needs it.

Local serverstdioTypeScript

What is the Context Book MCP server?

Stop re-explaining yourself to Agents. Give it the right context, right when it needs it. Exposed over MCP by the context book mcp server, that capability becomes something an assistant can invoke while it works, not something you go and do afterwards.

What it actually does

LLMs are stateless — each conversation starts from scratch. ContextBook gives your AI tools a persistent, searchable knowledge library to draw the right context when they need it. No bloatware, no pre-loaded junk. Just the right information, at the right time.

Adding it to your client

Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client.

Its toolset

Everything the assistant can do here goes through one of these:

  • book_create_or_update — Create a Book or update its metadata
  • book_list — Paginated list of Book metadata
  • book_get — Retrieve all pages of a Book
  • page_insert — Push an atomic page into a Book; embeds immediately
  • page_update — Replace a page's content; re-embeds
  • page_delete — Remove a page (indices not re-numbered)
  • page_search — Semantic search across all Books
  • Prerequisites — The Prerequisites tool exposed by this server

Configuration

You will need 2 environment variables: DATABASE_URL, VOYAGE_API_KEY. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.

  • Go 1.26+ - Node.js 22+ - PostgreSQL 16+ with pgvector and pg_trgm - A Voyage AI API key

Caveats

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the context book mcp server does with a few real requests.

When to reach for it

Plenty of developer tooling servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. Context Book's toolset — book_create_or_update, book_list, book_get and 5 more — is a fair guide to whether it matches your workflow. It is maintained by aditya201551; worth a glance at recent repository activity before you build anything load-bearing on it.

SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.

Available tools

ToolWhat it does
book_create_or_updateCreate a Book or update its metadata
book_listPaginated list of Book metadata
book_getRetrieve all pages of a Book
page_insertPush an atomic page into a Book; embeds immediately
page_updateReplace a page's content; re-embeds
page_deleteRemove a page (indices not re-numbered)
page_searchSemantic search across all Books
PrerequisitesThe Prerequisites tool exposed by this server.

Configuration

  • Go 1.26+ - Node.js 22+ - PostgreSQL 16+ with pgvector and pg_trgm - A Voyage AI API key
VariableDescriptionRequired
DATABASE_URLEndpoint or connection string the server talks to.Yes
VOYAGE_API_KEYCredential the server authenticates with.Yes

Example prompts to try

  • Use Context Book to book create or update.
  • Use Context Book to book list.
  • Use Context Book to book get.

Frequently asked questions

It connects Context Book to MCP-compatible AI assistants such as Claude and Cursor, exposing 8 tools (book_create_or_update, book_list, book_get, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Context Book directly.