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.


mcp-name: io.github.orcalayer/orcalayer-mcp

Release files for orcalayer-mcp 0.3.1

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.1
File Size Uploaded
orcalayer_mcp-0.3.1.tar.gz 21.2 kB Details

Built distribution (wheel)

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

Total release size:35.3 kB

Release files / orcalayer_mcp-0.3.1.tar.gz

Download URL orcalayer_mcp-0.3.1.tar.gz
Size 21.2 kB
Tags Source
SHA-256 checksum
How to use checksums
ad4e66722e99731f3de1a4d1f100a883413790b984f2b9d1ae2c2e33cbc89a36
BLAKE2b-256 checksum
How to use checksums
458891ac170ebce9f5e2e56650101eca1e80e9a08d50b1fb5b12201a4b53ca74
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.1-py3-none-any.whl

Download URL orcalayer_mcp-0.3.1-py3-none-any.whl
Size 14.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
07ca0d6fdcee7485c7c204c5f14a551ae918de405196979678499768e7e87284
BLAKE2b-256 checksum
How to use checksums
eb56c697898e6c68d339462819a3cd9b79c27b9959d9d6a836d3bd0eddf1bc2f
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

This release

0.3.1 This release

2 release files

0.3.0

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