npm @polyrama/mcpstdioMITupdated 21d ago
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.
What can you do with Polyrama?
Polyrama 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
Install
Add Polyrama to your client. Pick the one you use.
claude mcp add mcp -- npx -y @polyrama/mcpcodex mcp add mcp -- npx -y @polyrama/mcpamp mcp add mcp -- npx -y @polyrama/mcp{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@polyrama/mcp"
]
}
}
}Add to `claude_desktop_config.json`, then restart Claude Desktop.
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@polyrama/mcp"
]
}
}
}Add to `~/.cursor/mcp.json`, or `.cursor/mcp.json` for a single project.
code --add-mcp '{"name":"mcp","command":"npx","args":["-y","@polyrama/mcp"]}'Or add the block manually to `.vscode/mcp.json` under `servers`.
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@polyrama/mcp"
]
}
}
}Add to `~/.codeium/windsurf/mcp_config.json`.
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@polyrama/mcp"
]
}
}
}Add to `cline_mcp_settings.json` via the MCP Servers panel.
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@polyrama/mcp"
]
}
}
}Add to `~/.gemini/settings.json`.
{
"mcpServers": {
"mcp": {
"type": "local",
"command": "npx",
"args": [
"-y",
"@polyrama/mcp"
],
"tools": [
"*"
]
}
}
}Add to `~/.copilot/mcp-config.json`, or run `/mcp add` inside the CLI.
{
"context_servers": {
"mcp": {
"command": {
"path": "npx",
"args": [
"-y",
"@polyrama/mcp"
]
}
}
}
}Add to your Zed `settings.json`.
npx -y @polyrama/mcpRun `goose configure`, choose **Add Extension → Command-line Extension**, and paste this command.
10 tools
Polyrama exposes 10 tools to a connected agent.
- polyrama_search_markets
- Search live Polymarket and Kalshi markets
- polyrama_get_market
- Inspect one market by token id
- polyrama_top_traders
- Rank public Polymarket wallets
- polyrama_get_trader
- Read one wallet's positions and performance
- polyrama_refresh_trader
- Refresh one public wallet
- polyrama_recent_signals
- Read whales, jolts, spikes, and mispricing signals
- polyrama_list_bots
- List configured bots and status
- polyrama_state_snapshot
- Read the full dashboard state
- polyrama_run_backtest
- Run a historical strategy backtest
- polyrama_place_paper_order
- Record a paper-only trade
Score
77 / 100
Good
- Documentation22/25
- Maintenance19/25
- Trust16/20
- Capability8/15
- Install experience12/15
- Documents what it does and how to connect
- Has a resolvable package or endpoint
- Exposes at least one tool, prompt or resource
- README has substantive content
- Includes a code example
- Documents its configuration
- Mentions credentials or security posture
- Last commit 13 days ago
- Has a release history
- Repository is not archived
- Licensed MIT
- Namespace verified in the official MCP registry
- Claimed by its owner
- Published under an organisation
- 10 tool(s) documented
- Provides prompt templates
- Provides resources
- 12 documented install method(s)
- Published to a package registry
- Offers a hosted endpoint — no local install
Version history
| Versions | Published |
|---|---|
| 1.0.1Latest | Aug 18, 2026 |