rails-ai-context documentation

35 read-only tools that give your AI coding assistant live access to your Rails app.

Works with Claude Code, Cursor, GitHub Copilot, OpenCode and Codex CLI, over MCP or the command line. The website is the short tour; the pages below are the reference.

Getting started

Guide What it covers
Copy-paste prompts Paste one into your AI tool and it installs, changes, removes or uses the gem
Quickstart Up and running in 5 minutes
AI tool setup Claude Code, Cursor, Copilot, OpenCode, Codex CLI, the HTTP transport, other MCP clients
Standalone mode Use without a Gemfile entry

Reference

Guide What it covers
Tools reference All 35 tools with every parameter
Configuration Every option with its default
CLI reference Commands, flags and argument syntax
Introspectors All 40 introspectors and the AST engine
Complete guide Every command, parameter and option in one file

Learn

Guide What it covers
Recipes Real workflows, end to end
Custom tools Build and test your own tools
Architecture System design and internals
FAQ Frequently asked questions

Safety and support

Guide What it covers
Security model SQL safety layers and file blocking
Compatibility Supported versions, operating tiers, app shape matrix
Troubleshooting Common problems and fixes

The decisions behind the design, each with its reason, are in docs/adr.


GitHub repository · RubyGems · Changelog · MCP Registry