Finance Toolkit
500+ transparent financial methods calculated from raw statements, not third-party endpoints.
제작자가 쓴 설명(영어 원문)
Polymarket trading, market discovery, copy trading and backtesting — 48 MCP tools.
이 세 가지는 절대 하나의 점수로 합치지 않아요. 의견, 측정, 인기는 서로 다른 것이니까요.
이 서버는 아직 쉬운 말로 된 요약을 쓰지 못했어요. 아래는 레지스트리에서 읽어 온 사실이에요.
쓰고 있는 AI 앱을 고른 다음 설정을 복사하세요.
COPY_MODE, POLY_PRIVATE_KEY, POLY_API_KEY, POLY_API_SECRET, POLY_API_PASSPHRASE, POLY_FUNDER_ADDRESS, DAILY_BUDGET, MIN_CONVICTION, CHAIN_ID, DB_PATH비밀로 표시된 값은 내 계정의 열쇠예요. 절대 다른 사람과 공유하거나 채팅에 붙여 넣지 마세요.
필요한 것
어떤 앱을 쓰세요?
위에서 앱을 고르세요. 기억해 두었다가 다음부터는 버튼에 “…에 설치”라고 표시해요.
Claude Desktop → Settings → Developer → Edit Config를 열고 claude_desktop_config.json에 이 내용을 붙여 넣으세요
{
"mcpServers": {
"polymarket-agent": {
"command": "npx",
"args": [
"-y",
"polymarket-agent-mcp"
],
"env": {
"COPY_MODE": "your-value",
"POLY_PRIVATE_KEY": "your-value",
"POLY_API_KEY": "your-value",
"POLY_API_SECRET": "your-value",
"POLY_API_PASSPHRASE": "your-value",
"POLY_FUNDER_ADDRESS": "your-value",
"DAILY_BUDGET": "your-value",
"MIN_CONVICTION": "your-value",
"CHAIN_ID": "your-value",
"DB_PATH": "your-value"
}
}
}
}터미널에서 이 명령어를 실행하세요
claude mcp add polymarket-agent --env COPY_MODE=your-value --env POLY_PRIVATE_KEY=your-value --env POLY_API_KEY=your-value --env POLY_API_SECRET=your-value --env POLY_API_PASSPHRASE=your-value --env POLY_FUNDER_ADDRESS=your-value --env DAILY_BUDGET=your-value --env MIN_CONVICTION=your-value --env CHAIN_ID=your-value --env DB_PATH=your-value -- npx -y polymarket-agent-mcp실행하기 전에 빈 값을 채워 주세요.
프로젝트의 .cursor/mcp.json 또는 ~/.cursor/mcp.json에 붙여 넣으세요
{
"mcpServers": {
"polymarket-agent": {
"command": "npx",
"args": [
"-y",
"polymarket-agent-mcp"
],
"env": {
"COPY_MODE": "your-value",
"POLY_PRIVATE_KEY": "your-value",
"POLY_API_KEY": "your-value",
"POLY_API_SECRET": "your-value",
"POLY_API_PASSPHRASE": "your-value",
"POLY_FUNDER_ADDRESS": "your-value",
"DAILY_BUDGET": "your-value",
"MIN_CONVICTION": "your-value",
"CHAIN_ID": "your-value",
"DB_PATH": "your-value"
}
}
}
}브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.
프로젝트의 .vscode/mcp.json에 붙여 넣으세요
{
"servers": {
"polymarket-agent": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"polymarket-agent-mcp"
],
"env": {
"COPY_MODE": "your-value",
"POLY_PRIVATE_KEY": "your-value",
"POLY_API_KEY": "your-value",
"POLY_API_SECRET": "your-value",
"POLY_API_PASSPHRASE": "your-value",
"POLY_FUNDER_ADDRESS": "your-value",
"DAILY_BUDGET": "your-value",
"MIN_CONVICTION": "your-value",
"CHAIN_ID": "your-value",
"DB_PATH": "your-value"
}
}
}
}브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.
이 서버는 내 컴퓨터에서 실행되는데, ChatGPT는 인터넷에 있는 서버에만 연결할 수 있어요. 다른 앱을 고르세요.
선택한 앱은 이 기기의 쿠키에만 저장돼요. 계정은 필요 없어요.
COPY_MODE envPOLY_FUNDER_ADDRESS envDAILY_BUDGET envMIN_CONVICTION envCHAIN_ID envDB_PATH env이 설정은 제작자의 레지스트리 정보로 만들었어요. README와 다르면 README를 따르세요.
내 컴퓨터에서 실행돼요. 설치하면 AI 앱에 도구 목록이 나타나요.
누구나 볼 수 있는 정보를 점검했고, 코드는 읽지 않았어요. 해당하지 않는 항목은 개수에서 뺐어요. · 2026년 11월 7일 점검
레지스트리 이름이 GitHub 계정 demwick 기준으로 확인되었고, 이 계정이 저장소를 소유하고 있어요
아직 GitHub에서 이 저장소를 읽어 오지 않았어요
아직 GitHub에서 이 저장소를 읽어 오지 않았어요
내 컴퓨터에서 실행되는 서버라 인터넷 엔드포인트가 없어요
내 컴퓨터에서 실행되며, 대신 로컬 설정을 사용해요
내 컴퓨터에서 실행돼요. 도구 목록은 인터넷 엔드포인트가 있는 서버에서만 읽을 수 있어요
레지스트리에서 이 카테고리의 활성 서버 전체와 비교했어요. 스타는 게시자가 저장소를 소유한 경우에만 세요.
해당하는 기본 점검 1개 중 1개를 통과했어요. 코드는 읽지 않았어요. 키나 토큰을 넣기 전에 서버가 어떤 권한을 요구하는지 확인하고, 꼭 필요한 권한만 있는 키를 쓰세요.
입력해야 할 값: POLY_PRIVATE_KEY, POLY_API_KEY, POLY_API_SECRET, POLY_API_PASSPHRASE
내 컴퓨터에서 실행돼요. AI 앱이 필요할 때 실행하고, 데이터는 제작자의 서버를 거치지 않아요(서버 자체가 온라인 서비스를 호출하는 경우는 제외).
GitHub 저장소는 마지막으로 – 변경됐고, 최신 버전(1.7.0)은 3개월 전 레지스트리에 올라왔어요.
Claude Desktop, Claude Code, Cursor, VS Code처럼 MCP를 지원하는 앱에서 쓸 수 있어요. 내 컴퓨터에 Node.js도 있어야 해요.
같은 카테고리에는: Finance Toolkit, SolidInvoice, Korea Tax Calculator
같은 카테고리에서 다른 제작자가 만든 서버예요. 스타 순으로 정렬했어요.
카드 보는 법:★ GitHub 스타i세 기둥: 리뷰 · 점검 · 사용 정도i업데이트 = 최신 버전을 레지스트리에 공개한 날i
500+ transparent financial methods calculated from raw statements, not third-party endpoints.
Create and send invoices and quotes, manage clients, and track payments in SolidInvoice.
Korean tax calculation and tax-audit judgment MCP: 96 tools with statutory citations.
제작자의 저장소에서 쓰인 그대로 가져왔어요. PopNx MCP가 검토하거나 보증한 내용이 아니에요. HTML, 이미지, 스크립트는 제거했어요. 링크를 누르면 이 사이트를 벗어나요.
Trade, analyze, and automate Polymarket prediction markets through AI.
The most comprehensive MCP server for Polymarket — 48 tools spanning direct trading, market discovery, smart money tracking, copy trading, backtesting, risk management, and portfolio optimization. Works with Claude Code, Cursor, or any MCP-compatible client.
| Category | Count | Highlights |
|---|---|---|
| Discovery | 9 | Search, trending, featured, events, related markets, smart money flow |
| Analysis | 8 | AI opportunity scoring, conviction rating, price history, market quality, top holders, comparison |
| Trading | 8 | Buy, sell, batch orders, limit orders, order management, safety limits |
| Copy Trading | 5 | Watch traders, auto-monitor, auto-rebalance, backtest |
| Portfolio | 10 | Positions, P&L, balance, risk assessment, SL/TP, optimization, market alerts |
| Utilities | 8 | Dashboard, config, trade history, watchlists, agent logging |
npm install -g polymarket-agent-mcp
docker compose up
Add to ~/.claude/settings.json:
{
"mcpServers": { "polymarket": { "command": "npx", "args": ["polymarket-agent-mcp"] } } }
Just talk naturally to your AI assistant:
"What are the trending markets today?"
"Search for bitcoin prediction markets"
"Buy $5 on this market"
"Score this trader — should I copy them?"
"Backtest this trader with $10 per trade"
"Show smart money flow — what are the top traders buying?"
"Set stop-loss at 0.30 on my BTC position"
"Optimize my portfolio with a balanced strategy"
"Scan for arbitrage opportunities"
"Compare these two markets side by side"
| Tool | Description |
|---|---|
markets.search | Search markets by keyword (bitcoin, election, UFC...) |
traders.discover | Find top traders by PnL and volume |
markets.discover | Find markets by end date and category |
markets.trending | Top markets by 24h/7d/30d volume |
markets.featured | Most liquid markets by category (politics, sports, crypto...) |
wta.discover | WTA tennis markets with stink bid prices |
flow.discover | Smart money signals — multiple top traders buying same market |
markets.related | Find markets related to a topic or market |
markets.events | Browse all markets under an event |
| Tool | Description |
|---|---|
markets.analyze | AI-powered BUY/SELL/HOLD recommendation |
traders.analyze | Detailed trader profile, win rate, P&L |
traders.score | Conviction score (0-100) across 5 dimensions |
markets.check | Market quality — spread, depth, price range |
markets.price | Live bid/ask/spread prices |
markets.price_history | Historical prices with sparkline (1h to 1m) |
markets.holders | Biggest position holders in a market |
markets.compare | Side-by-side comparison of 2-5 markets |
| Tool | Description |
|---|---|
orders.buy | Buy shares on any market |
orders.sell | Sell an open position |
orders.batch | Execute up to 10 orders at once |
wta.bid | Place limit orders at discount |
orders.cancel | Cancel all open orders |
orders.list | View pending limit orders |
orders.status | Check status of a specific order |
config.go_live | Switch from preview to live mode |
| Tool | Description |
|---|---|
watchlist.add | Add/remove traders from watchlist |
monitor.start | Start automatic copy trading loop |
monitor.stop | Stop monitoring |
watchlist.rebalance | Remove underperforming traders |
traders.backtest | Simulate copying a trader's past trades |
| Tool | Description |
|---|---|
portfolio.balance | Account balance, budget, and P&L |
portfolio.get | Multi-wallet overview with P&L per trader |
positions.list | Open/closed positions |
positions.close | Manually close a position |
positions.set_exit_rules | Set stop-loss and take-profit levels |
positions.check_exits | Check positions for resolution |
portfolio.risk | Portfolio risk scoring and warnings |
portfolio.optimize | AI-powered optimization (conservative/balanced/aggressive) |
markets.watch | Market watchlist with price alerts |
markets.watch_price | Live WebSocket price subscriptions |
markets.arbitrage | Find YES+NO price discrepancies |
| Tool | Description |
|---|---|
config.set | Update bot settings |
config.safety_limits | Max order size, exposure cap, spread tolerance |
dashboard.get | Terminal-formatted dashboard |
trades.history | Trade history with filters |
watchlist.list | Show watched wallets |
agent.log_cycle | Log agent cycle for dashboard |
traders.positions | View a trader's open positions |
Claude Code / Cursor / AI Client
| | MCP Protocol (stdio) v +------------------+ | MCP Server | 48 tools registered | (index.ts) | +--------+---------+ | +----+----+ | | Tools Services | | v v +-------+ +------------+ | Zod | | Backtester | | Input | | Scorer | | Valid. | | SmartFlow | +-------+ | Filter | | Tracker | | Executor | +-----+------+ | +-------+-------+ | | | Data Gamma CLOB API API API
The server supports two transport modes:
| Mode | Activation | Use case |
|---|---|---|
| stdio (default) | npx polymarket-agent-mcp | Claude Code, Cursor, local MCP clients |
| HTTP | --http flag or PORT env var | Self-hosted Docker, private VPS, single-user remote |
This server is designed for single-tenant use. Each client runs its own instance with its own SQLite database (copytrader.db), watchlist, daily budget, trade history, and monitor loop. The stdio mode is the recommended path for most users — npx polymarket-agent-mcp or the Claude Code config above gives you a fully isolated, local-only instance.
⚠️ Do not expose an HTTP instance publicly. The server has no per-user isolation: watchlist, positions, budget, and the background monitor loop are shared across every client that connects. A public HTTP deployment is effectively a shared workspace, not a multi-tenant SaaS. If you enable live trading, a public endpoint can drain your Polymarket wallet from any caller. Always configure the HTTP bearer-token env var (see PERMISSIONS.md) and keep the endpoint behind a firewall, VPN, or auth proxy.
# Flag
node dist/index.js --http
PORT=8080 node dist/index.js
| Path | Method | Description |
|---|---|---|
/mcp | POST | MCP protocol endpoint (Streamable HTTP transport) |
/health | GET | Health check — returns { status, version, db } |
/.well-known/mcp/server-card.json | GET | MCP discovery card (tools, permissions, data handling) |
/ | GET | Server info with version and endpoint list |
The HTTP transport accepts an optional bearer token gated by an environment variable — the exact name is documented in PERMISSIONS.md. When set, clients must send Authorization: Bearer on requests to /mcp; when unset the endpoint is open (suitable only for local or private networks).
A prebuilt multi-arch image is published to GHCR on every release:
docker pull ghcr.io/demwick/polymarket-agent-mcp:1.7.0
Or build it yourself from the included Dockerfile:
docker build -t polymarket-mcp .
docker run -p 3000:3000 -v mcp-data:/app/data \ -e DAILY_BUDGET=50 \ polymarket-mcp
-e =my-secret-key).
DB_PATH (default /app/data/copytrader.db) controls where SQLite data is persisted — mount a volume to keep it across restarts.
All secrets stay in memory for the lifetime of the process — they are never written to the database, logs, or disk, and are only transmitted to their designated Polymarket API endpoint over HTTPS. The complete authoritative env var list, with per-variable sensitivity and scope, lives in [PERMISSIONS.md](PERMISSIONS.md) and [SECURITY.md](SECURITY.md).
| Variable | Required | Default | Description |
|---|---|---|---|
COPY_MODE | No | preview | preview (simulated) or live (real orders) |
DAILY_BUDGET | No | 20 | Max daily spend in USDC |
MIN_CONVICTION | No | 3 | Min trade size to copy ($) |
| Wallet signing key | Live only | - | Locally signs CLOB order payloads, never persisted (see PERMISSIONS.md for exact env var name) |
| CLOB API credentials | Live only | - | API key / secret / passphrase — sent only to clob.polymarket.com (see PERMISSIONS.md for exact names) |
This package has a transparent, minimal footprint. Full disclosure: [PERMISSIONS.md](PERMISSIONS.md) — machine-readable version in .well-known/mcp/server-card.json.
| Category | Scope |
|---|---|
| Network (outbound) | 3 Polymarket HTTPS APIs + 1 inbound-only WSS public price stream (ws-subscriptions-clob.polymarket.com) |
| Filesystem | Single SQLite database file + .env read at startup — nothing else |
| Environment | API credentials (live mode only,
앞부분만 보여 드려요. 나머지는 저장소에서 읽어 보세요