---
url: "https://predictiontoolkit.com/tools/dr-manhattan/"
publisher: "PredictionToolkit"
dateModified: "2026-11-02"
---

[← SDKs & libraries](<https://predictiontoolkit.com/polymarket-sdks/>) 

SDK

# dr-manhattan: Multi-Venue Python Trading and MCP

dr-manhattan is a Python integration layer for Polymarket, Kalshi, Opinion, Limitless and Predict.fun. It combines market discovery, account and order methods, supported WebSocket adapters and optional MCP.

[**3.5**/ 5Editorial rating](<https://predictiontoolkit.com/tools/dr-manhattan/#reviews>) [Editorial assessment](<https://predictiontoolkit.com/tools/dr-manhattan/#reviews>) 

[Open the dr-manhattan repository](<https://github.com/guzus/dr-manhattan>) github.com

**Available on:** API · MCP

**Pricing:** [See plans and costs ↓](<https://predictiontoolkit.com/tools/dr-manhattan/#pricing>) 

[Screenshots](<https://predictiontoolkit.com/tools/dr-manhattan/#screenshots>) [Explore alternatives](<https://predictiontoolkit.com/tools/dr-manhattan/#alternatives>) 

[SDKs & libraries](<https://predictiontoolkit.com/polymarket-sdks/>) [MCP servers](<https://predictiontoolkit.com/polymarket-mcp-servers/>) 

## Screenshots and interface

Product preview1 / 2

Repository overview of the shared integration layer.

## What is dr-manhattan?

Common models and method names reduce repeated integration code, but signing and account setup stay venue-specific. A Strategy base class and order tracker support recurring strategy code, event logs and standardized errors.

Choose local MCP or the separately configured hosted route deliberately. Remote MCP documents Polymarket trading only, with other venues read-only. For Predict.fun, the factory key is predictfun while the low-level venue ID is predict.fun. Some legacy examples need comparison with current official collateral and client conventions.

### Who it is for

-   Python developers using several venues.
-   Teams building strategy and order services.
-   Technical users exposing tools through MCP.

## Features and coverage

-   **Exchange interface**
    
    Read markets, balances, positions and books with common models.
    
-   **Order methods**
    
    Create or cancel with venue-specific parameters.
    
-   **Real-time adapters**
    
    Use supported WebSocket transports.
    
-   **Typed models**
    
    Market, order, position and order-book objects.
    
-   **Strategy class**
    
    Build recurring strategies around the exchange client.
    
-   **Order tracker**
    
    Log events and handle standardized errors.
    
-   **MCP**
    
    Run a local server or configure the hosted route separately.
    

## Workflows with dr-manhattan

### Build a public reader

Create public instances, fetch a small set and retain native IDs inside the shared model.

### Add a strategy

Implement a callback for one venue with explicit order parameters and tracking.

### Expose MCP tools

Install dependencies, select the correct Python environment and configure credentials for the required operations.

## Pricing and total cost

Local installation has no listed software subscription. Venue access, credentials, infrastructure and third-party services have separate requirements.

## Getting started

**Before you start:** Remote MCP supports trading on Polymarket only; other venues are read-only.

1.  Create a Python environment and install supported dependencies.
2.  Start with a public exchange or the documented factory path with validation disabled.
3.  Read markets before private methods.
4.  Set venue-specific account credentials.
5.  For MCP, add its dependencies and point the client to the correct environment.

Predict.fun uses factory key predictfun but low-level ID predict.fun.

## Useful links

### What to check

-   Remote MCP supports trading on Polymarket only; other venues are read-only.
-   Common methods do not replace venue-specific signing.
-   Legacy collateral or client examples may need updating against official venue docs.

A closer look

## Ratings & reviews

Editorial rating

**3.5**/ 5

0 user reviews

PredictionToolkit editorial

### Our take on dr-manhattan

The common interface reduces repeated integration work. Signing, execution support and legacy examples still need venue-specific review.

Based on documented features, setup and access terms. [How we rate](<https://predictiontoolkit.com/methodology/>) 

### User reviews 0

The main score switches to user ratings after 5 published reviews.

**Be the first to share your experience**

A specific example helps the next person choose the right tool.

## Related tools

[Browse category](<https://predictiontoolkit.com/polymarket-sdks/>) 

![Official Polymarket Python SDK installation and quickstart](<https://predictiontoolkit.com/assets/cover-polymarket-python-sdk-abdc8e68d81b53bc-400.webp>)

![Polymarket Python SDK logo](<https://predictiontoolkit.com/assets/logo-tool-polymarket-python-sdk-765ba4cc040b.webp>)[Polymarket Python SDK](<https://predictiontoolkit.com/tools/polymarket-python-sdk/>) 

SDK**4.0**Editorial

Typed sync and async clients for scripts, notebooks, account workflows and real-time subscriptions.

-   Language Python

Use the official Python integration.

![PMXT repository overview and supported venue families](<https://predictiontoolkit.com/assets/cover-pmxt-open-source-sdk-8aa7f178a5c5e15f-400.webp>)

![PMXT open-source SDK logo](<https://predictiontoolkit.com/assets/icon-logo-tool-pmxt-hosted-api-636853a0dc32-192-56c21c79cd0be1a3.webp>)[PMXT open-source SDK](<https://predictiontoolkit.com/tools/pmxt-open-source-sdk/>) 

SDK**3.5**Editorial

Use one Python or TypeScript interface across supported prediction venues, with an explicit hosted or local backend choice.

-   Language Python · TypeScript

Compare another common client layer.

![CloddsBot repository overview with the provider’s embedded WebChat preview](<https://predictiontoolkit.com/assets/cover-cloddsbot-7e592bda3316dcb7-400.webp>)

[CloddsBot](<https://predictiontoolkit.com/tools/cloddsbot/>) 

Research tool**3.0**Editorial

Run market research and configured strategy tools through a local chat gateway and supported messaging channels.

-   Access Web · Telegram · Discord · MCP

Compare a broader conversational terminal.

## Frequently asked questions about dr-manhattan

### Can public reads avoid private keys?

Yes. Public exchange instances and the documented read-only factory path support discovery.

### Can remote MCP trade every venue?

No. Only Polymarket trading is documented there.

### Can I add an exchange?

The repository provides an Exchange base class and registration pattern.

### Are strategies supported?

Yes. Strategy works with the exchange client and order tracker.

In this profile
