About Dr Manhattan
Dr Manhattan is an MCP server published by guzus in the AI category: cCXT for prediction markets · #1 Open Source for Market-making, Trading, Data Analysis on Polymarket & Kalshi & Limitless & Opinion & Predictfun & etc. Conduid read 30 tools from its source: calculate_nav, cancel_all_orders, cancel_order, create_order, create_strategy_session, fetch_balance and 24 more. It is published to PyPI as dr-manhattan and runs with uvx.
The repository has 206 stars and 36 forks, and its last commit was on 18 Jul 2026. The latest release is 0.0.1 (7 Dec 2025). It is the only release Conduid has on record for this repository. It passes 4 of the 6 static checks Conduid ran on the repository; it does not pass License declared and Scoped permissions. Its topics include opinion, arbitrage, prediction-markets, market-making, kalshi and limitless.
Install
uvx dr-manhattanpip install dr-manhattangit clone https://github.com/guzus/dr-manhattanTools (30)
calculate_navCalculate Net Asset Value| Parameter | Type | Description |
|---|---|---|
| exchange * | string |
cancel_all_ordersCancel all open orders| Parameter | Type | Description |
|---|---|---|
| exchange * | string | |
| market_id | string |
cancel_orderCancel an existing order| Parameter | Type | Description |
|---|---|---|
| exchange * | string | |
| market_id | string | |
| order_id * | string |
create_orderCreate a new order (requires credentials)| Parameter | Type | Description |
|---|---|---|
| exchange * | string | |
| market_id * | string | |
| outcome * | string | Outcome (Yes, No, etc.) |
| params | object | |
| price * | number | |
| side * | string | |
| size * | number |
create_strategy_sessionCreate a new strategy session| Parameter | Type | Description |
|---|---|---|
| exchange * | string | |
| market_id * | string | |
| params | object | |
| strategy_name * | string |
fetch_balanceFetch account balance| Parameter | Type | Description |
|---|---|---|
| exchange * | string |
fetch_marketFetch a specific market by ID| Parameter | Type | Description |
|---|---|---|
| exchange * | string | |
| market_id * | string | Market identifier |
fetch_marketsFetch ALL markets with pagination (slow, 100+ results). Use search_markets instead to find specific markets by name.| Parameter | Type | Description |
|---|---|---|
| exchange * | string | Exchange name |
| limit | integer | Max markets to return (default: 100, max: 500) |
| offset | integer | Pagination offset (default: 0) |
| params | object | Optional filters |
fetch_markets_by_slugFetch markets by slug or URL (Polymarket, Limitless)| Parameter | Type | Description |
|---|---|---|
| exchange * | string | |
| slug * | string | Market slug or full URL |
fetch_open_ordersFetch open orders| Parameter | Type | Description |
|---|---|---|
| exchange * | string | |
| market_id | string |
fetch_orderFetch a specific order by ID| Parameter | Type | Description |
|---|---|---|
| exchange * | string | |
| order_id * | string |
fetch_positionsFetch all positions| Parameter | Type | Description |
|---|---|---|
| exchange * | string |
fetch_positions_for_marketFetch positions for a specific market| Parameter | Type | Description |
|---|---|---|
| exchange * | string | |
| market_id * | string |
fetch_token_idsGet token IDs for a market| Parameter | Type | Description |
|---|---|---|
| exchange * | string | |
| market_id * | string |
find_crypto_hourly_marketFind hourly crypto prediction markets| Parameter | Type | Description |
|---|---|---|
| exchange * | string | |
| symbol * | string | Crypto symbol (BTC, ETH) |
find_tradeable_marketFind a tradeable market for an outcome| Parameter | Type | Description |
|---|---|---|
| exchange * | string | |
| market_id * | string | |
| outcome * | string |
get_best_bid_askGet best bid and ask prices| Parameter | Type | Description |
|---|---|---|
| exchange * | string | |
| token_id * | string |
get_exchange_infoGet exchange metadata and capabilities| Parameter | Type | Description |
|---|---|---|
| exchange * | string | Exchange name (polymarket, opinion, limitless) |
get_orderbookGet orderbook for a token| Parameter | Type | Description |
|---|---|---|
| exchange * | string | |
| token_id * | string | Token ID |
get_strategy_metricsGet strategy performance metrics| Parameter | Type | Description |
|---|---|---|
| session_id * | string |
get_strategy_statusGet strategy session status| Parameter | Type | Description |
|---|---|---|
| session_id * | string |
get_tag_by_slugGet Polymarket tag information| Parameter | Type | Description |
|---|---|---|
| slug * | string |
list_exchangesList all available prediction market exchangeslist_strategy_sessionsList all strategy sessionsparse_market_identifierParse market slug from URL| Parameter | Type | Description |
|---|---|---|
| identifier * | string |
pause_strategyPause a strategy session| Parameter | Type | Description |
|---|---|---|
| session_id * | string |
resume_strategyResume a paused strategy session| Parameter | Type | Description |
|---|---|---|
| session_id * | string |
search_marketsRECOMMENDED: Search markets by keyword (fast). Use this first when user asks about specific topics.| Parameter | Type | Description |
|---|---|---|
| exchange * | string | Exchange name |
| limit | integer | Max results (default: 20) |
| query * | string | Search keyword |
stop_strategyStop a strategy session| Parameter | Type | Description |
|---|---|---|
| session_id * | string |
validate_credentialsValidate exchange credentials without trading| Parameter | Type | Description |
|---|---|---|
| exchange * | string | Exchange name |
Security checks
Static checks derived from the repository 10 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 1.2K words.
- !License declaredNo license file. Legally you have no right to use it in a product.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedDependency versions are pinned by uv.lock and website/bun.lock.
- ✓No dynamic code executionScanned 85 source files and found no eval, dynamic Function or shell execution.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
What the source scan found
- Transport
- stdio and HTTP with SSEdr_manhattan/mcp/server.py:81, dr_manhattan/mcp/server_sse.py:74
- Starts other programs
- No calls that start other programs
- Outbound network calls
- 40 callsdr_manhattan/exchanges/kalshi.py:156, dr_manhattan/exchanges/kalshi.py:160, dr_manhattan/exchanges/limitless.py:178
- Writes or deletes files
- 10 callsbacktest/backtester/data_manager.py:27, backtest/backtester/data_manager.py:343, backtest/backtester/data_manager.py:824
- Lockfile
- uv.lock and website/bun.lock
Pattern matches on the source text of 85 files: places to read, not proof of what the code does at run time.
Releases
README
The repository's README runs to about 1.2K words, fetched a month ago. The original in the repository is authoritative.
Read full README