Citadeldb MCP server
{
"mcpServers": {
"citadeldb": {
"command": "uvx",
"args": [
"citadeldb-mcp"
],
"env": {
"CITADEL_KEY": "<citadel_key>"
}
}
}
}{
"mcpServers": {
"citadeldb": {
"command": "uvx",
"args": [
"citadeldb-mcp"
],
"env": {
"CITADEL_KEY": "<citadel_key>"
}
}
}
}{
"mcpServers": {
"citadeldb": {
"command": "uvx",
"args": [
"citadeldb-mcp"
],
"env": {
"CITADEL_KEY": "<citadel_key>"
}
}
}
}{
"servers": {
"citadeldb": {
"command": "uvx",
"args": [
"citadeldb-mcp"
],
"env": {
"CITADEL_KEY": "${input:citadel_key}"
}
}
},
"inputs": [
{
"id": "citadel_key",
"type": "promptString",
"description": "Citadel key",
"password": true
}
]
}{
"mcpServers": {
"citadeldb": {
"command": "uvx",
"args": [
"citadeldb-mcp"
],
"env": {
"CITADEL_KEY": "<citadel_key>"
}
}
}
}file .mcp.json (in your project root)file claude_desktop_config.jsonfile ~/.cursor/mcp.jsonfile .vscode/mcp.jsonfile ~/.codeium/windsurf/mcp_config.jsoninstall uvx citadeldb-mcpversion 2.5.0
What it does
Citadeldb is an encrypted-first embedded database with vector search and semantic memory capabilities, exposed as MCP tools. It supports SQL queries, key-value storage, and agent memory through local embedders, designed for developers building AI applications with persistent encrypted state.
- Store and recall conversation history or facts for AI agents using semantic search without sending data to external APIs.
- Execute SQL queries and key-value operations on an encrypted local database from Claude or other MCP clients.
- Build multi-turn agent workflows that maintain encrypted memory across sessions and cryptographically forget specific data items.
Tools this server exposes
| Tool | Does |
|---|---|
| remember | Store a fact or message in an encrypted memory region with semantic indexing. |
| recall | Search and retrieve memories by relevance using vector similarity. |
| forget_atom | Cryptographically destroy a specific memory item's encryption key. |
| execute_sql | Run SQL queries (CREATE TABLE, INSERT, SELECT) against the encrypted database. |
| query_sql | Execute a SQL SELECT query and return results. |
| insert_kv | Store a key-value pair in the encrypted database. |
| get_kv | Retrieve a value by key from the encrypted database. |
| create_region | Initialize a new encrypted memory region with an embedder. |
Before you enable it
An MCP server runs with whatever access you give it. Start with a development account rather than production, and check which tools the server exposes before you let an agent call them unattended.