loading…
Search for a command to run...
loading…
Provides semantic search over a team's coding guidelines corpus using FastMCP, ChromaDB, and sentence-transformers. Enables fully offline operation with tools f
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.
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.
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)
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.
Copy markdown files into the documents/ folder:
cp /path/to/CODING_GUIDELINES.md documents/
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
python server.py
Server starts on http://0.0.0.0:8000.
Deploy to Railway or Render (both have free tiers):
mcp-server/ folder to a git repopython server.py/app/chroma_db (so embeddings survive deploys)python ingest.py once via the host console after deployRailway/Render automatically provision an HTTPS URL like:
https://glanser-guidelines-mcp.railway.app
Each team member adds this to their .mcp.json:
{
"mcpServers": {
"coding-guidelines": {
"type": "http",
"url": "https://your-hosted-domain.com/mcp"
}
}
}
| 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 |
# 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
{
"mcpServers": {
"coding-guidelines": {
"type": "http",
"url": "http://localhost:8000/mcp"
}
}
}
Добавь это в claude_desktop_config.json и перезапусти Claude Desktop.
{
"mcpServers": {
"glanser-guidelines-mcp-server": {
"command": "npx",
"args": []
}
}
}PRs, issues, code search, CI status
Database, auth and storage
Reference / test server with prompts, resources, and tools.
Secure file operations with configurable access controls.