rails-ai-context
View on GitHub45 MCP tools that give AI coding agents ground truth about your Rails app: schema, models, routes, controllers, views, jobs, conventions. Works with Claude Code, Cursor, GitHub Copilot, OpenCode and Codex CLI. MCP or CLI, in-Gemfile or standalone, and it still answers when the app can't boot.
A Ruby gem that exposes 45 read-only Rails codebase inspection tools through MCP or a CLI. It gives coding agents ground truth about schemas, models, routes, source, tests, and conventions, including static inspection when the app cannot boot.
Use Cases
Give coding agents accurate Rails schema and model detailsInspect routes, controllers, views, jobs, and app conventionsTrace code definitions, callers, and testsGenerate project context files for coding assistantsInspect Rails source when the app cannot boot
Built With
- Language
- Ruby
- Frameworks
- Ruby on Rails · MCP · Prism
Tags
MCP server · Rails · AI coding · codebase introspection · schema · routes · models · CLI · read-only tools · anti-hallucination