Skip to main content
AllMCPs
BrowseBestCategoriesStackCompareToolsGuidesBlog
Log in Submit MCP

Stay in the loop

Get new MCP servers and top picks in your inbox.

AllMCPs

The open directory for discovering and installing Model Context Protocol servers.

AllMCPs on GitHub (opens in a new tab)
Launched onTiny Startupstinystartups.com
Explore
  • Browse servers
  • Best MCP servers
  • Categories
  • MCP clients
  • Agent prompts
  • Stack Builder
  • Compare servers
  • Random discovery New
  • Submit a server
  • Pricing & Boost Boost
Learn
  • Guides hub
  • What is MCP?
  • Install guide
  • Build an MCP server
  • Deploy an MCP server
  • Security guide
  • Troubleshooting
  • MCP for SEO & AEO
  • Protocol versioning
  • Blog & updates
Tools
  • All developer tools
  • Config generator
  • Config validator
  • Config auditor
  • MCP playground
  • Token calculator
  • OpenAPI β†’ MCP
  • Badge generator
For agents
  • REST API docs
  • Trust & traffic Live
  • Remote MCP server SSE β†— (opens in a new tab)
  • llms.txt β†— (opens in a new tab)
  • Catalog JSON β†— (opens in a new tab)
Company
  • About
  • Advertise Sponsor
  • Contact
  • GitHub β†— (opens in a new tab)
  • Terms
  • Privacy
AllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZoneAllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZone
Β© 2026 Jackalope Digital LLC. All rights reserved.
  1. Home
  2. πŸ’» Developer Tools
  3. Rpg Encoder
R
Health: Not checked yetWe have not completed a health check for this listing yet.No health check has run yet.

Rpg Encoder

User RatingsBe the first to rate and review this MCP server! Enrichment pendingWe haven’t run our AI enrichment pass on this listing yet, so the overview, use cases, and FAQ below may be sparse or missing. We work through the catalog over time β€” check back soon.
View Repository

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

Quick Install

Automated & IDE Setup

Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β€” or use 1-click editor setup below.

Add to CursorAdd to VS Code
Manual Client & Custom JSON ConfigExpand JSON β–Ύ

Client Config & Setup

Choose your client or environment
Target File:~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "rpg-encoder": {
      "command": "npx",
      "args": [
        "-y",
        "rpg-encoder"
      ]
    }
  }
}

πŸ’‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.

Install Directory Badge Claim listing AlternativesπŸ’» More in Developer Tools

Documentation Overview

rpg-encoder

Give your AI agent a brain for your codebase.

CI MIT License Rust 1.85+ npm MCP Stars


AI coding agents waste most of their tool calls fumbling through your codebase with grep, cat, find, and file reads. rpg-encoder fixes that. It builds a semantic graph of your code with Tree-sitter β€” not just what calls what, but what every function does β€” and gives your AI assistant whole-repo understanding via MCP in a single tool call.

Without RPG: 34,000 chaotic grep/cat/find calls. With RPG: one semantic_snapshot call returns a structured map of the whole repo.


Quick Start

Terminal
claude mcp add rpg -- npx -y -p rpg-encoder rpg-mcp-server

One command. Works with Claude Code, Cursor, opencode, Windsurf, or any MCP-compatible agent. No Rust toolchain, no cloning, no building β€” npx downloads a pre-built binary for your platform.

Then open any repo and tell your agent:

"Build and lift the RPG for this repo"

Your agent handles everything: indexes entities (seconds), reads each function and adds intent-level features (a few minutes), organizes them into a semantic hierarchy, and commits .rpg/graph.json for your team.

For repos with ~100+ entities, lifting_status will tell your agent to delegate the lifting loop to a sub-agent or a cheaper model β€” feature extraction is pattern-matching, not novel reasoning. If your runtime has no sub-agent mechanism, run rpg-encoder lift --provider anthropic|openai from the terminal with an API key β€” the CLI drives an external LLM directly with no agent involvement. After the CLI finishes, call reload_rpg in your session to load the updated graph. The CLI lifts entities with no features; re-lifting stale entities (features present but outdated after code changes) is handled by the in-session MCP flow, not the CLI.

Once lifted, try:

  • "What handles authentication?" β€” finds code even when nothing is named "auth"
  • "Show everything that depends on the database connection"
  • "Plan a change to add rate limiting to API endpoints"

Use RPG before grep, cat, find

The server instructions tell your agent to reach for RPG tools FIRST for any question about code structure or behavior. That reflex matters β€” grep, cat, and ad-hoc file reads burn tokens and miss semantic relationships RPG already knows.

If you'd otherwise reach for...Use this instead
grep -r / rg (by intent)search_node(query="...")
grep -r / rg (by name)search_node(query="...", mode="snippets")
cat / reading a functionfetch_node(entity_id="file:name")
chained greps for callers/calleesexplore_rpg(entity_id="...", direction="...")
recursive grep for "what depends on X"impact_radius(entity_id="...")
wc -l / find / treerpg_info
reading many files for contextsemantic_snapshot
manual search β†’ fetch β†’ explore chainscontext_pack(query="...")
"how do I refactor X safely"plan_change(goal="...")

Fall back to grep, cat, or file reads only when the query is about literal text (string search, comments, TODOs, log messages) β€” not about structure.


How It Works

Four-stage pipeline: Parse (tree-sitter) β†’ Lift (verb-object features) β†’ Organize (3-level hierarchy) β†’ Understand (LLM gets full repo knowledge)

  1. Parse β€” Tree-sitter extracts entities (functions, classes, methods) and dependency edges (imports, calls, inheritance) from 15 languages.
  2. Lift β€” An LLM (your agent, or a cheap API like Haiku) reads each entity and writes verb-object features: "validate JWT tokens", "serialize config to disk".
  3. Organize β€” Features cluster into a 3-level semantic hierarchy (Area β†’ Category β†’ Subcategory) that emerges from what the code does, not the file tree.
  4. Understand β€” semantic_snapshot compresses the whole graph into ~25K tokens. Your LLM reads it once and knows the repo.

The semantic snapshot

The whole repo β€” ~500K tokens of source β€” compressed 20x into a ~25K token snapshot containing hierarchy, features, dependencies, and hot spots

Instead of grepping through files, the LLM calls semantic_snapshot once and receives:

  • Hierarchy β€” every functional area with aggregate features
  • Entities β€” every function, class, method grouped by area, with its semantic features
  • Dependency skeleton β€” condensed call graph with qualified names
  • Hot spots β€” top 10 most-connected entities (the architectural backbone)

~25K tokens covers ~1000 entities. That's 2-3% of a 1M context window β€” the LLM starts every session already knowing your repo.

Self-maintaining graph

Git HEAD moves β†’ RPG Server auto-syncs β†’ update_rpg applies additions/modifications/removals β†’ graph always fresh, zero agent action

Whenever your working tree changes β€” committed, staged, or unstaged β€” the MCP server automatically re-syncs before responding to the next query. A changeset hash over (path, size, mtime) means repeated saves of the same file trigger one sync, and idle queries trigger none. Reverts are detected too: if a previously-dirty file returns to its HEAD state, the graph is restored.

Two ways to lift

ModeCommandCostWho pays
Agent lifting"Build and lift the RPG"Subscription tokensYour Claude Code / Cursor subscription
Autonomous liftingauto_lift(provider="anthropic", api_key_env="ANTHROPIC_API_KEY")~$0.02 per 100 entitiesExternal API key (Haiku, GPT-4o-mini, OpenRouter, Gemini)

auto_lift calls a cheap external LLM directly β€” your coding subscription never touches the lifting work. Use api_key_env to resolve keys from environment variables so they never appear in tool call transcripts.


Architecture

Your codebase (15 languages) β†’ RPG Engine (5 Rust crates: parser, encoder, nav, lift, mcp) β†’ Clients (Claude Code, Cursor, opencode) via MCP Protocol

Seven Rust crates, one MCP server binary, one CLI binary:

CrateRole
rpg-coreGraph types (RPGraph, Entity, HierarchyNode), storage, LCA algorithm
rpg-parserTree-sitter entity + dependency extraction (15 languages)
rpg-encoderEncoding pipeline, lifting utilities, incremental evolution
rpg-navSearch, fetch, explore, snapshot, TOON serialization
rpg-liftAutonomous LLM lifting (Anthropic, OpenAI, OpenRouter, Gemini)
rpg-cliCLI binary (rpg-encoder)
rpg-mcpMCP server binary (rpg-mcp-server) with 27 tools

MCP Tools (27)

Build & Maintain (4 tools)
ToolDescription
build_rpgIndex the codebase (run once, instant)
update_rpgIncremental update from git changes
reload_rpgReload graph from disk after external changes
rpg_infoGraph statistics, hierarchy overview, per-area lifting coverage
Navigate & Search (5 tools)
ToolDescription
semantic_snapshotWhole-repo semantic understanding in one call (~25K tokens for 1000 entities)
search_nodeSearch entities by intent or keywords (hybrid embedding + lexical scoring)
fetch_nodeGet entity metadata, source code, dependencies, and hierarchy context
explore_rpgTraverse dependency graph (upstream, downstream, or both)
context_packSingle-call search + fetch + explore with token budget
Plan & Analyze (7 tools)
ToolDescription
impact_radiusBFS reachability analysis β€” "what depends on X?"
plan_changeChange planning β€” find relevant entities, modification order, blast radius
find_pathsK-shortest dependency paths between two entities
slice_betweenExtract minimal connecting subgraph between entities
analyze_healthCode health: coupling, instability, god objects, clone detection
detect_cyclesFind circular dependencies and architectural cycles
reconstruct_planDependency-safe reconstruction execution plan
Semantic Lifting (11 tools)

Read the full README β†’View source on GitHub β†’

Related MCP Servers

View all in Developer Tools View all alternatives
  • TokenSave logoTokenSave

    Code intelligence for 15+ languages: semantic graph queries instead of file reads. 37 MCP tools.

    πŸ’» Developer Tools0 views
    Compare vs TokenSave β†’
  • Kin logoKin

    Semantic code retrieval over a graph of entities, relationships, changes, and provenance.

    πŸ’» Developer Tools0 views
    Compare vs Kin β†’
  • Codealive MCP logoCodealive MCP

    Semantic code search and analysis from CodeAlive for AI assistants and agents.

    πŸ’» Developer Tools0 views
    Compare vs Codealive MCP β†’
  • M1nd logoM1nd

    The shell around your coding agent: a neuro-symbolic code graph with calibrated trust, via MCP.

    πŸ’» Developer Tools0 views
    Compare vs M1nd β†’

Reviews

No reviews yet β€” be the first to share how this listing worked for you.

Frequently Asked Questions about Rpg Encoder

Add the following block to your claude_desktop_config.json under mcpServers: "mcpServers": { "rpg-encoder": { "command": "npx", "args": ["-y", "rpg-encoder"] } }

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewRpg Encoder AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/rpg-encoder?style=directory)](https://allmcps.com/mcp/rpg-encoder)
HTML Embed
<a href="https://allmcps.com/mcp/rpg-encoder"><img src="https://allmcps.com/api/badge/rpg-encoder?style=directory" alt="Rpg Encoder on AllMCPs" /></a>

Technical Specs & Signals

CategoryπŸ’»Developer Tools
More technical detailsExpand β–Ύ
TransportSTDIO
RuntimeNode.js
Last updatedSep 7, 2026
Views0
Unique ViewsTotal visits recorded for this listing page on AllMCPs.
Installs0
Installs & Copy ActionsTotal times users copied install commands or configuration snippets for this server.
27Quality signal: Emerging Β· 27/100How this signal is calculated β–Ύ
Server availabilityNot measured

Not scored for repo-hosted servers β€” we can't reach the running server, only its GitHub page. Hosted MCP endpoints are health-checked live.

Verified ownership8/20
Documentation & tools11/30
Adoption & activity1/15
Community engagement0/10

A guidance signal from public completeness & health data β€” not a user rating. New listings start lower and rise as they add docs, get verified, and grow adoption. Signals we can't observe for a listing are skipped, not counted against it.

β˜… FeaturedMoxie Docs MCP logo

Moxie Docs MCP

MCP & Agent Skills for Automated Documentation, and codebase conventions + context

Explore Server β†’

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to unlock edit access and the Official badge and attach your website β€” proof is checked automatically, then reviewed by our team.

Free dofollow backlink: add your website and place the AllMCPs badge on it β€” no claim needed. We detect it automatically and keep it verified as long as the badge stays live.

Claim & get free dofollow

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.

Explore more

More in πŸ’» Developer Tools β†’Best MCP servers for Developers β†’Alternatives to Rpg Encoder β†’Install in Claude DesktopInstall in CursorInstall in VS Code