Rimcp Hybrid
A hybrid retrieval and navigation tool for RimWorld source code and XML definitions, combining lexical, semantic, and graph structures, supporting AI assistant calls
rating : 2.5 points
downloads : 6.7K
What is RiMCP_hybrid?
RiMCP_hybrid is an intelligent code assistant specifically designed for RimWorld game Mod developers. It can understand your natural language queries, quickly find relevant C# code and XML definition files, and display the dependency relationships between the code. Whether you want to understand how a certain game mechanism is implemented or find the code location of a specific function, this tool can save you a lot of search time.How to use RiMCP_hybrid?
Using RiMCP_hybrid is very simple: First, build the code index, then start the service, and finally query through an AI assistant (such as Claude Desktop or VS Code Copilot). You can ask questions in natural language, such as 'How is weapon damage calculated?', and the tool will return relevant code snippets and file locations.Applicable scenarios
This tool is particularly suitable for the following scenarios: 1. New Mod developers learning the RimWorld source code structure 2. Senior developers who need to quickly locate the code of specific functions 3. Researchers who want to understand the implementation principles of game mechanisms 4. Project maintainers who need to analyze code dependency relationshipsMain Features
Intelligent Hybrid Search
Combining semantic understanding and keyword matching, you can search for code using natural language. First, quickly filter relevant results, and then use an AI model to precisely locate the most relevant content.
Code Dependency Analysis
Automatically analyze the call relationships between C# code and XML definitions. You can view 'who uses this class' or 'which other components this class depends on'.
Precise Source Code Location
After finding the code, you can directly view the complete source code snippet, including detailed information such as line numbers and file paths, which is convenient for direct copying or jumping.
Multi - platform Support
Supports Windows, Linux, and macOS systems, providing PowerShell and Shell scripts for users of different operating systems to use conveniently.
Remote Embedding API Support
In addition to local models, it also supports remote embedding APIs such as OpenAI. You can choose different AI model services according to your needs.
Advantages
Intelligently understand natural language queries without the need to precisely remember code names
Combine semantic and keyword searches to improve search accuracy
Complete dependency relationship analysis to help understand the code structure
Open - source and free, following the MIT license, allowing free modification and use
Active community support and continuous updates
Limitations
It takes a long time to build the index for the first use (about 30 - 60 minutes)
Requires a certain amount of disk space to store index files (about 1 - 2GB)
Dependency relationship analysis may return too many results in some complex situations
Requires basic command - line operation knowledge for initial setup
How to Use
Prepare Game Files
Copy game files from your RimWorld installation directory:
1. Def data: Copy from 'C:\Program Files (x86)\Steam\steamapps\common\RimWorld\Data'
2. C# source code: Export the source code using tools such as ILSpy or dnSpy
Place the files in the RimWorldData folder in the project root directory
Set Up Python Environment
Run the script to set up a Python virtual environment and download the necessary AI models:
Build the Project
Build the project using.NET:
Build Code Index
This is the most important step, which will analyze all code files and create a search index:
Start the Service
Start two services: the embedding server and the MCP server
Configure AI Assistant
Configure the MCP server connection in VS Code or Claude Desktop
Usage Examples
Learn the Implementation of the Weapon System
You want to understand how weapon damage is calculated in RimWorld but don't know where to start looking for the code.
Modify the Behavior of Doors
You want to add new functions to doors and need to first understand the existing implementation of doors.
Find All Food - related Definitions
You want to create a food - related Mod and need to understand what food definitions there are in the game.
Frequently Asked Questions
Why is it necessary to build an index? How long does this process take?
What kind of computer configuration do I need?
What should I do if the search returns no results?
How to update to a new version of the game?
Can it be used commercially or modified?
Related Resources
Project GitHub Repository
Get the latest code, submit issues, and view update logs
.NET 8.0 Download
Download the.NET runtime and SDK required to run the project
Python Official Website
Download the Python programming language for running AI model services
RimWorld Mod Making Tutorial
Learn the basic knowledge of RimWorld Mod development
MCP Protocol Documentation
Understand the technical details of the Model Context Protocol

Gitlab MCP Server
Certified
The GitLab MCP server is a project based on the Model Context Protocol that provides a comprehensive toolset for interacting with GitLab accounts, including code review, merge request management, CI/CD configuration, and other functions.
TypeScript
18.0K
4.3 points

Notion Api MCP
Certified
A Python-based MCP Server that provides advanced to-do list management and content organization functions through the Notion API, enabling seamless integration between AI models and Notion.
Python
17.4K
4.5 points

Markdownify MCP
Markdownify is a multi-functional file conversion service that supports converting multiple formats such as PDFs, images, audio, and web page content into Markdown format.
TypeScript
27.5K
5 points

Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
52.6K
4.3 points

Unity
Certified
UnityMCP is a Unity editor plugin that implements the Model Context Protocol (MCP), providing seamless integration between Unity and AI assistants, including real - time state monitoring, remote command execution, and log functions.
C#
22.2K
5 points

Figma Context MCP
Framelink Figma MCP Server is a server that provides access to Figma design data for AI programming tools (such as Cursor). By simplifying the Figma API response, it helps AI more accurately achieve one - click conversion from design to code.
TypeScript
50.0K
4.5 points

Gmail MCP Server
A Gmail automatic authentication MCP server designed for Claude Desktop, supporting Gmail management through natural language interaction, including complete functions such as sending emails, label management, and batch operations.
TypeScript
17.1K
4.5 points

Minimax MCP Server
The MiniMax Model Context Protocol (MCP) is an official server that supports interaction with powerful text-to-speech, video/image generation APIs, and is suitable for various client tools such as Claude Desktop and Cursor.
Python
35.4K
4.8 points