Skip to main content

orcalayer-mcp

PyPI MIT License MCP MCP Badge Glama MCP orcalayer-mcp MCP server

Model Context Protocol (MCP) server for the OrcaLayer API — Polymarket whale and market analytics inside Claude Desktop and other MCP clients.

It is a thin stdio wrapper over the orcalayer Python SDK and exposes six tools:

Tool What it does Key
leaderboard Rank smart-money whales by P&L, win rate or volume No
wallet_overview Wallet profit tracking: profile, P&L and win-rate summary No
wallet_positions A wallet's largest open positions No
markets Track smart money flows: search markets where smart whales are accumulating No
market_consensus Smart-money consensus on one market vs its price (head-count + capital-weighted) No
whale_alerts Real-time alerts on profitable wallets: live feed of smart-whale trades Premium

Public tools work anonymously. whale_alerts needs a Premium API key (get one) supplied via the ORCALAYER_API_KEY environment variable.

New (2026-07-22): the Premium SSE stream (/api/public/v1/live/trades) now carries settlement_type (MINT / MERGE / COMPLEMENTARY / null) on every event — live-derived settlement mechanics, shadow-verified 100.000% accurate on MINT/MERGE. It describes how the match settled, not trader intent (~80% of all fills settle as MINT; null = honest refusal, not "not a mint"). Details: the orcalayer://api-reference resource or orcalayer.com/docs/api.

Prompts

Ready-to-use prompts for common analytics scenarios:

Prompt What it does
analyze_wallet Full wallet analysis — smart money or farmer?
find_divergence Markets where smart money disagrees with the current price
hedge_check Whether a wallet's profit was real alpha or a hedge structure
territorial_markets_review Ukraine territorial markets with ISW frontline overlay

In Claude Desktop, pick a prompt from the prompt menu (the + / slash-command picker) — each one orchestrates the tools above for you.

Resources

Read-only context the model can pull directly — no tool call needed:

Resource URI Content
orcalayer://methodology How smart money is filtered from farmers, hedgers and market-makers
orcalayer://glossary Prediction-markets glossary
orcalayer://api-reference OrcaLayer REST API reference (endpoints, auth, rate limits)

Use with Claude Desktop

Add this to your claude_desktop_config.json (%APPDATA%\Claude\claude_desktop_config.json on Windows, ~/Library/Application Support/Claude/claude_desktop_config.json on macOS):

{
  "mcpServers": {
    "orcalayer": {
      "command": "uvx",
      "args": ["orcalayer-mcp"]
    }
  }
}

The public tools work as-is. For the Premium whale_alerts tool, add your API key (get one):

{
  "mcpServers": {
    "orcalayer": {
      "command": "uvx",
      "args": ["orcalayer-mcp"],
      "env": { "ORCALAYER_API_KEY": "sk_orca_your_key_here" }
    }
  }
}

Restart Claude Desktop after editing the config.

License

MIT. See LICENSE.

Data is provided for informational purposes only and is not financial advice.

Release files for orcalayer-mcp 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for orcalayer-mcp 0.3.0
File Size Uploaded
orcalayer_mcp-0.3.0.tar.gz 14.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for orcalayer-mcp 0.3.0
File Interpreter ABI Platform
orcalayer_mcp-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size:28.2 kB

Release files / orcalayer_mcp-0.3.0.tar.gz

Download URL orcalayer_mcp-0.3.0.tar.gz
Size 14.2 kB
Tags Source
SHA-256 checksum
How to use checksums
c21ff91a2cac3b4b8dafb6de718da642bb2ee2b975604d2a629cae4f23c65d8a
BLAKE2b-256 checksum
How to use checksums
ad6f041c1a7893c02d7f014228b26da16860a15a0f804f02a2792dc30efef930
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.24 {"installer":{"name":"uv","version":"0.11.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / orcalayer_mcp-0.3.0-py3-none-any.whl

Download URL orcalayer_mcp-0.3.0-py3-none-any.whl
Size 14.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ce3c106279bc95da5dfb36859436e865d11a83ccaa052318da0cc9b6fdb5a5ab
BLAKE2b-256 checksum
How to use checksums
cc243631e48bca97c605614b93cb89d4703172a65f08929e0516ab0026bde2a2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.24 {"installer":{"name":"uv","version":"0.11.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release history Release notifications | RSS feed

0.3.2

2 release files

0.3.1

2 release files

This release

0.3.0 This release

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.1

2 release files

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page