h7lu/RiMCP_hybrid

Rimworld Coding RAG MCP server

41
/ 100
Emerging

Combines lexical (Lucene/BM25), semantic (vector embedding), and graph-based retrieval to navigate RimWorld's C# source code and XML definitions, enabling AI assistants to answer cross-layer queries like "which Defs use this C# component." Built as an MCP server with stdio/JSON-RPC transport for Claude Desktop and VS Code integration, it uses SIMD-accelerated vector operations and compressed sparse matrix storage (reducing 6.2GB to 400MB) to efficiently manage ~80,000 indexed code elements and relationship graphs. The hybrid search strategy uses BM25 for fast initial filtering across full source text, then semantic reranking, avoiding naive fusion while maintaining precision—subsequent iteration applies edge weighting (combining PageRank, occurrence frequency, and relation type) to surface the most relevant dependency paths.

No Package No Dependents
Maintenance 10 / 25
Adoption 7 / 25
Maturity 13 / 25
Community 11 / 25

How are scores calculated?

Stars

39

Forks

5

Language

C#

License

MIT

Last pushed

Feb 19, 2026

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/mcp/h7lu/RiMCP_hybrid"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.