MCP KnowledgeBase Server
@mbcrawfo
About MCP KnowledgeBase Server
Model Context Protocol (MCP) server allowing LLMs to store and search knowledge in a SQLite database
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"knowledgebase": {
"command": "docker",
"args": [
"run",
"--interactive",
"--rm",
"--volume",
"knowledgebase:/db",
"mbcrawfo/knowledge-base-server"
]
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is MCP KnowledgeBase Server?
MCP KnowledgeBase Server is a Model Context Protocol (MCP) server that allows LLMs to store memories during a conversation and search them later. Memories are stored in a SQLite database, and its full text search features power the memory search.
How to use MCP KnowledgeBase Server?
Deploy via Docker with a persistent volume or run locally with the .NET 9 SDK. Configure the server in claude_desktop_config.json using the provided examples. Control the database location with the environment variables DATABASE_NAME or DATABASE_PATH. A default "General Memory Usage" prompt is included to guide the LLM.
Key features of MCP KnowledgeBase Server
- Store memories during LLM conversations
- Search memories using SQLite full text search
- Docker deployment with persistent volume support
- Local deployment with .NET 9 SDK
- Custom database location via environment variables
- Includes a default memory usage prompt for LLMs
Use cases of MCP KnowledgeBase Server
- Storing user preferences across conversations for personalized AI responses
- Building a searchable long-term memory for AI assistants
- Enabling context-aware recall of past interactions
FAQ from MCP KnowledgeBase Server
What are the runtime requirements for MCP KnowledgeBase Server?
For local deployment, the .NET 9 SDK is required. For containerized deployment, Docker is needed.
How can I control where the database is stored?
Set DATABASE_NAME to use a custom filename in the default location, or set DATABASE_PATH to specify the full path to the database file. Using DATABASE_PATH ignores DATABASE_NAME.
What database does MCP KnowledgeBase Server use?
It uses SQLite with full text search capabilities.
Can I customize the prompt given to the LLM?
The server includes a "General Memory Usage" prompt by default, but you can replace it with a custom prompt to be more specific to your usage.
How do I persist data when using Docker?
Create a Docker volume named knowledgebase and mount it to /db in the container. For a custom database file, pass the DATABASE_PATH environment variable via --env.
More Databases MCP servers
Meilisearch MCP Server
meilisearchA Model Context Protocol (MCP) server for interacting with Meilisearch through LLM interfaces.
Snowflake MCP Server
isaacwassermanChroma MCP Server
chroma-coreA Model Context Protocol (MCP) server implementation that provides database capabilities for Chroma
mcp-server-duckdb
ktanaka101A Model Context Protocol (MCP) server implementation for DuckDB, providing database interaction capabilities
MCP Alchemy
runekaagaardA MCP (model context protocol) server that gives the LLM access to and knowledge about relational databases like SQLite, Postgresql, MySQL & MariaDB, Oracle, and MS-SQL.
Comments