Skip to main content
Glama
local-architecture-brain

local-architecture-brain

Local MCP RAG Server

An offline, privacy-first Model Context Protocol (MCP) server that empowers LLM clients (like Claude Desktop) to chat with your local markdown engineering documentation.

How it Works

  1. Indexer: Reads .md files, generates embeddings via Local Ollama (nomic-embed-text), and stores them in ChromaDB.

  2. MCP Server: Exposes a search_internal_docs tool using the FastMCP framework over stdio.

  3. Zero Cloud Leaks: All indexing and retrieval happens completely locally on your machine.

Related MCP server: mcp-semantic-search

Setup

1. Requirements

  • Python 3.12+

  • Ollama running locally.

ollama pull nomic-embed-text
pip install -r requirements.txt

2. Index your docs

Place markdown files in /internal_docs and run:

python src/indexer.py

3. Connect to Claude Desktop

Add this to your claude_desktop_config.json (Mac: ~/Library/Application Support/Claude/claude_desktop_config.json):

{
  "mcpServers": {
    "local-architecture-brain": {
      "command": "python",
      "args": ["/absolute/path/to/local-mcp-rag-server/src/server.py"]
    }
  }
}

Restart Claude Desktop, and you can now ask it: "How does our internal payment service work?

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      B
      maintenance
      Indexes your project's markdown documentation and exposes it to AI agents via local hybrid search (lexical + semantic) with progressive disclosure tools.
      3
      138 npm
      5
      MIT
    • F
      license
      A
      quality
      D
      maintenance
      Enables semantic search over local markdown specs, RFCs, and docs using Ollama and LanceDB, allowing AI agents to find relevant information by meaning rather than exact keywords.
      3
      -
    • F
      license
      A
      quality
      B
      maintenance
      Turns a user's own Markdown wiki into a locally indexed knowledge base, enabling semantic search, per-page retrieval, source listing, and citation-backed RAG question answering. All embedding and generation run through a local Ollama instance, so queries and documents never leave the machine.
      4
      263 PyPI
      3
      -