MCP Memory
Provides read-only access to Kilo Code and Opencode session data stored in a local SQLite database, enabling listing projects and sessions, reading conversation messages, and full-text keyword search across messages.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
MCP Memory — Open code / Kilo Code Session Recall
MCP server providing read-only access to Kilo Code and Opencode server conversations stored in the local SQLite database. Query projects, list sessions, read conversation history, and search across all messages with keyword recall.
Available Tools
Tool | Description |
| List all Kilo Code projects |
| List sessions within a project (paginated) |
| Read conversation messages from a session (paginated) |
| Full-text keyword search across all session messages |
Related MCP server: Conversation Search MCP Server
Quick start : MCP Client Configuration
mkdir -p /home/opencode/workspace/
cd /home/opencode/workspace/
git clone github.com/PascalNoisette/netpascal_mcp_memory
pip install -r requirements.txt{
"mcp": {
"servers": {
"memory": {
"type": "local",
"enabled": true,
"command": [
"python3",
"/home/opencode/workspace/netpascal_mcp_memory/server.py"
],
"environment": {
"DATABASE_PATH": "/home/opencode/.local/share/opencode/opencode.db:rw",
"SERVER_NAME":"memory"
}
}
}
}Environment variables:
DATABASE_PATH (required) Primary opencode DB path.
SERVER_NAME (required) Unique tag for this MCP instance (e.g. 'prod', 'dev').
FTS_DB_PATH (optional) Shared FTS5 index path, otherwise DATABASE_PATH is used with a default suffix
Architecture
MCP read primary opencode database (via
DATABASE_PATH) and writes to a shared FTS index (via
FTS_DB_PATH). The SERVER_NAME env var identifies this instance
so that rows in the shared FTS index are tagged and can be filtered.
┌────────────────────────────────────┐
│ MCP instance │s
│ SERVER_NAME=memory │
│ │
│ DB: (opencode.db) │
│ │ │
│ ┌────────┐ │ │
│ │ part │───────────┼────────────┤─────────────────────────────
│ └────────┘ │ │ │
│ ┌────────┐ │ │ │
│ │session │────────── ┼ │ │
│ └────────┘ │ │
└────────────────────────────────────┘ │
│
FTS Database created (opencode.db_fts.db) │
┌──────────────────────────────────────────────────────────────┐ │
│ part_fts (FTS5) ← includes a "server" column for tagging │ ◄─┘
│ part_fts_meta (per-server watermarks) │
└──────────────────────────────────────────────────────────────┘
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Search your AI chat history (ChatGPT, Claude, Codex) from any MCP client. Remote, private, read-only
Query, explore, and manage your databases through natural conversation.
Explore your Messages SQLite database to browse tables and inspect schemas with ease. Run flexible…
Explore, query, and inspect SQLite databases with ease. List tables, preview results, and view det…
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables querying, searching, and analyzing Cursor IDE conversation history from SQLite workspaceStorage databases. Supports exporting chat data in multiple formats and provides workspace utilities for managing conversation data across projects.MIT
- -licenseNot gradedqualityNot gradedmaintenanceEnables comprehensive search and analysis of Claude Code conversation history using full-text search, optional semantic vector search, and conversation management tools. Provides fast SQLite-based indexing with role-based filtering, project organization, and hybrid search capabilities combining keyword and semantic matching.-
- AlicenseAqualityDmaintenanceEnables searching and analyzing GitHub Copilot's conversation history stored locally, providing tools for full-text search, session listing, statistics, and file-based retrieval.64MIT
- AlicenseAqualityCmaintenanceSearch past OpenCode conversation history before starting new work on a module or file, via a local read-only FTS5 index built from OpenCode's own SQLite database. No network calls, fully local. 7 tools for keyword search, file lookup, and session browsing.744 PyPI4MIT