What dependencies are required?
Python 3.8+ and an OpenAI-compatible API for generating embeddings. You must set `OPENAI_API_KEY`, `OPENAI_BASE_URL`, and `OPENAI_MODEL_NAME`.
@zishengwu
Basic information
A Model Context Protocol (MCP) server that leverages a vector database to efficiently index and query the codebase.
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"Semantic Context MCP Server": {
"command": "fastmcp",
"args": [
"run",
"your_code_base/semantic-context-mcp/vector_search/fast_mcp_server.py:mcp"
],
"env": {
"OPENAI_API_KEY": "your_api_key",
"OPENAI_BASE_URL": "your_api_base_url",
"OPENAI_MODEL_NAME": "your_embedding_model_name"
}
}
}
}Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Semantic Context MCP Server is a Model Context Protocol (MCP) server that uses a vector database to index your codebase and perform semantic searches. It parses code into structural blocks (functions, classes), converts them to vector embeddings, and stores them locally, allowing you to find code snippets using natural language queries rather than keyword matching. The server runs in the background, automatically tracks file changes, and incrementally updates its index to keep context up-to-date.
Install by cloning the repository and setting environment variables for an OpenAI-compatible API (OPENAI_API_KEY, OPENAI_BASE_URL, OPENAI_MODEL_NAME). Configure the MCP JSON file in your IDE with the command fastmcp run pointing to the server script. The server provides three tools: full_index, status, and query. It automatically performs an initial full index and then runs periodic incremental updates every 5 minutes.
~/.chromadb.Python 3.8+ and an OpenAI-compatible API for generating embeddings. You must set `OPENAI_API_KEY`, `OPENAI_BASE_URL`, and `OPENAI_MODEL_NAME`.
All data (vector database and index metadata) is stored locally in the user’s home directory under `~/.chromadb`.
A Merkle Tree built from file content hashes detects changes. Only added, modified, or deleted files are re-parsed and re-indexed, making the process efficient.
AST parsing supports Python, Java, C++, JavaScript, TypeScript, and Go.
It performs a full index on startup, then runs periodic incremental updates every 5 minutes.
Project context your AI can query through MCP — with source evidence.
Local MCP server and CLI that keeps a Git-versioned, model-written index of a codebase and its database schema, so coding agents start each task with the whole system in view.

Mess in, magic out: pour in your D&D and TTRPG notes and LoreKeeper keeps them as a private store for your world. Ask Claude or ChatGPT about it, or build a sourcebook.

Persistent memory for AI agents. Hosted MCP server with capsule-scoped key/value storage, tags, TTL expiration, bulk ops, and RBAC.

Exact, shared memory for AI agents: a hierarchical database where totals always add up, every write is attributed to the agent and person behind it, and any figure traces back to its source file. Agents create databases,
Comments