Skip to content
MCP server

Arbitrage-AnyPrice Quant & Firewall MCP

Read-only MCP server for cross-market prediction spreads, resolution-rule checks

Runs locally

Arbitrage-AnyPrice Quant & Firewall MCP is a freemium MCP server for trading tools. It runs locally on your machine and is started by your AI client.

Pricing
Freemium
Platforms
API, CLI, Self-hosted
Runs
Locally
Version
0.2.0
Listing updated

Similar MCP servers

Install

You install MCP servers on a computer. Send yourself the link.

Add with the CLI

Run in a terminal

claude mcp add arbitrage-anyprice -- docker run -i --rm ghcr.io/pjrpjr/arbitrage-anyprice:0.2.0

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

Or share it with your project

Add to .mcp.json

{
  "mcpServers": {
    "arbitrage-anyprice": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/pjrpjr/arbitrage-anyprice:0.2.0"
      ]
    }
  }
}

Claude Code setup guide

Add to claude_desktop_config.json

{
  "mcpServers": {
    "arbitrage-anyprice": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/pjrpjr/arbitrage-anyprice:0.2.0"
      ]
    }
  }
}

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

Claude Desktop setup guide

Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "arbitrage-anyprice": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/pjrpjr/arbitrage-anyprice:0.2.0"
      ]
    }
  }
}

Use .cursor/mcp.json in a project to share it with the project.

Cursor setup guide

Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to ~/.copilot/mcp-config.json

{
  "mcpServers": {
    "arbitrage-anyprice": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/pjrpjr/arbitrage-anyprice:0.2.0"
      ]
    }
  }
}

Or put the same entry in .mcp.json at your workspace root to share it.

VS Code setup guide

Add with the CLI

Run in a terminal

codex mcp add arbitrage-anyprice -- docker run -i --rm ghcr.io/pjrpjr/arbitrage-anyprice:0.2.0

Or add to config.toml

Add to ~/.codex/config.toml

[mcp_servers.arbitrage-anyprice]
command = "docker"
args = ["run", "-i", "--rm", "ghcr.io/pjrpjr/arbitrage-anyprice:0.2.0"]

Codex setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "arbitrage-anyprice": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/pjrpjr/arbitrage-anyprice:0.2.0"
      ]
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.json

    {
      "mcpServers": {
        "arbitrage-anyprice": {
          "command": "docker",
          "args": [
            "run",
            "-i",
            "--rm",
            "ghcr.io/pjrpjr/arbitrage-anyprice:0.2.0"
          ]
        }
      }
    }

    Or run: gemini mcp add -s user arbitrage-anyprice docker -- run -i --rm ghcr.io/pjrpjr/arbitrage-anyprice:0.2.0

    Antigravity

    Add to ~/.gemini/config/mcp_config.json

    {
      "mcpServers": {
        "arbitrage-anyprice": {
          "command": "docker",
          "args": [
            "run",
            "-i",
            "--rm",
            "ghcr.io/pjrpjr/arbitrage-anyprice:0.2.0"
          ]
        }
      }
    }

    Use .agents/mcp_config.json to add it to one workspace only.

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.json

    {
      "mcpServers": {
        "arbitrage-anyprice": {
          "command": "docker",
          "args": [
            "run",
            "-i",
            "--rm",
            "ghcr.io/pjrpjr/arbitrage-anyprice:0.2.0"
          ]
        }
      }
    }

    On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.json

    {
      "mcpServers": {
        "arbitrage-anyprice": {
          "command": "docker",
          "args": [
            "run",
            "-i",
            "--rm",
            "ghcr.io/pjrpjr/arbitrage-anyprice:0.2.0"
          ]
        }
      }
    }

    Open it from the MCP Servers icon → Configure → Configure MCP Servers.

    Cline setup guide

  • Zed

    Add to Zed settings.json

    {
      "context_servers": {
        "arbitrage-anyprice": {
          "command": "docker",
          "args": [
            "run",
            "-i",
            "--rm",
            "ghcr.io/pjrpjr/arbitrage-anyprice:0.2.0"
          ]
        }
      }
    }

    Open it with zed: open settings file. Merge context_servers into the settings you already have.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

    {
      "mcpServers": {
        "arbitrage-anyprice": {
          "command": "docker",
          "args": [
            "run",
            "-i",
            "--rm",
            "ghcr.io/pjrpjr/arbitrage-anyprice:0.2.0"
          ]
        }
      }
    }

    Junie

    Add to ~/.junie/mcp/mcp.json

    {
      "mcpServers": {
        "arbitrage-anyprice": {
          "command": "docker",
          "args": [
            "run",
            "-i",
            "--rm",
            "ghcr.io/pjrpjr/arbitrage-anyprice:0.2.0"
          ]
        }
      }
    }

    Use .junie/mcp/mcp.json to share it with a project.

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.json

    {
      "mcpServers": {
        "arbitrage-anyprice": {
          "command": "docker",
          "args": [
            "run",
            "-i",
            "--rm",
            "ghcr.io/pjrpjr/arbitrage-anyprice:0.2.0"
          ]
        }
      }
    }

    Use .kiro/settings/mcp.json to add it to one workspace only.

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

Configuration

  • ANYPRICE_DB_PATHOptional path to local SQLite WAL snapshot ledger (default /app/data/ledger.sqlite3)

About Arbitrage-AnyPrice Quant & Firewall MCP

Arbitrage-AnyPrice pulls public pricing data from prediction markets, GPU rental marketplaces and LLM price lists, then scores price gaps after fees, slippage and risk-free carry. Its main safeguard is a resolution-rule check that flags contracts whose settlement wording differs enough to make an apparent spread misleading, so those pairs are held back rather than shown as opportunities.

The same ledger also compares the cost of running open-weight models on rented GPUs against paying per token for hosted models, using VRAM and utilization limits to keep the comparison realistic. Each polling cycle is chained with SHA-256 hashes in a local SQLite database, and a verification command recomputes those digests from stored rows.

The project is aimed at quantitative analysts and engineers who want auditable market data inside their own AI clients. It exposes six read-only tools over stdio or HTTP JSON-RPC, and the hosted version offers pay-per-query access in USDC or monthly subscriptions.

Tools this server provides (6)

Taken from the project documentation; the running server may differ.

From the tool list in its README, going by the names, 3 of 6 tools read data; 3 names don't say.

From the server's own tool labels and tool names; not verified by us.

get_verified_spreadsName suggests: reads
Returns cross-market spreads net of fees and carry.
get_quarantined_trapsName suggests: reads
Lists candidate pairs blocked by the resolution-rule firewall.
get_backtest_summaryName suggests: reads
Summarises historical spread-decay observations.
audit_resolution_equivalence
Audits whether two contracts resolve equivalently.
calculate_gpu_vs_api_arbitrage
Compares GPU compute cost with hosted token pricing.
verify_ledger_integrity
Recomputes ledger hashes to detect row tampering.

What it does

Resolution-rule firewall
Checks whether two contracts settle on equivalent criteria before treating a price gap as real.
Net spread scoring
Deducts venue fees, order-book depth limits and FRED-based carry from gross price differences.
GPU versus API cost comparison
Estimates break-even between renting GPU capacity and paying per token for open-weight models.
Hash-chained ledger
Stores each collection cycle in SQLite with SHA-256 linkage and a verification command.
Six read-only MCP tools
Exposes spreads, quarantined traps, backtests and integrity checks to MCP-compatible clients.

Good for

  • Scan prediction-market contracts for price gaps that survive fee and settlement checks
  • Compare hosted LLM token prices with self-run GPU costs for a given model
  • Give an AI assistant read-only access to cross-market spread data
  • Audit a stored market-data ledger for tampering before using it in analysis

Pricing

Freemium, from $99 a month

Open-source local use; hosted plans from $99/mo or $0.01 per x402 query

Prices change. Check pjrpjr.github.io before you buy.

Arbitrage-AnyPrice Quant & Firewall MCP FAQ

Does Arbitrage-AnyPrice Quant & Firewall MCP place trades?

No. The project describes itself as read-only and does not custody client capital or execute trades on restricted venues.

How do I run the MCP server locally?

Launch the arbitrage-anyprice-mcp command with a path to a local SQLite ledger, or run the container image over stdio and set the optional database path variable.

What does the x402 endpoint charge?

The spreads endpoint returns an HTTP 402 manifest for unpaid requests, with a per-query price of $0.01 in USDC on Base.

Is Arbitrage-AnyPrice Quant & Firewall MCP free?

Arbitrage-AnyPrice Quant & Firewall MCP has a free plan, with paid plans for more usage or features. Paid plans start at $99 a month.

How do I add Arbitrage-AnyPrice Quant & Firewall MCP to Claude Code?

Run this command in your terminal: claude mcp add arbitrage-anyprice -- docker run -i --rm ghcr.io/pjrpjr/arbitrage-anyprice:0.2.0

What are the best alternatives to Arbitrage-AnyPrice Quant & Firewall MCP?

The closest alternatives to Arbitrage-AnyPrice Quant & Firewall MCP are AegisZero prop-firm research, ProofPerps, bckstage, Calder Markets and Alpha Factory by FinzData.

Where this comes from

  • Description: written from the project's README, the project's website and its MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers