GuessMarket MCP
About
Prediction market trading server for GuessMarket. Browse markets, buy/sell shares, add/remove liquidity, check portfolios, and build on-chain transactions. 20+ tools.
Details
- Author
- hifriendbot
- Categories
- Other, Finance
Jump to
Setup
Install GuessMarket MCP in your MCP client (Claude Desktop, Cursor, Windsurf, and others).
Repository: https://github.com/hifriendbot/guessmarket-mcp
Follow the installation instructions in the repository README, then restart your MCP client.
Live on 5 EVM chains: Ethereum, Base, Polygon, BSC, and PulseChain.
These tools read directly from the blockchain via public RPC endpoints. No API keys required.
All transaction builders return unsigned EVM transaction objects. Sign with your wallet and broadcast to the chain. Amounts are human-readable (e.g."10.5") and automatically converted to the correct decimals per chain (6 for USDC, 18 for BSC USDT).
build_buy_shares_txandbuild_sell_shares_txaccept optional slippage parameters (min_sharesandmin_usdc). When set to0(default), the server returns a warning. Set a minimum to protect against front-running.
1. list_markets → Find a market to trade 2. get_market → Check current odds and liquidity 3. get_balance → Check your stablecoin balance 4. get_allowance → Check if approval is needed 5. build_approve_tx → Approve stablecoin spending (if needed) 6. build_buy_shares_tx → Buy YES or NO shares 7. Sign and broadcast transactions with your wallet 8. get_position → Verify your shares
Or combine steps 5-6 withbuild_buy_with_approval_txwhich returns both transactions in order.
1. get_position → Check your share holdings 2. build_sell_shares_tx → Sell shares back to the market 3. Sign and broadcast the transaction 4. get_balance → Verify stablecoin received
1. build_approve_tx → Approve stablecoin spending 2. build_add_liquidity_tx → Deposit stablecoin, receive LP tokens 3. get_position → Verify LP tokens received 4. build_remove_liquidity_tx → Later: burn LP tokens to withdraw
1. build_create_market_tx → Deploy a new prediction market 2. Sign and broadcast — the new market address is in the tx receipt
{ "transaction": { "to": "0x...", "data": "0x...", "chainId": 8453, "value": "0x0" }, "description": "Buy YES shares for 10 USDC on market 0x... (Base Mainnet)", "meta": { "chain": "Base Mainnet", "stablecoin": "USDC", "outcome": "YES", "function": "buyShares(uint8,uint256,uint256)" }, "warnings": [] }
Add to yourclaude_desktop_config.json:
{ "mcpServers": { "guessmarket": { "command": "npx", "args": ["-y", "guessmarket-mcp"] } } }
claude mcp add guessmarket -- npx -y guessmarket-mcp
Or add to.mcp.jsonin your project root:
{ "mcpServers": { "guessmarket": { "command": "npx", "args": ["-y", "guessmarket-mcp"] } } }
Add to your VS Code settings or.vscode/mcp.json:
{ "mcp": { "servers": { "guessmarket": { "command": "npx", "args": ["-y", "guessmarket-mcp"] } } } }
No API keys required — the server uses the public GuessMarket REST API.
By default the server connects tohttps://guessmarket.com/api/guessmarket/v1. Override with an environment variable:
{ "mcpServers": { "guessmarket": { "command": "npx", "args": ["-y", "guessmarket-mcp"], "env": { "GUESSMARKET_API_URL": "https://your-instance.com/api/guessmarket/v1" } } } }
AI Agent <--> MCP Server <--> GuessMarket REST API (market data) | | | └───────> Public RPCs (on-chain reads) | | | 5 EVM Chains | (Ethereum, Base, Polygon, | BSC, PulseChain) | └── Signs & broadcasts unsigned transactions on-chain
The MCP server provides market data (via REST API), reads on-chain state (via public RPC endpoints), and builds unsigned transactions (via local ABI encoding). The agent signs transactions with its own wallet and broadcasts directly to the blockchain.
- Node.js 18 or later (uses nativefetch)
npm install npm run build node build/index.js
First native Solana staking MCP server. 26 tools for complete staking workflows — stake, unstake, withdraw, verify, simulate, and more. Zero custody design, ~6% APY.
Provides tools for interacting with the EDUCHAIN blockchain, including wallet, swap, and arbitrage operations on SailFish DEX.
An MCP server for the Osmosis Agent Toolkit, enabling interactions with the Osmosis blockchain.
An MCP server for the XRP Ledger blockchain, offering tools for wallet operations, token management, NFTs, and DEX trading.
Zen7 Payment Agent is the first implementation project of DePA (Decentralized Payment Agent), pioneers next-generation intelligent payment infrastructure.
MCP server for Aave — lending pool data, reserve info, user positions, and liquidation thresholds.
Manage Uniswap and Aerodrome liquidity positions with automated rebalancing and leverage.
Risk Intelligence MCP Server for crypto agents — 52 tools, 72B AI model, 560+ signals, derivatives, on-chain, autonomous trading
On-chain automated trading strategies (DEX) for AI agents. Create limit orders, range orders, recurring buy-low-sell-high strategies, and concentrated liquidity positions across Ethereum, Sei, Celo, TAC, and COTI. Unlike traditional AMMs and liquidity pools, Carbon lets you set asymmetric price ranges - your buy and sell orders are independent, not mirrored. Backtest any strategy against historical prices before going on-chain, explore market liquidity, find discount entry points, and swap tokens against Carbon DeFi's maker liquidity. 25 tools. Returns unsigned transactions — agents never hold funds or private keys. Zero gas on fills.
Cross-chain cryptocurrency swaps via Chainflip. Get quotes, execute swaps, and track progress.
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.



