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: rag-mcp

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
      Not graded
      quality
      D
      maintenance
      Provides direct access to local documentation files through simple search and overview tools, enabling LLMs to query project-specific markdown documentation without requiring vector databases or RAG pipelines.
      MIT
    • F
      license
      A
      quality
      D
      maintenance
      Enables indexing local documents (PDF, Markdown, text, code) into a knowledge base and querying them via semantic search using local embeddings, all running privately on your machine.
      4
      -
    • 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
      81 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
      -