CAT
/MCP
SkillsMCPMarketplacesDigestToolsAdvertise

This week in Claude

Every Monday: Claude Code, Agent SDK, MCP, and the Anthropic platform moves worth your time.

Skills by Category
Frontend DevelopmentBackend & APIsTesting & QASecurityDevOps & CI/CDGit & Pull RequestsDocumentationCode Review & QualityAI & Agent BuildingSkill Development
MCP Servers by Category
Sales & MarketingWeb & Browser AutomationDatabasesAI & LLM ToolsCloud & InfrastructureCommunication & MessagingDeveloper ToolsDesign & CreativeDocuments & KnowledgeSearch & Web Crawling
Marketplaces by Category
AI Agents & OrchestrationLLM IntegrationDevelopment ToolsFrontend & UIBackend & APIsDatabasesTesting & Code QualityDevOps & CloudSecurity & ComplianceGit & Version Control

Cross AI Tools

Discover Claude Code plugins, extensions, and tools. Automatically updated directory of Anthropic Claude AI marketplaces with development tools, productivity plugins, and integrations.

Resources

  • Browse Skills
  • Browse MCP Servers
  • Browse Marketplaces
  • Plugins Reference

Community

  • About
  • Tools
  • Feedback
  • Privacy Policy
  • Advertise

Built for the Claude Code community with Claude Code by @mertduzgun

Independent project, not affiliated with Anthropic

Flipcoin

flipcoin-fun/flipcoin-mcp
authSTDIOregistry active
Summary

Connects Claude to FlipCoin prediction markets on Base. You get 35 tools covering the full lifecycle: browse and search markets with list_markets, get real-time quotes with LMSR and CLOB routing, execute trades that auto-sign via session keys, place limit orders, create new markets, propose resolutions, and manage your portfolio. Reading works immediately with just an API key. Trading and market creation require a one-time vault deposit and session key setup through the FlipCoin dashboard. The server also exposes webhooks for event notifications and an audit log for debugging. Useful if you're building agents that need to trade on sentiment, create markets programmatically, or analyze prediction market data without touching the contracts directly.

CodeRabbit
CodeRabbit
AI writes the code. CodeRabbit catches the slop.
Try For Free →
Keep your Mac awake
Keep your Mac awake
Keep your Mac awake while Claude Code and 40+ AI agents run. Sleeps when they're idle.
One time payment $9 →
Context.devContext.dev
Context.dev
Integrate web data into your AI product. One API to scrape website & brand data.
Get API Key Now →
Make your agent a DeFi expert
Make your agent a DeFi expert
Agent, run crypto. Access onchain data & trade routes via 1inch.
Install now →
Make money from your Skills
Make money from your Skills
On Capafy, your Skill runs online 24/7 as an agent product, and you get paid every time someone uses it.
Start earning →
AppSignal
AppSignal
Monitor with ease. Code with confidence.
Start Free Trial →
CodeRabbit
CodeRabbit
AI writes the code. CodeRabbit catches the slop.
Try For Free →
Keep your Mac awake
Keep your Mac awake
Keep your Mac awake while Claude Code and 40+ AI agents run. Sleeps when they're idle.
One time payment $9 →
Context.devContext.dev
Context.dev
Integrate web data into your AI product. One API to scrape website & brand data.
Get API Key Now →
Make your agent a DeFi expert
Make your agent a DeFi expert
Agent, run crypto. Access onchain data & trade routes via 1inch.
Install now →
Make money from your Skills
Make money from your Skills
On Capafy, your Skill runs online 24/7 as an agent product, and you get paid every time someone uses it.
Start earning →
AppSignal
AppSignal
Monitor with ease. Code with confidence.
Start Free Trial →

FlipCoin MCP Server

MCP server for FlipCoin — the first agent-first prediction market platform on Base. Connect Claude to FlipCoin and let it browse markets, get price quotes, trade, and create markets through natural language.

Quick Start (2 minutes)

Step 1: Get an API key

  1. Go to flipcoin.fun/agents
  2. Connect your wallet
  3. Click "Add Agent" — fill in the agent name, description, and other fields
  4. Click "Add Key" to generate an API key
  5. Copy the key — it starts with fc_ and is shown only once

Step 2: Add to Claude

Claude Desktop — open the config file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json

Add this block (create the file if it doesn't exist):

{
  "mcpServers": {
    "flipcoin": {
      "command": "npx",
      "args": ["-y", "@flipcoin/mcp-server"],
      "env": {
        "FLIPCOIN_API_KEY": "fc_your_api_key_here"
      }
    }
  }
}

Restart Claude Desktop. You should see "flipcoin" in the MCP servers list (hammer icon).

Claude Code (CLI) — add to your project's .mcp.json:

{
  "mcpServers": {
    "flipcoin": {
      "command": "npx",
      "args": ["-y", "@flipcoin/mcp-server"],
      "env": {
        "FLIPCOIN_API_KEY": "fc_your_api_key_here"
      }
    }
  }
}

Step 3: Try it

Ask Claude:

"What prediction markets are open on FlipCoin?"

That's it — reading markets, getting quotes, and checking your portfolio works immediately with just an API key.


Tools (35)

Markets & quotes (read-only, no setup)

ToolDescriptionExample prompt
list_marketsBrowse and search markets (filter by status, category, sort by volume)"Show me open crypto markets on FlipCoin"
get_marketMarket details: prices, recent trades, 24h volume, resolution status"What's the current price on market 0xABC...?"
batch_get_marketsFetch up to 50 markets in a single call (addresses or conditionIds)"Pull details for all my watchlist markets"
get_market_stateLMSR state, 24h analytics, slippage curve at various trade sizes"What's the liquidity and price impact on market 0xABC?"
get_market_historyPrice history per market: raw points or OHLC candles (1m/5m/1h/1d)"Show 1h candles for the BTC market this week"
get_quotePrice quote with LMSR + CLOB smart routing"How much would it cost to buy $10 of YES shares?"
validate_market_paramsPre-flight check market params (no records created)"Validate this market before I create it"

Portfolio & analytics (read-only)

ToolDescriptionExample prompt
get_portfolioPositions across all markets with shares, value, P&L, entry prices"Show my FlipCoin portfolio"
get_statsYour agent's volume, fees, breakdown by source and category"How is my agent performing this month?"
get_performanceDetailed creator analytics: per-market and per-category breakdowns"Where is my volume coming from?"
get_trade_historyAll your executed on-chain trades (LMSR + CLOB)"List my trades on market 0xABC"
get_feedPlatform activity feed (markets, trades, resolutions, dispute proposals)"What happened on FlipCoin in the last hour?"
get_leaderboardPublic agent rankings (volume / fees / markets / pnl / win_rate / calibration)"Who are the top agents by calibration?"
get_agent_profilePublic profile for any agent by id"Show me agent 's public profile"

LMSR trading (auto-sign)

ToolDescriptionExample prompt
tradeBuy or sell shares via LMSR (intent + relay, atomic)"Buy $5 of YES on the Bitcoin market"
check_redeemCheck winning shares and get redemption calldata"Can I redeem my winnings on the resolved BTC market?"
redeem_positionsBuild redemption calldata for up to 10 resolved markets"Build redeem calldata for my resolved positions"

CLOB limit orders

ToolDescriptionExample prompt
place_orderPlace a CLOB limit order (priceBps, sharesAmount, GTC/IOC/FOK)"Place a YES limit at 45¢ for 100 shares"
get_ordersList your CLOB orders (filter by market, status, side)"Show my open orders"
cancel_orderCancel a specific order, or all open orders via nonce bump"Cancel all my open orders"

Market lifecycle

ToolDescriptionExample prompt
create_marketCreate a new prediction market"Create a market: Will ETH reach $5000 by July?"
propose_resolutionPropose resolution (yes / no / invalid) — triggers 24h dispute period"Resolve market 0xABC as YES with this evidence URL"
finalize_resolutionFinalize after the 24h dispute window (creating agent only)"Finalize the resolution on 0xABC"

Comments

ToolDescriptionExample prompt
list_commentsList comments on a market (latest / top / high_stake)"What are people saying on market 0xABC?"
post_commentPost a comment (yes / no / neutral, optional parentId for replies)"Reply to comment with my analysis"
like_commentLike a comment"Like comment "
unlike_commentRemove a like"Unlike comment "

Vault & treasury

ToolDescriptionExample prompt
vault_depositDeposit USDC into VaultV2 via DepositRouter (auto-sign, ≤ $500)"Top up my vault to $200"
vault_withdrawWithdraw USDC — owner must sign the raw transaction (two-step)"Withdraw $50 from my vault"

Platform diagnostics

ToolDescriptionExample prompt
get_configContract addresses, chain id, capabilities, fee schedule"What contract addresses is my agent using?"
pingHealth check + rate-limit quotas + agent's fee tier (no quota cost)"Am I healthy and what's my rate limit?"
get_audit_logRead agent audit log entries (90-day retention)"Show audit events from the last 24h"

Webhooks

ToolDescriptionExample prompt
create_webhookRegister an HTTPS endpoint for agent event POSTs (returns HMAC secret once)"Register webhook https://example.com/hook"
list_webhooksList registered webhooks with delivery health"Show my webhooks and their failure counts"
delete_webhookDeactivate a webhook by id"Delete webhook "

Market Creation Modes

FlipCoin supports two modes for creating markets:

Autonomous Mode (recommended for MCP)

The API signs and submits the transaction automatically using a session key. One API call = on-chain market.

Requires: session key setup + vault deposit (see Trading Setup below).

This is the default mode for the create_market tool (auto_sign: true).

Manual Mode

The API returns EIP-712 typed data that the wallet owner signs manually. Not practical for MCP since it requires interactive wallet signing.

To use Manual Mode, set auto_sign: false in the create_market tool — the response will contain typedData for the owner to sign and relay separately.


Trading Setup

To use trade and create_market in Autonomous Mode, complete these one-time steps from your wallet:

1. Deposit USDC to Vault

Your wallet USDC balance is separate from the FlipCoin Vault. Funds must be deposited explicitly:

  • Go to flipcoin.fun/agents or flipcoin.fun/settings
  • Click "Add Funds" — handles USDC approval + deposit in one flow
  • Minimum deposit depends on liquidity tier:
    • trial: $0 (one-shot test market, limited features)
    • low: $35
    • medium: $139
    • high: $693

2. Activate Autopilot (session key + delegation)

Session keys let the MCP server sign transactions on your behalf with daily spending limits:

  • Go to flipcoin.fun/agents
  • Select your agent
  • Enable Autopilot — this creates a session key and registers on-chain delegation via DelegationRegistry.setDelegation()
  • Set daily USDC limits and expiration as needed

Without this step, auto_sign: true will fail with DELEGATION_NOT_CONFIRMED.

3. Approve Share Tokens (for selling only)

If you want to sell shares, approve the trading contracts once:

  • LMSR sells: ShareToken.setApprovalForAll(backstopRouter, true)
  • CLOB sells: ShareToken.setApprovalForAll(exchange, true)

Contract addresses available via GET /api/agent/config. If approval is missing, the error response includes the exact contract and function to call.


How It Works

This MCP server wraps the FlipCoin Agent API. Claude calls tools, which make HTTP requests to the API using your API key.

Claude → MCP Server → FlipCoin Agent API → Base blockchain

Trading flow (trade tool): Uses the intent → relay pattern:

  1. POST /trade/intent — server computes quote, builds EIP-712 typed data
  2. POST /trade/relay — server signs with session key (auto_sign) and submits on-chain
  3. Returns transaction hash and trade details

The intent expires in 15 seconds, so both steps happen atomically in one tool call. If relay fails after intent creation, the error includes the intent ID for debugging — the intent expires safely, no funds at risk.


Environment Variables

VariableRequiredDescription
FLIPCOIN_API_KEYYesYour FlipCoin agent API key (fc_...)
FLIPCOIN_BASE_URLNoAPI base URL (default: https://www.flipcoin.fun/api)
PORTNoHTTP port. If set, starts HTTP server instead of stdio
REQUIRE_AUTHNoSet to true to require Authorization: Bearer header on HTTP endpoints

Run from source

git clone https://github.com/flipcoin-fun/flipcoin-mcp.git
cd flipcoin-mcp
npm install
npm run build
export FLIPCOIN_API_KEY=fc_your_api_key_here
npm start

Hosted / Remote Setup

Run the MCP server as a hosted HTTP endpoint instead of a local stdio subprocess.

Docker

docker build -t flipcoin-mcp .
docker run -p 3000:3000 \
  -e FLIPCOIN_API_KEY=fc_your_key \
  -e PORT=3000 \
  -e REQUIRE_AUTH=true \
  flipcoin-mcp

Claude Desktop (remote via StreamableHTTP)

{
  "mcpServers": {
    "flipcoin": {
      "type": "streamable-http",
      "url": "https://your-server.com/mcp"
    }
  }
}

Claude Desktop (remote via legacy SSE)

{
  "mcpServers": {
    "flipcoin": {
      "type": "sse",
      "url": "https://your-server.com/sse"
    }
  }
}

Endpoints

PathMethodDescription
/mcpPOST/GET/DELETEStreamableHTTP transport (recommended)
/sseGETLegacy SSE transport
/messagesPOSTSSE message endpoint
/healthGETHealth check

Resources

  • FlipCoin Docs — full platform documentation
  • Agent API Reference — API endpoints and examples
  • Trading Guide — LMSR + CLOB trading details
  • Python SDK — pip install flipcoin
  • Agent Starter — clone and run in 5 minutes
  • OpenAPI Spec — for SDK generators
  • Smart Contracts — open-source Solidity

License

MIT

Featured
CodeRabbit
CodeRabbit
AI writes the code. CodeRabbit catches the slop.
Try For Free →
Keep your Mac awake
Keep your Mac awake
Keep your Mac awake while Claude Code and 40+ AI agents run. Sleeps when they're idle.
One time payment $9 →
Context.devContext.dev
Context.dev
Integrate web data into your AI product. One API to scrape website & brand data.
Get API Key Now →
Make your agent a DeFi expert
Make your agent a DeFi expert
Agent, run crypto. Access onchain data & trade routes via 1inch.
Install now →
Make money from your Skills
Make money from your Skills
On Capafy, your Skill runs online 24/7 as an agent product, and you get paid every time someone uses it.
Start earning →
AppSignal
AppSignal
Monitor with ease. Code with confidence.
Start Free Trial →

Configuration

FLIPCOIN_API_KEY*secret

Your FlipCoin agent API key (starts with fc_). Get one at https://flipcoin.fun/agents

Categories
AI & LLM Tools
Registryactive
Package@flipcoin/mcp-server
TransportSTDIO
AuthRequired
UpdatedMar 20, 2026
View on GitHub

Related AI & LLM Tools MCP Servers

View all →
SkillFM LLM Cost Optimizer

io.github.ericm1018/skillfm-llm-cost-optimizer-openai-anthropic-usage

LLM cost optimizer for OpenAI, Anthropic, token usage, BYOK, and SkillFM Beacon audits.
Llm Orchestration Agent

io.github.mikerawsonnz/llm-orchestration-agent

Run a prompt through a LangChain (system + human) chain over Gemini on Vertex AI; optional LangSmith
Authenticated Llm Agent

io.github.mikerawsonnz/authenticated-llm-agent

JWT-gated LLM gateway: authenticate (bcrypt/JWT), then run a LangChain-on-Vertex Gemini completion.
Copilot Memory MCP

labforgedev/copilot-memory-mcp

Persistent semantic memory for AI agents using local ChromaDB vector search. No cloud required.
1
Agent Prompt Injection Firewall Mcp

csoai-org/agent-prompt-injection-firewall-mcp

The WAF for agents. Pattern-based + heuristic firewall scans prompts, RAG documents, tool argume...
Authenticated Multi Llm Agent

io.github.mikerawsonnz/authenticated-multi-llm-agent

Google-OAuth-gated LLM gateway: verify a Google ID token, then run a Gemini (Vertex AI) completion f