
Context Book
io.github.aditya201551Published by GitHub account aditya201551v1.0.2Updated Oct 25, 2026
Stop re-explaining yourself to Agents. Give it the right context, right when needed.
Overview
Context Book is a remote MCP server that gives an assistant a persistent, searchable library of Books and Pages, so context carries across conversations.
- What you can do
- Create and update Books and list or retrieve their metadata and pages, including all pages of a Book at once, with pagination for listings. Insert, replace or delete individual Pages inside a Book, with embeddings generated immediately on write. Run semantic search across all Books to pull the most relevant stored context. Fetch a usage guide once per session.
- When to use it
- Useful when you keep re-explaining the same background, preferences or project notes to an AI client and want that material stored once and retrieved on demand. Suited to Claude, Cursor, Windsurf and other MCP clients that should share a searchable knowledge library.
- Requirements
- A remote MCP endpoint reached over streamable HTTP; the README's self-hosting path instead needs Go, Node.js, PostgreSQL with pgvector and pg_trgm, and a Voyage AI API key. All tools require a valid Bearer token and are scoped to the authenticated user; the manifest declares no authentication setup.
Installation
In SourceWeft
- Open Context Book in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.
Use with an agent
Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.
Read https://sourceweft.com/mcp/io.github.aditya201551%2Fcontext-book-mcp/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.Other MCP clients
Add this to your client's mcpServers config.
{
"mcpServers": {
"context-book": {
"type": "http",
"url": "https://context-book-mcp-production.up.railway.app/"
}
}
}README
[smithery badge] [License: MIT]
[ContextBook - Stop re-explaining. Give agents the right context | Product Hunt]
Stop re-explaining yourself to Agents. Give it the right context, right when needed.
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.
How It Works
Two Go binaries share a PostgreSQL database:
- API server (
cmd/api) — the control plane: user login, OAuth 2.0, dashboard, book/page CRUD - MCP server (
cmd/mcp) — the data plane: 8 MCP tools for AI agents, protected by Bearer tokens
MCP Tools
All tools require a valid Bearer token and are scoped to the authenticated user.
Quick Start
Prerequisites
1. Set up the database
Migrations run automatically on API server startup.
2. Configure environment
3. Run the backend
4. Run the frontend (optional)
5. Connect an AI client
For Cursor (.cursor/mcp.json):
For any MCP-compatible client, point the server URL to http://localhost:8081/mcp.
Documentation
- Backend README — API routes, auth flows, database schema, MCP tools, configuration
- Frontend README — components, routing, design system, development setup
- Architecture — full system overview with Mermaid diagrams
Project Structure
Contributing
- Fork the repository
- Create a feature branch (
git checkout -b feature/my-feature) - Make your changes
- Ensure the backend compiles (
cd backend && go build ./cmd/api ./cmd/mcp) - Ensure the frontend builds (
cd frontend && npm run build) - Commit and push
- Open a Pull Request
License
MIT — see the LICENSE file for details.
Source: README.md at commit 390bd24
Tools
0Version history
1- v1.0.2LatestSep 16, 2026
Score
85% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 daysRequired25 pts
- Auth declaredRequired10 pts
- Tools listedRequired15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts