mcp-server-feraterra
OfficialThis server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
mcp-server-feraterra — Polymarket & Hyperliquid Backtesting MCP Server
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 |
| Run |
| List deterministic 5-sigma microstructure stress scenarios ( |
| Run a deterministic C++23 L3 FIFO vs. Naive Paper simulation with configurable |
| Replay any local |
Related MCP server: Hyperliquid MCP Server
Quick Setup
Option A: One-Line uvx Config (Cursor / Claude Desktop)
Add to .cursor/mcp.json or claude_desktop_config.json:
{
"mcpServers": {
"feraterra": {
"command": "uvx",
"args": [
"--from",
"git+https://github.com/FeraTerra/mcp-server-feraterra.git",
"mcp-server-feraterra"
]
}
}
}Option B: Claude Code CLI
claude mcp add feraterra -- uvx --from git+https://github.com/FeraTerra/mcp-server-feraterra.git mcp-server-feraterraOption C: Local pip Install
pip install "git+https://github.com/FeraTerra/mcp-server-feraterra.git"
mcp-server-feraterraExample Prompts Inside Cursor / Claude Code
"Run
feraterra_simulate_strategyonpolymarket_news_shockat25msvs160mscancel latency and explain why Naive Paper PnL diverges from L3 FIFO PnL.""Write a wider inventory-skewing Polymarket market maker in
my_bot.pyand test it withferaterra_replay_traceuntil cancel-lag snipes drop below 5.""Compare
half_spread_ticks=1vshalf_spread_ticks=3on Hyperliquidwhipsaw_funding_squeezeusing Fera Terra."
Links
Website & Interactive Playground: https://feraterra.app
PyPI (
feraterraC++23 Engine): https://pypi.org/project/feraterra/Polymarket Starter Repo: https://github.com/FeraTerra/polymarket-paper-trading
Hyperliquid Starter Repo: https://github.com/FeraTerra/hyperliquid-backtest-sim
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Research, build, simulate and run trading strategies on Hyperliquid, Base stocks and Polymarket.
Build, backtest and paper-run Hyperliquid strategies from your AI assistant.
Polymarket + Hyperliquid + macro for AI agents. 38 tools, signal backtest, SSE streaming. Free tier.
Honest backtests and paper trading for US options and equities, driven by your agent.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceLocal-first backtesting engine with built-in overfitting detection (PBO, deflated Sharpe, bootstrap CI, walk-forward) and a native MCP server for AI agents to validate trading strategies.4Apache 2.0
- AlicenseNot gradedqualityDmaintenanceEnables Claude Desktop to interact directly with the Hyperliquid decentralized exchange, allowing natural language trading, market analysis, and strategy automation.1MIT
- AlicenseBqualityDmaintenanceEnables auditing and verification of algorithmic trading backtests from coding agents like Claude Code, Cursor, and Windsurf, including look-ahead bias detection, overfitting checks, and sealed audit proof verification.3MIT
- AlicenseAqualityBmaintenanceEnables AI agents to paper-trade on Polymarket against live order books with realistic fees and fill mechanics, including market search, portfolio tracking, and strategy backtesting.33178 PyPI506MIT