Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

dr-manhattan

Skill by guzus

Dr. Manhattan is a unified trading API for prediction markets on Polymarket, Kalshi, Opinion, Limitless, and Predict.fun. It suits traders and developers who want one interface across these exchanges.

  • Score 58
  • 206 stars
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install dr-manhattan

Built from the published package, never by AI.

git clone --depth 1 https://github.com/guzus/dr-manhattan /tmp/dr-manhattan && mkdir -p ~/.claude/skills && cp -r /tmp/dr-manhattan ~/.claude/skills/dr-manhattan

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install dr-manhattan in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

Dr. Manhattan is a unified API for prediction markets, similar to how CCXT works for cryptocurrency exchanges. It supports Polymarket, Kalshi, Opinion, Limitless, and Predict.fun through one interface. It can be used as a Python library or as an MCP server for Claude integration.

The skill lets an assistant search and browse markets, read orderbooks, check balances and positions, place and cancel orders, and run market-making strategies in the background. Read-only use works without credentials, while trading requires exchange keys. Supported order types are GTC, FOK, and IOC. It is aimed at traders and developers who work with prediction markets across several exchanges.

Written from the project's SKILL.md and checked against it.

What it can do

  • search_marketsSearch markets by keyword, the fastest way to find markets about a topic.
  • get_orderbookGet the full orderbook with bids and asks for a token ID.
  • get_best_bid_askGet the best bid and ask prices for a quick spread check.
  • create_orderPlace a buy or sell order with a price between 0 and 1 and a size.
  • cancel_all_ordersCancel all open orders, optionally for one market.
  • fetch_balanceGet the account balance in USDC.
  • fetch_positionsGet current positions with PnL.
  • calculate_navCalculate net asset value as cash plus positions.
  • create_strategy_sessionStart a market-making strategy in the background.
  • get_strategy_statusGet real-time strategy status including NAV, positions, and delta.

What you need

  • Python 3.11 or later
  • uv
  • Network access to exchange APIs
  • Exchange credentials such as private keys or API keys for trading

Try asking

  • Search Polymarket for markets about the Fed decision and show prices
  • Show my USDC balance and open positions on Kalshi
  • Get the best bid and ask for this Polymarket token ID

Good to know

  • Trading requires exchange credentials such as private keys or API keys.
  • Read-only market data works without credentials.
  • MCP server use needs an extra install with uv sync --extra mcp.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to dr-manhattan

All alternatives →

Compare with meme-rush, okx-market or saas-metrics-coach

dr-manhattan: common questions

Which prediction market exchanges does Dr. Manhattan support?

The source lists Polymarket, Kalshi, Opinion, Limitless, and Predict.fun. They are accessed through one unified interface.

Can I use Dr. Manhattan without an account or credentials?

Yes. The source shows read-only usage with no credentials, such as fetching markets. Trading needs exchange credentials.

How do I use Dr. Manhattan with Claude?

It can run as an MCP server that exposes its trading capabilities as tools. The source gives a configuration example for Claude Code settings.

How do I install dr-manhattan?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is dr-manhattan free?

The code is public, but no licence file was found, so check the repository before commercial use.

Is dr-manhattan safe to use?

It scores 58 of 100. Grades: maintenance C, licence F, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to dr-manhattan?

Similar skills: meme-rush, okx-market, saas-metrics-coach, sec-edgar.

dr-manhattan Install

Add to stack

Loading.