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: Local MCP RAG Server

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

    • 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
      30 PyPI
      3
      -
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables fully local, offline semantic search over Markdown, PDF, DOCX, HTML, CSV and text documents using in-process ONNX Chinese embeddings, with tools to search for passages with source citations, trigger background index builds, report index status, and list indexed documents. Runs over JSON-RPC stdio with no vector database, external service, or GPU required.
      MIT