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.2

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.2
File Size Uploaded
orcalayer_mcp-0.3.2.tar.gz 80.7 kB Details

Built distribution (wheel)

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

Total release size:94.9 kB

Release files / orcalayer_mcp-0.3.2.tar.gz

Download URL orcalayer_mcp-0.3.2.tar.gz
Size 80.7 kB
Tags Source
SHA-256 checksum
How to use checksums
b8b907d397f8186b44884013d254d34fd6e13c0878dbabf7807bff2c3245ca84
BLAKE2b-256 checksum
How to use checksums
aba828a29f9505befa458f93db69fede13f7c04765af6dfb03d10e96c57006bd
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.2-py3-none-any.whl

Download URL orcalayer_mcp-0.3.2-py3-none-any.whl
Size 14.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c1e0a58dcba1b5fca3f78ae270015cd79ae93001abeda15d83ee2689915e9915
BLAKE2b-256 checksum
How to use checksums
cac47aa65b53fc2d52167799ecfe8044588cb195359766f50b843f7676d3bd10
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

This release

0.3.2 This release

2 release files

0.3.1

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