MCP server
Rail
Budgets, propose-then-approve, and receipts for agents that buy for a human. Dry-run by…
Runs locallyStatus and history
- Pricing
- Open source
- Runs
- Locally
- Version
- 0.1.1
- Listing updated
- 5 days ago
About Rail
Rail is an open-source MCP server. It runs locally on your machine and is started by your AI client.
Budgets, propose-then-approve, and receipts for agents that buy for a human. Dry-run by default.
Install
Run in a terminal
claude mcp add rail-mcp -- npx -y rail-mcpAdd to claude_desktop_config.json
{
"mcpServers": {
"rail-mcp": {
"command": "npx",
"args": [
"-y",
"rail-mcp"
]
}
}
}Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"rail-mcp": {
"command": "npx",
"args": [
"-y",
"rail-mcp"
]
}
}
}Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:
Add to .vscode/mcp.json
{
"servers": {
"rail-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"rail-mcp"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"rail-mcp": {
"command": "npx",
"args": [
"-y",
"rail-mcp"
]
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"rail-mcp": {
"command": "npx",
"args": [
"-y",
"rail-mcp"
]
}
}
}Using several servers? Build one config file with the MCP config generator.
Configuration
RAIL_DATA_DIRDirectory for the local ledger (budget, proposals, receipts). Defaults to ~/.rail in the user home directory. Set to override.
Pricing
Open source
Rail FAQ
Is Rail free?
Yes. Rail is open source, so you can use and self-host it for free.
How do I add Rail to Claude Code?
Run this command in your terminal: claude mcp add rail-mcp -- npx -y rail-mcp
Where this comes from
- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.