Glanser Guidelines MCP Server
Provides semantic search over a team's coding guidelines corpus using FastMCP, ChromaDB, and sentence-transformers. Enables fully offline operation with tools for searching, browsing, and filtering guidelines by scope.
README
Glanser Guidelines MCP Server
Semantic search over the team's coding guidelines corpus. Powered by FastMCP + ChromaDB + sentence-transformers (all-MiniLM-L6-v2). 100% free — no API keys, no external services, runs fully offline after setup.
Folder Structure
mcp-server/
├── server.py ← MCP server (run this on the host)
├── ingest.py ← One-time ingestion script
├── requirements.txt ← Python dependencies
├── documents/ ← Drop your .md guideline files here
│ └── CODING_GUIDELINES.md
└── chroma_db/ ← Created automatically by ingest.py (do not edit)
Setup (run once on the host machine)
1. Install dependencies
pip install -r requirements.txt
sentence-transformerswill download theall-MiniLM-L6-v2model (~80 MB) on first run and cache it. Subsequent runs are fully offline.
2. Add your documents
Copy markdown files into the documents/ folder:
cp /path/to/CODING_GUIDELINES.md documents/
3. Ingest (embed once, saved to disk)
python ingest.py
This reads every .md file in documents/, embeds each section, and
persists the vectors to chroma_db/. You only re-run this when adding
a new document.
Useful flags:
python ingest.py --file documents/NEW_DOC.md # add a single new doc
python ingest.py --reset # wipe and re-ingest everything
python ingest.py --list # see what is currently indexed
4. Start the server
python server.py
Server starts on http://0.0.0.0:8000.
Hosting (team access)
Deploy to Railway or Render (both have free tiers):
- Push this
mcp-server/folder to a git repo - Create a new service pointing to that repo
- Set start command:
python server.py - Mount a persistent volume at
/app/chroma_db(so embeddings survive deploys) - Run
python ingest.pyonce via the host console after deploy
Railway/Render automatically provision an HTTPS URL like:
https://glanser-guidelines-mcp.railway.app
Team .mcp.json entry
Each team member adds this to their .mcp.json:
{
"mcpServers": {
"coding-guidelines": {
"type": "http",
"url": "https://your-hosted-domain.com/mcp"
}
}
}
Available Tools
| Tool | What it does |
|---|---|
search_guidelines |
Semantic search across all docs — use this first |
get_section |
Fetch full content of a specific section |
list_sections |
Browse all section titles across the corpus |
get_by_scope |
Filter rules by library, client, or both |
list_documents |
See all indexed documents and their section counts |
Adding a New Document
# 1. Copy the new doc
cp NEW_GUIDELINES.md documents/
# 2. Ingest only the new file (does not re-embed existing docs)
python ingest.py --file documents/NEW_GUIDELINES.md
# 3. No server restart needed — ChromaDB is queried live
Local dev / testing (without hosting)
{
"mcpServers": {
"coding-guidelines": {
"type": "http",
"url": "http://localhost:8000/mcp"
}
}
}
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.
E2B
Using MCP to run code via e2b.