github analyzed 060396f

crisnahine/rails-ai-context

github

38 MCP tools that give AI agents live access to your Rails schema, models, routes & conventions. Works with Claude Code, Cursor, Copilot, OpenCode, Codex CLI. Zero config.

maintainer
crisnahine
license
MIT
first seen
2026-06-01
last seen
2026-06-04
releases · 30d
2
short id

Drift inferred · capture-to-capture

No drift recorded — single capability capture; advisories appear once its surface changes.

capabilities38 tools
transport http counts 38 tools · 0 res · 0 prompts permission surface via code analysis

tools

  • analyze_feature

    Full-stack: models + controllers + routes + services + jobs + views + tests

  • dependency_graph

    Model/service dependency graph in Mermaid or text format

  • diagnose

    One-call error diagnosis with classification + context + git + logs

  • generate_test

    Test scaffolding matching your project's patterns

  • get_callbacks

    Callbacks in Rails execution order with source

  • get_component_catalog

    ViewComponent/Phlex: props, slots, previews, sidecar assets

  • get_concern

    Concern methods + source + which models include it

  • get_config

    Database, auth framework, assets, cache, queue, Action Cable

  • get_context

    Composite: schema + model + controller + routes + views in one call

  • get_controllers

    Actions + inherited filters + render map + strong params

  • get_conventions

    Auth checks, flash messages, create action template, test patterns

  • get_edit_context

    Method-aware code extraction with class context

  • get_env

    Environment variables + credentials keys (not values)

  • get_frontend_stack

    React/Vue/Svelte/Angular, Hotwire, TypeScript, package manager

  • get_gems

    Notable gems with versions, categories, config file locations

  • get_helper_methods

    App + framework helpers with view cross-references

  • get_job_pattern

    Queue, retries, guard clauses, broadcasts, schedules

  • get_model_details

    AST-parsed associations, validations, scopes, enums, macros - each result tagged [VERIFIED] or [INFERRED]

  • get_partial_interface

    What locals to pass + what methods are called on them

  • get_routes

    Code-ready helpers (post_path(@record)) + required params

  • get_schema

    Columns with indexed/unique/encrypted/default hints

  • get_service_pattern

    Interface, dependencies, side effects, callers

  • get_stimulus

    HTML data-attributes (dashes!) + targets + values + actions

  • get_test_info

    Fixtures + relationships + test template matching your patterns

  • get_turbo_map

    Broadcast → subscription wiring + mismatch warnings

  • get_view

    Templates with ivars, Turbo wiring, Stimulus refs, partial locals

  • migration_advisor

    Migration code generation with reversibility + affected models

  • onboard

    Narrative app walkthrough (quick/standard/full)

  • performance_check

    N+1 risks, missing indexes, counter_cache, eager load candidates

  • query

    Safe read-only SQL with timeout, row limit, column redaction

  • read_logs

    Reverse file tail with level filtering and sensitive data redaction

  • review_changes

    PR/commit review with per-file context + warnings

  • runtime_info

    Live DB pool, table sizes, pending migrations, cache stats, queue depth

  • search_code

    Trace: definition + source + callers + tests. Also: definition, call, class filters

  • search_docs

    Bundled topic index with weighted keyword search

  • security_scan

    Brakeman static analysis - SQL injection, XSS, mass assignment

  • session_context

    Session-aware context tracking across tool calls

  • validate

    Syntax + semantic + Brakeman security in one call

code evidencevv5.11.1 · github-tarball
evidence-backed findings quoted directly from the published source artifact — not inferred

declared dependencies 16

  • @hotwired/turbo-rails@^8.0.0
  • @hotwired/stimulus@^3.2.0
  • react@^19.0.0
  • react-dom@^19.0.0
  • @inertiajs/react@^2.0.0
  • vite-plugin-ruby@^5.0.0
  • zustand@^5.0.0
  • openapi-typescript@^6.0.0
  • @graphql-codegen/cli@^5.0.0
  • vite@^6.0.0
  • @vitejs/plugin-react@^4.0.0
  • vitest@^4.0.0
  • @playwright/test@^1.50.0
  • typescript@^5.5.0
  • @testing-library/react@^16.0.0
  • orval@^6.0.0