rails-ai-context
Active·★ 144·MIT·Updated 2026-05-24
★ Trending★ Code Assistant★ Dev Tooling
Auto-expose your Rails app to AI assistants via MCP — zero config, 28 introspectors, 11 read-only tools, 37% fewer tokens. Works with Claude Code, Cursor, Windsurf & Copilot.
rails-ai-context auto-introspects your Rails app and provides context to AI assistants via MCP, saving tokens and reducing discovery overhead. It generates context files for multiple AI tools and offers 11 MCP tools with smart detail levels.
#ai#claude#copilot#cursor#developer-tools#introspection#mcp#mcp-servers
01
Features
01Auto-introspection of entire Rails app (schema, models, routes, controllers, etc.)
0211 MCP tools with smart detail levels (summary, standard, full)
03Generates context files for Claude, Cursor, OpenCode, Windsurf, and GitHub Copilot
04Token savings up to 37% (measured benchmark)
05Works without a database by parsing db/schema.rb
02
Compatibility
Rails full-stack (ERB + Hotwire)
Full-stack Rails
Verified via docs
Rails + Inertia.js (React/Vue)
Inertia.js
Verified via docs
Rails API + React/Next.js SPA
API + SPA
Verified via docs
Rails API + mobile app
API + Mobile
Verified via docs
Rails engine (mountable gem)
Engine
Verified via docs
03
Quick start
1
$ bundle add rails-ai-context
2
$ rails generate rails_ai_context:install
3
$ rails ai:context
04
Use cases
↳Adding features to existing Rails apps with AI assistants
↳Rapid onboarding of AI tools to a Rails codebase
↳Reducing token consumption in AI-assisted development
05
Alternatives
Context7★ 56.4k
MCP Server that provides up-to-date code documentation for LLMs and AI code editors.
awesome-cursorrules★ 39.8k
📄 Configuration files that enhance Cursor AI editor experience with custom rules and behaviors
FunASR★ 16.6k
Industrial-grade speech recognition toolkit: 170x realtime, 50+ languages, speaker diarization, emotion detection, streaming, and OpenAI-compatible API.
context-mode★ 16.0k
Context window optimization for AI coding agents. Sandboxes tool output, 98% reduction. 12 platforms
Related searches
Comments
Log in to leave a comment
- RRobin JacksonMay 23, 2026
Zero-config is accurate — works with standard Rails conventions without setup.
- JJesse DavisMay 18, 2026
Zero-config Rails app introspection via MCP — 28 tools for automatic app exposure.
- MMorgan LewisMay 12, 2026
AI gains understanding of routes, models, and controllers automatically.
- RRiver ZhangMar 19, 2026
Good for Rails developers who want AI coding assistance that understands their app.