Sandbox
@realloon/RimSage

MCP server for RimWorld source browsing

RimSage connects agent clients to RimWorld source code, decompiled C# symbols, and Def XML data. It gives the agent search and read tools so it can inspect the game code and content directly.

82 stars8 forksTypeScriptUpdated 20d ago
Who it's for

Builders who want their agent to search RimWorld source, defs, and symbols while they work.

What it delivers

You can ask an agent to inspect RimWorld code and content without switching to manual file browsing.

What it does

Source search

Lets the agent search RimWorld source code with `search_source`.

File reading and directory browsing

Provides `read_file` and `list_directory` for navigating the source tree.

Def lookup

Supports `search_defs` and `get_def_details` for RimWorld Def XML, including raw or merged output.

C# symbol reading

Adds `read_csharp_symbol` to inspect a type or method definition directly.

Hosted or local transport

Runs as an online MCP endpoint or as a local stdio server.

How to get it

  1. 1The easiest way to use RimSage is through the online service
    https://mcp.rimsage.com/mcp

README

RimSage

MCP Server bun ripgrep

An MCP server that provides RimWorld source code search and browsing capabilities.

Available Tools

The server provides these tools:

  • search_source - Search RimWorld source code
  • read_file - Read specific files
  • list_directory - List directory contents
  • search_defs - Search through RimWorld Defs
  • get_def_details - Get raw or merged RimWorld Def XML
  • read_csharp_symbol - Read a C# type or method definition

Quick Start

The easiest way to use RimSage is through the online service:

https://mcp.rimsage.com/mcp

You can find the integration methods for different Agent clients in the wiki.

Self-Hosted

RimSage also supports stdio transport for local deployment.

  1. Install dependencies
  1. Clone the repository
git clone https://github.com/realloon/RimSage.git
  1. Install package dependencies
bun install
  1. Build index
bun run src/scripts/import-defs /path/to/your/rimworld/root/path
bun run src/scripts/import-csharp /path/to/decompiled/source/root/path
bun run build

You'll need local RimWorld files and a decompiled C# project, which is allowed under the RimWorld EULA.

  1. Add this MCP server

You can find the integration methods for different Agent clients in the wiki.

Most Agent clients support mcp.json configuration:

{
  "mcpServers": {
    "rimsage": {
      "command": "bun",
      "args": ["run", "/path/to/this/repo"]
    }
  }
}

Replace /path/to/this/repo with the actual path to this repository on your system.

Development

bun run start # stdio
bun run start:http # Streamable HTTP

Files in the repo

Repository payload8 top-level entries
  • src
  • test
  • .gitignore
  • bun.lock
  • LICENSE
  • package.json
  • README.md
  • tsconfig.json

Discussion (0)

Ask about usage, or say what you built with it

Sign in to join the discussion.

No comments yet. Be the first to say what this is good for.

More connectors

Real-time global intelligence dashboard. AI-powered news aggregation, geopolitical monitoring, and infrastructure tracking in a unified situational awareness interface

86k

High-performance code intelligence MCP server. Indexes codebases into a persistent knowledge graph — average repo in milliseconds. 158 languages, sub-ms queries, 99% fewer tokens. Single static binary, zero dependencies.

43k

Universal provider proxy for OpenAI Codex & Claude Code — use any LLM (Claude, Gemini, Grok, DeepSeek, Ollama…) with Codex CLI, App, SDK, and Claude Code

14k
okf-memory/
okf-agent-memory

Git-native persistent memory for AI coding agents. Implements Google OKF v0.2 with sub-300µs in-memory BM25 search, embedded MCP server, and progressive disclosure. Slashes token bloat by 80% with zero external databases or dependencies. Built in pure Go.

547
tirth8205/
code-review-graph

Local-first code intelligence graph for MCP and CLI. Builds a persistent map of your codebase so AI coding tools read only what matters, with benchmarked context reductions on reviews and large-repo workflows.

31k
2akouwu/
reverify

Stop your AI from making things up — it proposes, deterministic tools decide, every claim checked against ground truth with evidence. Grounded facts and context survive resets. Reverse engineering is the proving ground. MCP server + CLI.

1.1k