Best for
- Developers and teams who want AI coding agents to understand their actual Rails app structure.
- Ruby on Rails projects that need read-only app context through MCP or CLI.
The supplied material describes 35 read-only tools, MCP over stdio and CLI usage, static analysis, and security limits. The repository description says it can answer when the app cannot boot, while the README specifies that only 32 introspectors answer in static mode and runtime-only tools are unavailable.
Strongest · Documentation 17/20 Weakest · Reliability 9/20
Static review · not runReviewed 2026-11-29
Read the FMRS scoring method →Runtime:Prebuilt binary 3.1+
RAILS_AI_CONTEXT_NO_UPDATE_CHECK
Set to 1 to disable the standalone CLI's daily RubyGems latest-version check. No credential is needed.
Requires Ruby 3.1 or newer and Rails 7.0 through 8.1. Add rails-ai-context to the Gemfile and run bin/rails generate rails_ai_context:install --tools claude --defaults, or install the gem standalone and run rails-ai-context init --tools claude --defaults. After setup, trust or enable the project MCP server in the AI client and start a new session. The CLI can also be used without an MCP server.
Confirm the rails-ai-context tools appear in your client's MCP tool list. Then ask “What columns does the users table have?” and check that the server returns the app's schema.
Once connected, you can ask your AI assistant things like:
No matching tools
Listed from the project's documentation, not tested by this site.
Rails AI Context is a Ruby gem offering 35 read-only MCP tools and CLI commands to help coding agents understand an app's schema, models, routes, controllers, views, test setup, and conventions. It supports MCP over stdio and can also be used through the CLI. When an app cannot boot, some tools can fall back to static analysis and mark runtime data that is unavailable from static sources.
Connect code, docs, and infrastructure in a local knowledge graph.
Docker's official MCP gateway CLI plugin for managing and running MCP servers.
Fast, low-cost structured judgments for agents.
Local call graphs and structural analysis for Go repositories.
Source revision c3578a64739a Data synced 2026-12-05 Read the FMRS scoring method Markdown