Model Context Protocol (MCP) stdio server for Fera Terra C++23 L3 FIFO Polymarket & Hyperliquid order-book backtesting in Claude Code, Cursor & Claude Desktop

mcp-server-feraterra — Polymarket & Hyperliquid Backtesting MCP Server

MCP Server Stdio & C++23 Engine CIPyPI - mcp-server-feraterraPyPI - feraterraLicense: MIT

Model Context Protocol (stdio JSON-RPC 2.0) server giving Claude Code, Cursor, Claude Desktop, and Windsurf direct access to Fera Terra's local C++23 L3 FIFO order-book matching engine (pip install feraterra).

Instead of letting coding agents validate trading bots with naive mid-price fill assumptions, mcp-server-feraterra lets your AI coding agent test Polymarket ($0.001 binary claim books) and Hyperliquid (BTC-PERP, ETH-PERP, SOL-PERP ALO perps) strategies against real resting queue priority, taker sweeps, and cancel-window latency — 100% locally on your machine with zero API keys.

Exposed MCP Tools

Tool Name Description
feraterra_doctor Run <1s preflight diagnostics on the local C++23 Shadow-CLOB engine, Python environment, license tier, and localhost ports.
feraterra_list_crash_packs List deterministic 5-sigma microstructure stress scenarios (polymarket_news_shock, whipsaw_funding_squeeze, flash_crash_5sigma, liquidity_vacuum_cascade).
feraterra_simulate_strategy Run a deterministic C++23 L3 FIFO vs. Naive Paper simulation with configurable scenario, steps, order_latency_ms, cancel_latency_ms, half_spread_ticks, and quote_size_lots. Works free on the $0 Hobby tier.
feraterra_replay_trace Replay any local .trace.jsonl order-book & trade-sweep tape against a custom Python ArenaTwinBot file (bot_path).
feraterra_import_trace Convert historical Tardis.dev book_snapshot_25/trades CSVs (.csv.gz) or Hyperliquid S3 l2Book JSONL archives into .trace.jsonl.

Quick Setup (1-Click Remote HTTP or Local uvx)

Option A: Zero-Install Remote Streamable HTTP (https://mcp.feraterra.app/mcp)

Connect Claude Code or Cursor immediately with zero local install:

claude mcp add --transport http feraterra https://mcp.feraterra.app/mcp

Or in .cursor/mcp.json:

{
  "mcpServers": {
    "feraterra": {
      "url": "https://mcp.feraterra.app/mcp"
    }
  }
}

Option B: Local stdio via uvx (Test Your Own Local Python / Rust / Go Bots)

Add to .cursor/mcp.json or claude_desktop_config.json:

{
  "mcpServers": {
    "feraterra": {
      "command": "uvx",
      "args": [
        "mcp-server-feraterra"
      ]
    }
  }
}

Option C: Claude Code Local stdio CLI

claude mcp add feraterra -- uvx mcp-server-feraterra

Option D: Local pip Install

pip install mcp-server-feraterra
mcp-server-feraterra

Glama MCP Server Listing & Online Inspector

View to:

  • Browse the server's exposed tools, schemas, and quality score.
  • Test the server online using the .

Links

MCP Server · Populars

    REA: Reverse Engineer Anything

    Reverse engineer anything, Reimagine everything. RE anything from app behavior down to native binaries. Discord: https://discord.gg/GkcryMnJDM

    Community morluto

    🦞 OpenClaw — Personal AI Assistant

    Your own personal AI assistant. Any OS. Any Platform. The lobster way. 🦞

    Community openclaw

    MarkItDown-MCP

    An MCP server for the "markitdown" library.

    Community microsoft

    MarkItDown

    Python tool for converting files and office documents to Markdown.

    Community microsoft

    graphify

    Turn any codebase, with its docs, SQL schemas, configs, and PDFs, into a queryable knowledge graph. A /graphify skill for Claude Code, Cursor, Codex, and Gemini CLI: local deterministic AST parsing, every edge explained, no vector store.

    Community Graphify-Labs

MCP Server · New

    tokensave-dev

    tokensave-cli

    The TokenSave CLI, which indexes a repository into a code graph and serves it to AI coding agents over MCP.

    Community tokensave-dev
    ordewell

    ordewell

    Open source agent orchestrator. One goal becomes an editable plan of tasks that run in parallel on Claude Code, Codex, OpenCode and more, each on its own git branch.

    Community ordewell
    goodnight000

    api-anything

    Turn any website into an API your agent can call. Learns from the site's own frontend, heals itself when the site changes.

    Community goodnight000
    shuttle-browser

    Shuttle

    A Chromium fork built for AI agents: built-in MCP server, per-agent logged-in identities, sessions as tab groups

    Community shuttle-browser
    synectus

    OpenGMB

    Open-source Google Business Profile manager: reviews, posts, profile edits, rank tracking and keyword research for every location, with approval rules before anything goes live and an MCP server for AI agents. Self-host with Docker.

    Community synectus