Limitless MCP Server

io.github.joinQuantish由 GitHub 帳號 joinQuantish 發布v1.0.0更新於 Oct 24, 2026

MCP server for Limitless Exchange prediction markets on Base

發布方自己的服務:Limitless

已驗證STDIO僅桌面金融AI 與機器學習

概覽

AI 產生的概覽

用於在 Base 上交易 Limitless Exchange 預測市場的 MCP 伺服器:探索市場、下單撤單、追蹤持倉並管理錢包。

可以做什麼
  • 建立帳戶、申請 API 金鑰並管理 API 金鑰
  • 產生、匯入或匯出 Base 錢包,查詢餘額與入金地址
  • 列出、搜尋並檢視市場、訂單簿、價格歷史與分類
  • 下限價單、取消訂單、查看訂單,檢查授權並取得成交報價
  • 檢視持倉、成交紀錄與含損益的投資組合歷史
  • 傳送 ETH 或 USDC 至其他地址
適用情境
適合想讓 AI 助理研究並交易 Base 上 Limitless Exchange 預測市場,或在對話中監控持倉與訂單的情境。適用於已在 Base 上持有資金、且能接受自動化交易的使用者。
執行需求
需自行架設:Node.js 20+、PostgreSQL 15+ 以及 Base RPC 存取,透過 DATABASE_URL、ENCRYPTION_KEY、ADMIN_API_KEY、BASE_RPC_URL、LIMITLESS_API_URL 等環境變數設定。用戶端以註冊工具取得的 x-api-key 標頭連線。README 另提供一個託管端點。
安裝前請注意
伺服器涉及錢包私鑰,提供匯入與匯出工具,並能透過下單及傳送 ETH 或 USDC 動用真實資金。金鑰與機密存放於伺服器端,自行架設時須妥善保護 ENCRYPTION_KEY、ADMIN_API_KEY 與資料庫。交易與轉帳無法撤銷;本專案已不再由原作者維護。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Limitless MCP Server,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

Limitless MCP Server

Prediction Market Trading on Base via Limitless Exchange

Build AI-powered trading agents for Limitless prediction markets using the Model Context Protocol (MCP)

[License: PolyForm Noncommercial] [Node.js] [Base Chain]


⚠️ Notice: Quantish is winding down. The Quantish platform (quantish.live) is shutting down. This MCP server is self-hosted and will continue to work independently, but the Quantish team will no longer be maintaining or updating this project. If you're building in the prediction market space and need real-time data infrastructure, check out polynode.dev.


Features

  • Secure Wallet Management

    • Generate new Base wallets with encrypted private key storage
    • Bring Your Own Wallet (BYOW) - Import existing wallets with client-side encryption
    • Private keys are encrypted with AES-256-GCM before storage
  • Full Limitless Market Access

    • Real-time market discovery via Limitless Exchange API
    • Access to all prediction markets: Politics, Sports, Crypto, and more
    • Live orderbook data and price history
    • Semantic search for market discovery
  • Trading Operations

    • Place limit orders with EIP-712 signed authentication
    • Cancel orders (single, batch, or all)
    • Check and set token approvals (USDC, CTF)
    • Position tracking with P&L calculations
  • AI Agent Integration

    • Full MCP (Model Context Protocol) support
    • Works with Claude, Cursor IDE, and other MCP-compatible AI tools
    • 34 pre-built trading tools organized by category
  • Enterprise Security

    • AES-256-GCM encryption for all sensitive data
    • API key authentication with SHA-256 hashing
    • Platform partner system for B2B integrations
    • Rate limiting and request logging

Quick Start

1. Configure MCP (Cursor IDE)

Add to ~/.cursor/mcp.json:

json
{  "mcpServers": {    "limitless": {      "url": "https://limitless-mcp-server-production.up.railway.app/mcp",      "headers": {        "x-api-key": "YOUR_API_KEY"      }    }  }}

2. Get Your API Key

Via MCP tool:

json
{  "tool": "limitless_signup",  "args": {    "externalId": "your-unique-id"  }}

3. Start Trading

"Search for bitcoin prediction markets""Buy 10 YES shares at $0.60 on the BTC market""Show my current positions""Cancel my open orders"

Available MCP Tools (34 Total)

Note: All tool names are prefixed with limitless_ to avoid collisions with other MCPs.

Authentication & Setup (6 tools)

ToolDescription
limitless_signupCreate a new account with a fresh Base wallet
limitless_request_api_keyGet new API key (requires HMAC signature)
limitless_setup_walletGenerate a new Base wallet
limitless_import_walletImport existing wallet (encrypted)
limitless_get_wallet_import_instructionsInstructions for secure wallet export
limitless_import_private_keyDirect private key import

Wallet Information (4 tools)

ToolDescription
limitless_get_wallet_infoGet wallet address and type
limitless_get_wallet_statusFull wallet status with balances
limitless_get_balancesCheck ETH and USDC balances
limitless_get_deposit_addressGet address for funding

Market Discovery (6 tools)

ToolDescription
limitless_get_marketsList active markets with pagination
limitless_search_marketsSemantic search for markets
limitless_get_marketGet market details including venue
limitless_get_orderbookGet order book with bids/asks
limitless_get_price_historyHistorical price data
limitless_get_categoriesList market categories

Trading (8 tools)

ToolDescription
limitless_place_orderPlace a limit order
limitless_cancel_orderCancel a single order
limitless_cancel_all_ordersCancel all orders in a market
limitless_get_ordersList your orders
limitless_check_approvalsCheck token approvals
limitless_set_approvalsSet token approvals
limitless_get_locked_balanceGet USDC locked in orders
limitless_get_quoteEstimate fill price

Positions (4 tools)

ToolDescription
limitless_get_positionsGet active positions with P&L
limitless_get_tradesGet trade history
limitless_get_portfolio_historyFull portfolio history
limitless_sync_positionsSync positions from API

Transfers (3 tools)

ToolDescription
limitless_send_ethSend ETH to another address
limitless_send_usdcSend USDC to another address
limitless_export_private_keyExport wallet private key

API Key Management (3 tools)

ToolDescription
limitless_list_api_keysList your API keys
limitless_create_api_keyCreate a new API key
limitless_revoke_api_keyRevoke an API key

Self-Hosting

Prerequisites

  • Node.js 20+
  • PostgreSQL 15+
  • Base RPC access (mainnet.base.org)

Installation

bash
# Clone the repositorygit clone https://github.com/joinQuantish/limitless-mcp.gitcd limitless-mcp
# Install dependenciesnpm install
# Copy environment templatecp .env.example .env
# Edit .env with your values (see Environment Variables below)
# Generate Prisma clientnpx prisma generate
# Push database schemanpx prisma db push
# Build and startnpm run buildnpm start

Environment Variables

Create a .env file with:

bash
# Database (PostgreSQL)DATABASE_URL="postgresql://user:password@host:5432/limitless_mcp?schema=public"
# Encryption (generate with: openssl rand -hex 32)ENCRYPTION_KEY="your-64-character-hex-encryption-key-here"
# Blockchain - Base L2BASE_RPC_URL="https://mainnet.base.org"
# Limitless Exchange APILIMITLESS_API_URL="https://api.limitless.exchange"
# ServerPORT=3003NODE_ENV=production
# Admin API Key (generate with: openssl rand -hex 32)ADMIN_API_KEY="your-admin-api-key-here"
# Optional: Bot signing secret for returning user verificationBOT_SIGNING_SECRET=""

Docker Deployment

bash
# Build the imagedocker build -t limitless-mcp .
# Run the containerdocker run -d \  -p 3003:3003 \  -e DATABASE_URL="postgresql://..." \  -e ENCRYPTION_KEY="..." \  -e ADMIN_API_KEY="..." \  -e BASE_RPC_URL="https://mainnet.base.org" \  -e LIMITLESS_API_URL="https://api.limitless.exchange" \  -e NODE_ENV=production \  limitless-mcp

Railway Deployment

bash
# Install Railway CLInpm install -g @railway/cli
# Login and initializerailway loginrailway init
# Add PostgreSQL via Railway dashboard
# Set environment variablesrailway variables set DATABASE_URL="postgresql://..."railway variables set ENCRYPTION_KEY="$(openssl rand -hex 32)"railway variables set ADMIN_API_KEY="$(openssl rand -hex 32)"railway variables set BASE_RPC_URL="https://mainnet.base.org"railway variables set LIMITLESS_API_URL="https://api.limitless.exchange"railway variables set NODE_ENV="production"
# Deployrailway up

API Reference

Health Check

bash
curl https://your-server/health

Response:

json
{  "status": "healthy",  "timestamp": "2026-01-17T12:00:00.000Z",  "version": "1.0.0",  "service": "limitless-mcp",  "database": "connected",  "environment": "production"}

MCP Endpoint

bash
# List available toolscurl -X POST https://your-server/mcp \  -H "Content-Type: application/json" \  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}}'
# Call a tool (authenticated)curl -X POST https://your-server/mcp \  -H "Content-Type: application/json" \  -H "x-api-key: pk_limitless_..." \  -d '{    "jsonrpc":"2.0",    "id":1,    "method":"tools/call",    "params":{      "name":"limitless_get_balances",      "arguments":{}    }  }'

Market Data API

bash
# Get active marketscurl "https://your-server/api/markets?limit=10&page=1"
# Search marketscurl "https://your-server/api/markets/search?query=bitcoin&limit=5"
# Get market detailscurl "https://your-server/api/markets/your-market-slug"
# Get orderbookcurl "https://your-server/api/markets/your-market-slug/orderbook"

Security Architecture

Click to expand security details

Encryption at Rest

All sensitive data is encrypted using AES-256-GCM:

  • Private keys encrypted before database storage
  • Session tokens encrypted with unique IVs
  • API secrets encrypted (only SHA-256 hash stored for lookup)

API Key Security

API Key Format: pk_limitless_<32 base64url chars>API Secret Format: sk_limitless_<43 base64url chars>
  • Keys are hashed with SHA-256 before storage (never stored in plaintext)
  • Secrets are encrypted with AES-256-GCM
  • Timing-safe comparison using crypto.timingSafeEqual

Platform Isolation (B2B)

For platform partners:

  • Platform admin keys: plt_limitless_* / psk_limitless_*
  • All queries scoped by platformId at database level
  • Activity logging for audit trail
  • User limits enforced per platform

Rate Limiting

  • 60 requests/minute per API key (general)
  • 30 requests/minute for user listing (platform admin)
  • 5 requests/hour for platform registration

Secure Wallet Import (BYOW)

Import your existing MetaMask/hardware wallet securely:

Step 1: Export Your Private Key

In MetaMask: Settings > Security > Export Private Key

Step 2: Encrypt Locally

javascript
const crypto = require('crypto');
const privateKey = 'YOUR_PRIVATE_KEY_WITHOUT_0x_PREFIX';const password = 'YourSecurePassword123!'; // min 12 chars
const salt = crypto.randomBytes(32);const iv = crypto.randomBytes(16);const derivedKey = crypto.scryptSync(password, salt, 32, { N: 16384, r: 8, p: 1 });
const cipher = crypto.createCipheriv('aes-256-gcm', derivedKey, iv);let encrypted = cipher.update(privateKey, 'utf8', 'hex');encrypted += cipher.final('hex');const authTag = cipher.getAuthTag().toString('hex');
console.log({  encryptedKey: `${encrypted}:${authTag}`,  salt: salt.toString('hex'),  iv: iv.toString('hex'),  publicKey: 'YOUR_WALLET_ADDRESS'});

Step 3: Import to SDK

json
{  "tool": "limitless_import_wallet",  "args": {    "encryptedKey": "...",    "salt": "...",    "iv": "...",    "publicKey": "0x...",    "password": "YourSecurePassword123!"  }}

Security Note: Your raw private key NEVER leaves your machine. Only the encrypted bundle is sent to our servers, and we cannot decrypt it without your password.


Related Resources

ResourceURL
Limitless Exchangehttps://limitless.exchange
Limitless API Docshttps://api.limitless.exchange/api-v1
Base Chain Explorerhttps://basescan.org
Base USDC Contract0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913

License

PolyForm Noncommercial 1.0.0 © Quantish


Support


Built with precision by Quantish

來源:README.md,提交 f8cf243

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v1.0.0最新Sep 16, 2026

評分

已滿足適用檢查項的 40%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

    請在儲存庫或註冊中心條目中宣告授權條款。

其他 Limitless 整合