# Tidewave Rails

Connects coding agents to a live Ruby on Rails application over HTTP. Lets models evaluate code in runtime, query databases, and resolve method locations.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed · ★ 476
- Author: tidewave-ai
- License: Apache-2.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/tidewave-ai/tidewave_rails
- Updated: 2026-09-15
- HTML: https://affpapa.org/en/nevibecode/mcp/tidewave-rails

## What it does

This server connects coding agents to your running Rails development process via HTTP. Through the `project_eval` tool, the agent runs Ruby snippets inside the application context, inspecting memory state and standard output. The `execute_sql_query` tool lets the model inspect database records directly by running SQL against the development database.

For code navigation, `get_source_location` returns the file and line number for classes and methods. It inspects running Ruby objects, so it resolves metaprogrammed methods and gem code without grepping. The `get_docs` tool fetches reference manuals locked to the exact gem versions defined in `Gemfile.lock`.

Tidewave Rails enforces development-only usage: it raises an error whenever code reloading is disabled. By default, incoming connections are accepted strictly from `localhost`.

## Install

### Claude Code (native platform)

**Install**
- The MCP registry has no launch command for it: see the repository README

## When to use it
- evaluate Ruby expressions inside the live application context
- query the development database using direct SQL statements
- locate definitions for metaprogrammed methods across gems and project files
- fetch documentation locked to specific versions in Gemfile.lock

## Example prompts
- Run User.count in the running application and show the return value
- Execute a SQL query to check recent entries in orders
- Find the exact file and line where authenticate_by is defined

## Similar
- [MCP Toolbox for Databases](https://affpapa.org/en/nevibecode/mcp/googleapis-mcp-toolbox-for-databases.md) — MCP server · ★ 16717
- [PostHog MCP Server](https://affpapa.org/en/nevibecode/mcp/posthog-mcp-server.md) — MCP server · ★ 40409
- [OpenWork MCP Gateway](https://affpapa.org/en/nevibecode/mcp/openwork-mcp-gateway.md) — MCP server · ★ 24242
- [Keploy](https://affpapa.org/en/nevibecode/mcp/keploy.md) — MCP server · ★ 18727
- [Nhost](https://affpapa.org/en/nevibecode/mcp/nhost.md) — MCP server · ★ 9366
- [basebalance.cloud — x402 RPC & MCP gateway](https://affpapa.org/en/nevibecode/mcp/basebalancecloud-x402-rpc-mcp-gateway.md) — MCP server · ★ 7506

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
