# Rpg Encoder

> Rpg Encoder is an open-source MCP server. Semantic code graph for AI-assisted code understanding via tree-sitter and MCP. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/userfrm/rpg-encoder
- **MCP Registry name:** io.github.userFRM/rpg-encoder
- **Listing updated:** 2026-11-13

## About

Semantic code graph for AI-assisted code understanding via tree-sitter and MCP.

## Install

### Claude Code (Terminal)

```sh
claude mcp add rpg-encoder -- npx -y rpg-encoder
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "rpg-encoder": {
      "command": "npx",
      "args": [
        "-y",
        "rpg-encoder"
      ]
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "rpg-encoder": {
      "command": "npx",
      "args": [
        "-y",
        "rpg-encoder"
      ]
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "rpg-encoder": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "rpg-encoder"
      ]
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "rpg-encoder": {
      "command": "npx",
      "args": [
        "-y",
        "rpg-encoder"
      ]
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "rpg-encoder": {
      "command": "npx",
      "args": [
        "-y",
        "rpg-encoder"
      ]
    }
  }
}
```

## FAQ

### Is Rpg Encoder free?

Yes. Rpg Encoder is open source, so you can use and self-host it for free.

### How do I add Rpg Encoder to Claude Code?

Run this command in your terminal: claude mcp add rpg-encoder -- npx -y rpg-encoder

---
Source: https://ai-powered.com/mcp/rpg-encoder
