polystrike
This server is the Polystrike MCP API for Polymarket tweet-count markets: it exposes live counters, forecasts, trading signals, portfolio analysis, and health checks, with free-tier read-only tools and PRO-key-only analytics.
get_market_metadata — Get live counters (Polystrike, XTracker, Polymarket UI) plus deltas for active Elon/Ted Cruz/Trump tweet-count markets; free.
get_recent_tweets — Fetch recent captured posts per account, showing which count toward active markets; free tier returns latest 15, PRO raises limits.
get_predictions — Get Monte Carlo forecast data for active markets; free tier is limited, PRO adds percentiles, bucket probabilities, and posting velocity.
get_trading_signals — Get BUY/SELL recommendations with Kelly-criterion bet sizing; requires PRO API key.
get_crypto_metadata — Get metadata for tracked crypto prediction markets; free, may be empty.
analyze_portfolio — Analyze a Polymarket wallet’s Elon-market positions with EV assessment; requires PRO key.
get_rebalancing_recommendations — Get ADD_MORE/TRIM actions with USD amounts for an Elon-market wallet; requires PRO key and bankroll.
check_health — Confirm the API is up and responding; free, no key required.
Polymarket Tweet Count API — Examples
Code examples for the Polystrike API: live tweet counters for Polymarket's Elon Musk and Ted Cruz tweet-count markets.
The free tier needs no key (100 requests/hour). One call gets you three counters per active market — Polystrike's independent 60-second count, the official XTracker settlement count, and the count shown on Polymarket's UI — plus the deltas between them:
curl https://polystrike.xyz/api/v1/meta/elon{
"timestamp": 1783363631650,
"data": [
{
"event_id": 666466,
"event_title": "Elon Musk # tweets July 6 - July 8, 2026?",
"polymarket_xtracker_counter": 41,
"real_counter": 44,
"polymarket_ui_counter": 41,
"settlement_delta": 3,
"display_delta": 3,
"internal_delta": 0
}
]
}Examples
Example | What it does |
Poll both accounts, print counters + deltas (stdlib only) | |
Same in TypeScript / Node 18+ | |
Connect Claude Desktop to the hosted MCP server | |
Local MCP server over the public REST API (Node 20+) |
Related MCP server: twscrape-twitter-mcp
Local MCP server
mcp-server/server.js is a stdio MCP server that wraps the
public REST API — the same tools as the hosted server, runnable locally:
npm install && node mcp-server/server.jsFree-tier tools need no key; free counters are delayed 30 minutes (every response says so in
freshness_delay_sec). Set POLYSTRIKE_API_KEY to a Data key ($29/month, USDC on Polygon or
Base, see https://polystrike.xyz/#pricing) for live counters, the WebSocket feed, full post
archive, counter and price history, and bulk parquet.
Endpoints used
GET /api/v1/meta/elon— Elon Musk markets (free)GET /api/v1/meta/cruz— Ted Cruz markets (free)GET /api/v1/meta/{account}/tweets— recent tweet stream (free: last 15)
Full reference: API docs · OpenAPI spec · MCP setup guide
Notes on the data
The XTracker oracle is the settlement authority — Polymarket pays out on its number. Polystrike measures it faster (60s vs ~5min) but does not replace it.
Deleted tweets stay in Polystrike's count if captured before deletion; a
settlement_deltadriven by a deletion is not a real edge.These are measurement tools, not a promise of profit.
MIT licensed.
Available Tools
8 toolsanalyze_portfolioAnalyze wallet portfolioA
Analyze a Polymarket wallet's open positions across the active Elon tweet-count markets, with a model-based expected-value assessment per position. Elon markets only. Requires a PRO API key (POLYSTRIKE_API_KEY environment variable); fails with HTTP 402 without one. Read-only: it inspects publicly visible positions and returns analysis — it never places or modifies orders.
Inputs: wallet (required), bankroll.
check_healthCheck API healthA
Check that the Polystrike API is up and responding; returns a status payload with a server timestamp. Free tier, no API key required. Use to verify connectivity before assuming other tools are failing for data reasons.
Inputs: no named parameters.
get_crypto_metadataGet crypto market metadataA
Get metadata for Polystrike's tracked crypto prediction markets (market IDs and basic market info). Free tier, no API key required. The data array is empty when no crypto markets are currently tracked. For the main tweet-count markets use get_market_metadata.
Inputs: no named parameters.
get_market_metadataGet tweet-count market metadataA
Get live metadata for the active Polymarket tweet-count markets of one tracked account. Returns one entry per active market with its event_id, title, and three live counters: real_counter (Polystrike's independent 60-second count), polymarket_xtracker_counter (the official XTracker count that settlement pays out on), and polymarket_ui_counter (the number shown in Polymarket's UI), plus the deltas between them (deltas are null while an event is warming up). Free tier, no API key needed. Call this first to discover active markets and event IDs before using get_predictions or get_trading_signals. Read-only; makes a single HTTPS request to polystrike.xyz.
Inputs: account (required).
get_predictionsGet market predictionsA
Get Monte Carlo forecast data for the active tweet-count markets of a tracked account. The free tier (no key) returns a limited view; a PRO key (POLYSTRIKE_API_KEY environment variable) adds forecast percentiles (p5/p50/p95), per-bucket model probabilities, and posting velocity/sleep-schedule fields. Use this for market analysis; for concrete buy/sell recommendations use get_trading_signals instead. Read-only.
Inputs: account (required).
get_rebalancing_recommendationsGet rebalancing recommendationsA
Get concrete rebalancing actions (ADD_MORE or TRIM, with USD amounts) for a Polymarket wallet's positions in the active Elon tweet-count markets, based on current model signals. Only positions whose suggested adjustment exceeds the threshold are returned. Elon markets only. Requires a PRO API key (POLYSTRIKE_API_KEY environment variable); fails with HTTP 402 without one. Read-only — returns recommendations, never executes trades.
Inputs: wallet (required), bankroll (required), threshold.
get_recent_tweetsGet recent postsA
Get the most recent captured posts for a tracked account, newest first, with per-post metadata including whether each post counts toward the active tweet-count markets. Use it to understand posting pace and to verify what is being counted. The free tier returns the latest 15 posts and ignores pagination; with a PRO key (POLYSTRIKE_API_KEY environment variable) limit can go up to 100 and offset paginates. Read-only.
Inputs: account (required), limit, offset.
get_trading_signalsGet trading signalsA
Get actionable BUY/SELL signals with Kelly-criterion bet sizing for a tracked account's tweet-count markets. Each signal carries its strategy context, e.g. BUY TWO_BUCKET (predicted bucket plus lower adjacent) or BUY SINGLE_BUCKET (high-conviction single bet), and a suggested stake for the given bankroll. Requires a PRO API key in the POLYSTRIKE_API_KEY environment variable; without one the call fails with HTTP 402 and an explanatory message. Informational only — this tool never places orders and is not financial advice.
Inputs: account (required), bankroll, only_with_signals.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 8 tools
Each tool targets a distinct aspect: predictions, metadata, tweets, signals, crypto metadata, portfolio analysis, rebalancing, and health. No two tools have overlapping purposes.
All tools use snake_case with verb_noun pattern (mostly 'get_'), but 'check_health' uses a different verb. Still highly consistent and predictable.
8 tools is well-scoped for a specialized prediction market API, covering all necessary operations without bloat.
Covers all key operations: discovery, forecasting, signals, portfolio analysis, rebalancing, and health. Intentionally read-only, so no gaps for its stated purpose.
Maintenance
Related MCP Connectors
Real-time Twitter (X) advanced search, user timelines, profiles & followers MCP ($0.03/1K tweets).
Official twitterapi.io hosted MCP: Twitter/X tweets, users, followers, trends. OAuth or API key.
X/Twitter reads, search, monitors and posting. Pay-per-call in USDC — no signup, no API keys.
Read-only MCP server for live Polymarket, Kalshi, Limitless odds; Manifold sentiment.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceRemote MCP / x402 / USDC / Base / Solana / OpenAPI / Google ADK / Gemini Xcatcher is an agent-first Remote MCP server (Streamable HTTP) for high-throughput crawling of fresh/latest posts across large sets of X (Twitter) usernames. It supports x402 pay-as-you-go top-ups using USDC on Base and Solana.9MIT
- AlicenseAqualityBmaintenanceMCP server to read X (Twitter) posts, threads, replies, quotes, and search using your own logged-in session, no API key required.852 PyPI4MIT
- AlicenseNot gradedqualityDmaintenanceTwitter/X MCP server for the API v2, enabling users to manage profiles, posts, likes, retweets, and follows through natural language using a stateless Streamable HTTP transport with OAuth user access token authentication.MIT
- AlicenseNot gradedqualityBmaintenanceLive X/Twitter search and AI trend digests without an API key, charging per call in USDC via x402. Enables real-time tweet search and AI summaries inside MCP clients.51 npm1MIT