Factual APIs
Query real C# and XML so your agent references APIs that actually exist.
MCP Server for RimWorld Source
Give AI the ability to search and read RimWorld source.
LLMs often use outdated, incorrect, or even fabricated APIs.
RimSage provides real source access and retrieval tools to maximize API reliability.
Query real C# and XML so your agent references APIs that actually exist.
Pull on demand to cut token usage and improve model performance.
Retrieval optimized for RimWorld's architecture.
Connect in seconds, available anywhere, start anytime.
Online service is the recommended default for new users.
Use the hosted MCP endpoint to start instantly.
https://mcp.rimsage.com/mcp Pick your client. For placeholders, use the generic config below.
claude mcp add rimworld-source --transport http https://mcp.rimsage.com/mcp
gemini mcp add rimworld-source --transport http https://mcp.rimsage.com/mcp
# TODO: replace with TRAE MCP integration command
# TODO: replace with Cursor MCP integration command
# TODO: replace with Kilo Code MCP integration command
# TODO: replace with opencode MCP integration command
code --add-mcp "{\"name\":\"rimsage\", \"type\": \"http\", \"url\": \"https://mcp.rimsage.com/mcp\"}"
Works with most MCP-compatible clients.
{
"mcpServers": {
"rimworld-source": {
"url": "https://mcp.rimsage.com/mcp"
}
}
} For offline use, customization, or local data.
Clone the RimSage repository to your local machine.
git clone https://github.com/realloon/RimSage.git Install project dependencies with Bun.
bun install Import RimWorld XML Def data from your local game directory.
bun run src/scripts/import-defs /path/to/your/rimworld/root/path Import decompiled C# source files for API and type lookup.
bun run src/scripts/import-csharp /path/to/decompiled/source/root/path Build the server after data import is complete.
bun run build Use this template to register your local self-hosted server.
{
"mcpServers": {
"rimsage": {
"command": "bun",
"args": ["run", "/path/to/this/repo"]
}
}
}