Auto-expose Rails app structure to AI via MCP. Zero config, 11 read-only tools.
Most developer tooling work still happens through a UI a human drives. Rails AI Context MCP server moves it into the conversation instead. Auto-expose Rails app structure to AI via MCP. Zero config, 11 read-only tools.
You catch it. You fix it. You re-prompt. It breaks something else.
Built by a Rails developer with 10+ years of production experience.
The server publishes 14 tools. What each one is for:
search_code — Trace: definition + source + callers + tests. Also: definition, call, class filtersget_edit_context — Method-aware code extraction with class contextanalyze_feature — Full-stack: models + controllers + routes + services + jobs + views + testsget_context — Composite: schema + model + controller + routes + views in one callonboard — Narrative app walkthrough (quick/standard/full)get_schema — Columns with indexed/unique/encrypted/default hintsget_model_details — AST-parsed associations, validations, scopes, enums, macros - each result tagged [VERIFIED] or [INFERRED]get_callbacks — Callbacks in Rails execution order with sourceget_concern — Concern methods + source + which models include itget_controllers — Actions + inherited filters + render map + strong paramsget_routes — Code-ready helpers (post_path(@record)) + required paramsget_view — Templates with ivars, Turbo wiring, Stimulus refs, partial localsSetup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client.
brakeman for security scanning, listen for watch mode, ripgrep for fast search ---This sits in the developer tooling group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. Rails AI Context's toolset — search_code, get_edit_context, analyze_feature and 11 more — is a fair guide to whether it matches your workflow. It is maintained by crisnahine; worth a glance at recent repository activity before you build anything load-bearing on it.
We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.
| Tool | What it does |
|---|---|
| search_code | Trace: definition + source + callers + tests. Also: definition, call, class filters |
| get_edit_context | Method-aware code extraction with class context |
| analyze_feature | Full-stack: models + controllers + routes + services + jobs + views + tests |
| get_context | Composite: schema + model + controller + routes + views in one call |
| onboard | Narrative app walkthrough (quick/standard/full) |
| get_schema | Columns with indexed/unique/encrypted/default hints |
| get_model_details | AST-parsed associations, validations, scopes, enums, macros - each result tagged [VERIFIED] or [INFERRED] |
| get_callbacks | Callbacks in Rails execution order with source |
| get_concern | Concern methods + source + which models include it |
| get_controllers | Actions + inherited filters + render map + strong params |
| get_routes | Code-ready helpers (post_path(@record)) + required params |
| get_view | Templates with ivars, Turbo wiring, Stimulus refs, partial locals |
| get_stimulus | HTML data-attributes (dashes!) + targets + values + actions |
| get_partial_interface | What locals to pass + what methods are called on them |
brakeman for security scanning, listen for watch mode, ripgrep for fast search ---Kill hallucinated APIs — version-accurate, up-to-date library documentation injected straight into context.
Microsoft's official browser automation server — drive a real browser through the accessibility tree, no screenshots needed.
GitHub's official server — repos, issues, pull requests, Actions and code security, straight from your assistant.
Issue tracking at the speed of conversation — Linear's official hosted server with OAuth and zero install.
Local repository surgery — status, diffs, commits, branches and history for any repo on disk.
Timezone sanity for AI — current time anywhere and correct conversions, without the model doing date math.