AgentIndex icon
AgentIndex
ToolsMCP ServersHOTCategoriesTrendingNewBest ListsCompareGuides
Submit Tool
ToolsMCP ServersHOTCategoriesTrendingNewBest ListsCompareGuides
Home/
Code Assistant/
rails-ai-context
rails-ai-context logo

rails-ai-context

Active·★ 165·MIT·Updated 2026-10-21

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
$ Install
$ bundle add rails-ai-context && rails generate rails_ai_context:install && rails ai:context
↗ Visit site★ GitHub
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

⚡Top VS:
VScodeTree★30→VScoplay-unity-plugin★164→VSCtxo★72→VSagent-shadow-brain★38→
codeTree logo
codeTree★ 30
MCP server with 23 tools for structured code understanding via tree-sitter. 10 languages. 999 tests. One-command install.
VSCompare→
coplay-unity-plugin logo
coplay-unity-plugin★ 164
Unity plugin for Coplay
VSCompare→
Ctxo logo
Ctxo★ 72
MCP server for AI coding agents. Instead of reading files one by one, your agent gets dependency graphs, git intent, blast radius, and change health in a single call. Works with any language deep analysis for TypeScript, Go, and C#.
VSCompare→
agent-shadow-brain logo
agent-shadow-brain★ 38
🧠 v6.0 Hive Mind — One open-source brain every AI coding agent can share (Claude Code, Cursor, Cline, Codex, Copilot, Windsurf). 22 novel features. Free. Local-first. MIT.
VSCompare→
AiDex logo
AiDex★ 46
MCP Server for persistent code indexing. Gives AI assistants (Claude, Gemini, Copilot, Cursor) instant access to your codebase. 50x less context than grep.
VSCompare→
code-context-engine logo
code-context-engine★ 435
Save 94% on AI coding tokens. Index your codebase, agents search instead of reading files. Works with Claude Code, Codex, Copilot, Cursor, Gemini CLI. Local MCP server, free, open source.
VSCompare→
bricks-mcp-open logo
bricks-mcp-open★ 92
The most comprehensive open-source MCP server for Bricks Builder — 105 tools for pages, templates, styles, SEO, content, and more.
VSCompare→
testrail-mcp-server logo
testrail-mcp-server★ 44
AI-native MCP server connecting Claude, Cursor, Windsurf, and other AI assistants to TestRail — manage test cases, runs, and results through natural-language conversation, with typed schemas built for LLMs.
VSCompare→
See all alternatives →

Comments

Log in to leave a comment

No comments yet. Be the first!

On this page
01Features02Compatibility03Quick start04Use cases05Alternatives
crisnahine /
rails-ai-context
↗

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.

165MIT
Last commit1d ago
StatusActive
CategoryCode Assistant
Links
Documentation↗Discussion↗Issues↗Releases↗
Cloud Infrastructure
Ad

Deploy on DigitalOcean

Host your MCP servers, Docker containers, and AI agents with $200 free credit over 60 days.

Claim $200 Free Credit
© 2026 AgentIndex.app|Built by a 10-year iOS Developer.
Best by use caseAboutContactAdvertisePrivacy PolicyTerms of UseQYSGitHubBuy me a coffee ☕

Browse by Category

MCP ServersCode AssistantWorkflow AutomationRAG / Knowledge BaseMulti-AgentBrowser AutomationLLM InfraDev ToolingObservability

Not affiliated with Anthropic, OpenAI or Microsoft.