Polyrama MCP Server
Prediction-market research for Polymarket and Kalshi, directly in your AI client.
About
Polyrama is an open-source Model Context Protocol server for researching live prediction markets. It gives compatible AI clients typed tools for Polymarket and Kalshi market search, live odds and spreads, public-wallet analytics, trader leaderboards, whale and mispricing signals, dashboard snapshots, and historical backtests. Its only order-writing workflow records paper trades; the server does not expose a live-order tool.
Security Report
This is a well-structured MCP server with proper authentication, input validation, and secure credential handling. The code demonstrates good security practices including schema validation via Zod, no hardcoded secrets, and appropriate error handling that avoids credential leakage. Permissions align well with the server's purpose of market research and paper trading. Minor quality issues around broad error catch clauses and test coverage do not materially impact security. Package verification found 1 issue.
7 files analyzed · 4 issues found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
Permissions Required
This plugin requests these system permissions. Most are normal for its category.
How to Install
Add this to your MCP configuration file:
{
"mcpServers": {
"polyrama": {
"args": [
"-y",
"@polyrama/mcp"
],
"command": "npx"
}
}
}Getting Started
Once installed, try these example prompts and explore these capabilities:
- 1"Find the most active Polymarket and Kalshi markets right now."
- 2"Show recent whale and market-mispricing signals."
- 3"Compare the top public Polymarket traders by seven-day volume."
- 4"Run a historical backtest for this market and summarize the result."
- 5Tool: `polyrama_search_markets` — Search and rank live prediction markets.
- 6Tool: `polyrama_get_trader` — Inspect one public Polymarket wallet.
- 7Tool: `polyrama_recent_signals` — Retrieve recent market and trader signals.
- 8Tool: `polyrama_run_backtest` — Run a paper strategy against historical data.
Documentation
View on GitHubFrom the project's GitHub README.
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
Reviews
No reviews yet
Be the first to review this server!
More Data & Analytics MCP Servers
Toleno
Freeby Toleno · Developer Tools
Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.
mcp-creator-python
Freeby mcp-marketplace · Developer Tools
Create, build, and publish Python MCP servers to PyPI — conversationally.
MarkItDown
Freeby Microsoft · Content & Media
Convert files (PDF, Word, Excel, images, audio) to Markdown for LLM consumption
MCP Marketplace
Freeby mcp-marketplace · Developer Tools
Search and install MCP servers from inside your AI client.
FinAgent
Freeby mcp-marketplace · Finance
Free stock data and market news for any MCP-compatible AI assistant.
Google Workspace MCP
Freeby Taylorwilsdon · Productivity
Control Gmail, Calendar, Docs, Sheets, Drive, and more from your AI