Back to directory

rails-ai-context

A Ruby gem that gives AI coding assistants ground truth about a Rails application's schema, models, routes, controllers and conventions, so they stop guessing from training data.

rails-ai-context

rails-ai-context exposes 45 read-only tools over MCP or the command line, covering the live schema, model associations, routes, controllers, views, Stimulus and Turbo usage, background jobs, services, mailers, i18n, gems, configuration and tests, so an assistant can check the real state of the application instead of inventing an association or a method that does not exist.

It installs with gem install rails-ai-context and does not require adding anything to the Gemfile; running rails-ai-context init inside a Rails app also works on an app that will not boot, by passing a no-boot flag that answers every tool from the source files instead. It works with Claude Code, Cursor, GitHub Copilot, OpenCode and Codex CLI, and can generate matching context files for each.

It is written in Ruby.

More in MCP servers

See all 734
  • Light Cloud

    light-cloud.com

    A hosting platform that deploys a static site, a container, or a managed Postgres database straight from a GitHub, GitLab, or Bitbucket push, with a preview URL for every branch and an MCP server for deploying from Claude Code.

  • ForensicDbg

    forensicdbg.com

    A post-mortem debugger for native Windows x86 and x64 crashes, with an MCP interface so AI tools can consume crash-dump analysis directly.

  • Karada.ai

    karada.ai

    A CI/CD platform that auto-compiles existing APIs into Go MCP servers, attaches composable middleware, and exposes them through one gateway usable from Cursor, Claude Code, and Windsurf.