BP

berlinbra/polymarket-mcp

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

144 stars 23 forks 품질 67 트렌드 16MIT

berlinbra/polymarket-mcp는 [[T0]에서 임포트한 MCP 서버 후보입니다.

개요

berlinbra/polymarket-mcp는 [[T0]에서 임포트한 MCP 서버 후보입니다.

개요(AI 번역)

PolyMarket API를 통해 예측 시장 데이터에 접근할 수 있는 모델 컨텍스트 프로토콜(MCP) 서버입니다. 이 서버는 예측 시장에서 시장 정보, 가격, 과거 데이터를 검색하는 표준화된 인터페이스를 구현합니다.

특징

  • 현재 가격과 확률을 포함한 실시간 예측 시장 데이터
  • 카테고리, 해결 날짜, 설명을 포함한 상세한 시장 정보
  • 사용자 맞춤형 타임프레임 (1일, 7일, 30일, 전부 포함) 역사적 가격 및 거래량 데이터입니다
  • 내장된 오류 처리 및 속도 제한 관리
  • 간결한 데이터 포맷

설치

스미더리를 통해 설치 중

Smithery를 통해 Claude 데스크톱용 PolyMarket 예측을 자동으로 설치하려면:

클로드 데스크탑

  • MacOS에서: ~/Library/Application\ Support/Claude/claude_desktop_config.json
  • 윈도우에서: %APPDATA%/Claude/claude_desktop_config.json

개발/미공개 서버 구성

지역 출마

  1. 저장소 복제 및 의존성 설치:

라이브러리 설치

달리기

json 파일을 통해 Claude 클라이언트를 MCP 도구와 연결하고 패키지를 설치하면, Claude는 서버의 mcp 도구를 볼 수 있어야 합니다:

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

PolyMarket MCP Server

A Model Context Protocol (MCP) server that provides access to prediction market data through the PolyMarket API. This server implements a standardized interface for retrieving market information, prices, and historical data from prediction markets.

Features

  • Real-time prediction market data with current prices and probabilities
  • Detailed market information including categories, resolution dates, and descriptions
  • Historical price and volume data with customizable timeframes (1d, 7d, 30d, all)
  • Built-in error handling and rate limit management
  • Clean data formatting for easy consumption

Installation

Installing via Smithery

To install PolyMarket Predictions for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install polymarket_mcp --client claude

Claude Desktop

  • On MacOS: ~/Library/Application\ Support/Claude/claude_desktop_config.json
  • On Windows: %APPDATA%/Claude/claude_desktop_config.json
    "mcpServers": {
        "polymarket-mcp": {
            "command": "uv",
            "args": [
            "--directory",
            "/Users/{INSERT_USER}/YOUR/PATH/TO/polymarket-mcp",
            "run",
            "polymarket-mcp" //or src/polymarket_mcp/server.py
            ],
            "env": {
                "KEY": "",
                "FUNDER": ""
            }
        }
    }

Running Locally

  1. Clone the repository and install dependencies:

Install Libraries

uv pip install -e .

Running

After connecting Claude client with the MCP tool via json file and installing the packages, Claude should see the server’s mcp tools:

You can run the sever yourself via: In polymarket-mcp repo:

uv run src/polymarket_mcp/server.py

*if you want to run the server inspector along with the server:

npx @modelcontextprotocol/inspector uv --directory C:\\Users\\{INSERT_USER}\\YOUR\\PATH\\TO\\polymarket-mcp run src/polymarket_mcp/server.py
  1. Create a .env file with your PolyMarket API key:
Key=your_api_key_here
Funder=poly market wallet address

After connecting Claude client with the MCP tool via json file, run the server: In alpha-vantage-mcp repo: uv run src/polymarket_mcp/server.py

Available Tools

The server implements four tools:

  • get-market-info: Get detailed information about a specific prediction market
GitHub에서 전체 README 보기

설치

npx -y @smithery/cli install polymarket_mcp --client claude
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

"mcpServers": { "polymarket-mcp": { "command": "uv", "args": [ "--directory", "/Users/{INSERT_USER}/YOUR/PATH/TO/polymarket-mcp", "run", "polymarket-mcp" //or src/polymarket_mcp/server.py ], "env": { "KEY": "<insert poly market api key>", "FUNDER": "<insert polymarket wallet address>" } } }