mcp-knowledge-base
Enables access to a notes knowledge base via MCP, providing tools for keyword search, note creation, and retrieval, along with browseable note resources.
README
mcp-knowledge-base
A Model Context Protocol (MCP) server that exposes a notes knowledge base to MCP clients — Claude Desktop, IDEs, or any agent. It demonstrates the two things an MCP server provides: tools (actions the model can call) and resources (data the model can read). TypeScript, runs over stdio.
What it exposes
Tools (src/server.ts):
| Tool | Purpose |
|---|---|
search_notes |
keyword search across the knowledge base (title/tags/content weighted) |
add_note |
add a new note |
get_note |
fetch one note by id |
Resources: every note is readable at note://{id}, with a listing — so a client can browse the
knowledge base as data, not just call tools.
The domain logic (the notes store + search ranking) lives in src/notes.ts, separate
from the protocol layer.
Use it with an MCP client
Build it, then point a client at the binary. For example, in Claude Desktop's claude_desktop_config.json:
{
"mcpServers": {
"knowledge-base": { "command": "node", "args": ["/abs/path/to/dist/index.js"] }
}
}
npm install && npm run build
node dist/index.js # speaks MCP over stdio
Tests
npm test
Two layers, both offline:
- Unit — the notes store and search ranking.
- Integration — a real MCP
Clienttalks to the server over an in-memory transport (the same way a client would over stdio): it lists tools, callssearch_notes/add_note/get_note, and reads anote://resource. 9 tests total.
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.