Skip to main content
Glama

Turbovec MCP — Long-Term Memory for AI Coding Assistants

A local-first Model Context Protocol server that gives your AI assistant a persistent memory it can search, traverse and extend across sessions.

Everything runs in-process on your machine: a SQLite knowledge graph, SQLite FTS5 for keyword search, and the turbovec vector index for semantic search. No network calls, no external database.

Works with Claude Desktop, Cursor, Cline / Roo Code, Windsurf, Zoo Code, and any other MCP client.


Why

Problem

What Turbovec does

Pasting whole files into chat burns tokens and degrades reasoning

Stores them once, returns only the relevant chunks

Closing a chat loses every decision and convention

Persists entities, relationships and session summaries to disk

Keyword search misses anything phrased differently

Runs vector and keyword search, then fuses the rankings

Saved notes drift into an orphaned, stale pile

A background librarian clusters, links and prunes them


Related MCP server: Heimdall MCP Server

How retrieval works

A query runs through two independent channels. Their rankings are merged with Reciprocal Rank Fusion, so no score calibration between them is needed.

graph LR
    Q[Query] --> V["Vector channel<br/>(turbovec ANN)"]
    Q --> L["Lexical channel<br/>(SQLite FTS5)"]
    V --> R{{"Reciprocal<br/>Rank Fusion"}}
    L --> R
    R --> H["Hydrate nodes<br/>+ observations"]
    H --> X["Cross-encoder rerank<br/>(optional)"]
    X --> O[Ranked results]

Stored alongside the text is a typed graph — entities, weighted relationships and timestamped observations — so results can be expanded into their surrounding context instead of returned as isolated snippets.


Quick start

git clone https://github.com/henny-bee/Turbovec-MCP-Server.git
cd turbovec-mcp-server

python -m venv venv
source venv/bin/activate        # Windows: .\venv\Scripts\activate
pip install -r requirements.txt

python main.py                  # startup is logged to server.log

Then point your MCP client at it — for Claude Desktop, in claude_desktop_config.json:

{
  "mcpServers": {
    "turbovec": {
      "command": "/absolute/path/to/venv/bin/python",
      "args": ["/absolute/path/to/main.py"],
      "env": { "PYTHONUNBUFFERED": "1" }
    }
  }
}

Use the absolute path to the venv's Python, not bare python — otherwise your editor runs the system interpreter and the import fails. Setup for other editors, Docker and SSE mode is in the Configuration Guide.


Documentation

Guide

Contents

Configuration & Setup

Editor integration, environment variables, Docker, dashboard, storage schema

Tools Reference

All 35 MCP tools and 2 prompts, by category

Custom Instructions

Rules that make your assistant use the memory unprompted

Architecture

Module map, design rules, performance decisions


Development

pip install -r requirements-dev.txt
pytest                # 78 unit and integration tests
black .               # formatting, enforced in CI

Tests cover graph consistency, transactional rollback, hybrid search ranking, rank fusion, embedding cache and batching, index persistence, clustering, semantic radar, and the librarian cycle.


License

MIT — see LICENSE.

MCP Badge Turbovec-MCP-Tiar MCP server M8ven Score

Sponsored by

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    C
    maintenance
    Provides persistent memory for AI coding assistants, storing and retrieving architectural decisions, patterns, and solutions across sessions using semantic search, while also offering git integration for commit messages and code expertise mapping.
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Provides AI coding assistants with persistent, context-rich memory of a codebase, including documentation and git history, enabling recall across sessions.
    104
    Apache 2.0
  • A
    license
    A
    quality
    B
    maintenance
    Provides persistent memory and a codebase knowledge graph for AI coding assistants, enabling shared context across multiple tools like Claude, Cursor, and ChatGPT, with significant token reduction.
    5
    18 npm
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Provides long-term memory for AI coding agents, enabling them to remember, search, and organize information across sessions and platforms like Claude Code, ChatGPT, and Cursor.
    21 npm
    8
    MIT