About Polyrama
Polyrama is an MCP server adapter for assistants researching prediction markets on Polymarket and Kalshi. Its typed tools cover market data, public Polymarket traders, signals, backtests, and paper-only orders; it does not provide live-order tools.
Key features
- 01Search and inspect live markets
- 02Analyze public Polymarket wallets
- 03Read market signals
- 04Run historical strategy backtests
- 05Record paper-only trades
Use cases
- 01Research markets on Polymarket and Kalshi
- 02Review a public trader's positions and performance
- 03Monitor whale, price-spike, and mispricing signals
- 04Test a strategy or record a simulated trade
MCP support
The MCP adapter exposes ten typed tools to MCP-compatible assistants and connects to the Polyrama API using an API token. It has no live-order tool and cannot submit exchange orders or move funds.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
npx -y @polyrama/mcpPOLYRAMA_API_TOKENSecretPolyrama API token created at polyrama.io/apiLocal servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.
Tools
10Saved tool list · updated 3w ago
| Parameter | Type | Required | Description |
|---|---|---|---|
| sort | enum | No | volume_24h | spread | yes_no_sum | yes_mid | change_1h | change_24h | trending | end_date_iso | updated_at |
| limit | number | No | |
| query | string | No | Case-insensitive question or slug search. |
| offset | number | No | |
| priceMax | number | No | |
| priceMin | number | No |
Details
From the project READMEPolyrama MCP Server
The official Model Context Protocol server for Polyrama, the real-time terminal for prediction markets. It gives MCP-compatible assistants ten typed tools for researching Polymarket and Kalshi markets, analyzing public Polymarket wallets, reading signals, and running paper-only workflows.
This repository contains only the public MCP adapter. The Polyrama application, trading engine, backend, deployment configuration, and private credentials remain private.
Prerequisites
- Node.js 20 or newer
- A Polyrama API token from polyrama.io/api
Pass the token through your MCP client's environment settings. Never commit it to a repository, paste it into an issue, or include it in screenshots and logs.
Run with npx
You do not need a global installation. Use npx in any stdio-compatible MCP client.
Claude Desktop
{
"mcpServers": {
"polyrama": {
"command": "npx",
"args": ["-y", "@polyrama/mcp"],
"env": {
"POLYRAMA_API_TOKEN": "<your-token>"
}
}
}
}
Claude Code
claude mcp add polyrama --env POLYRAMA_API_TOKEN=<your-token> -- npx -y @polyrama/mcp
Codex
[mcp_servers.polyrama]
command = "npx"
args = ["-y", "@polyrama/mcp"]
[mcp_servers.polyrama.env]
POLYRAMA_API_TOKEN = "<your-token>"
Cursor, Windsurf, Cline, Goose, Zed, OpenClaw, and other stdio MCP clients use the same command and environment variable.
Tools
| Tool | Purpose | Scope |
|---|---|---|
polyrama_search_markets | Search live Polymarket and Kalshi markets | read |
polyrama_get_market | Inspect one market by token id | read |
polyrama_top_traders | Rank public Polymarket wallets | read |
polyrama_get_trader | Read one wallet's positions and performance | read |
polyrama_refresh_trader | Refresh one public wallet | write:paper |
polyrama_recent_signals | Read whales, jolts, spikes, and mispricing signals | read |
polyrama_list_bots | List configured bots and status | read |
polyrama_state_snapshot | Read the full dashboard state | read |
polyrama_run_backtest | Run a historical strategy backtest | write:paper |
polyrama_place_paper_order | Record a paper-only trade | write:paper |
The public MCP package has no live-order tool and never calls a live-order endpoint. It cannot move funds or submit an exchange order.
Environment variables
| Variable | Required | Default |
|---|---|---|
POLYRAMA_API_TOKEN | Yes | — |
POLYRAMA_API_URL | No | https://polyrama.io |
POLYRAMA_REQUEST_TIMEOUT_MS | No | 30000 |
POLYRAMA_API_URL is intended for Polyrama development and staging deployments.
Development
npm ci
npm run check
npm pack --dry-run
See CONTRIBUTING.md before opening a pull request. Security reports should follow SECURITY.md.
Links
Disclaimer
Polyrama is for research and informational use only, not financial advice. Prediction markets involve risk. Review source data and venue rules before acting on any result.
License
MIT © 2026 Polyrama contributors
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.