Cover image
Try Now
2025-04-14

3 years

Works with Finder

0

Github Watches

0

Github Forks

0

Github Stars

Polymarket Enhanced MCP Server

A powerful MCP server for analyzing Polymarket prediction markets with AI integration.

Setup

  1. Clone the repository:
git clone <repository-url>
cd Mcp-polymarket
  1. Create and activate a virtual environment:
python3 -m venv venv
source venv/bin/activate  # On Windows: .\venv\Scripts\activate
  1. Install dependencies:
pip install -r requirements.txt
  1. Create a .env file in the root directory with your API keys:
GEMINI_API_KEY=your_gemini_api_key_here
  1. Run the server:
python3 enhanced_server_v3.py

Features

  • Real-time prediction market data from Polymarket
  • AI-powered market analysis using Google's Gemini
  • Portfolio impact analysis
  • Market trend analysis
  • Risk assessment tools

Configuration

The server can be configured through environment variables in the .env file:

  • GEMINI_API_KEY: Your Google Gemini API key (required for AI analysis)

Tools Available

  1. refresh-prediction-markets: Refresh market data
  2. fetch-prediction-markets: Search markets by query
  3. fetch-prediction-market-details: Get detailed market information
  4. research-prediction-markets-outcome-impact: Analyze historical trends
  5. analyze-portfolio-with-markets: Portfolio impact analysis
  6. verify-portfolio-risk-claims: Verify risk analysis claims

Integration with Claude Desktop

  1. Update your Claude Desktop configuration:
{
    "mcpServers": {
        "polymarket_enhanced": {
            "command": "sh",
            "args": [
                "-c",
                "cd /path/to/Mcp-polymarket && source venv/bin/activate && python3 enhanced_server_v3.py"
            ],
            "restartOnExit": true,
            "maxRestarts": 5
        }
    }
}
  1. Restart Claude Desktop to apply the changes.

Notes

  • The server requires Python 3.8 or higher
  • Make sure to keep your API keys secure and never commit them to version control
  • The AI analysis features require a valid Gemini API key

相关推荐

  • av
  • 毫不费力地使用一个命令运行LLM后端,API,前端和服务。

  • 1Panel-dev
  • 🔥1Panel提供了直观的Web接口和MCP服务器,用于在Linux服务器上管理网站,文件,容器,数据库和LLMS。

  • WangRongsheng
  • 🧑‍🚀 llm 资料总结(数据处理、模型训练、模型部署、 o1 模型、mcp 、小语言模型、视觉语言模型)|摘要世界上最好的LLM资源。

  • rulego
  • ⛓️Rulego是一种轻巧,高性能,嵌入式,下一代组件编排规则引擎框架。

  • Byaidu
  • PDF科学纸翻译带有保留格式的pdf -基于ai完整保留排版的pdf文档全文双语翻译

  • sigoden
  • 使用普通的bash/javascript/python函数轻松创建LLM工具和代理。

  • hkr04
  • 轻巧的C ++ MCP(模型上下文协议)SDK

  • RockChinQ
  • 😎简单易用、🧩丰富生态 -大模型原生即时通信机器人平台| 适配QQ / 微信(企业微信、个人微信) /飞书 /钉钉 / discord / telegram / slack等平台| 支持chatgpt,deepseek,dify,claude,基于LLM的即时消息机器人平台,支持Discord,Telegram,微信,Lark,Dingtalk,QQ,Slack

  • dmayboroda
  • 带有可配置容器的本地对话抹布

  • modelscope
  • 开始以更轻松的方式开始构建具有LLM授权的多代理应用程序。

    Reviews

    2 (4)
    Avatar
    user_0TZfbvF7
    2025-04-24

    Mcp-polymarket by AyushRatan1 is an exceptional tool for anyone looking to engage with polymarkets seamlessly. The interface is user-friendly, and the features are robust, providing a comprehensive platform for users. The welcoming message is inviting, making the initial experience pleasant. Overall, it's a highly recommended application for polymarket enthusiasts.

    Avatar
    user_y9IglldX
    2025-04-24

    As a dedicated user of Mcp-polymarket, I find it to be an exceptional tool for navigating and engaging with prediction markets. Developed by AyushRatan1, it provides a smooth and intuitive interface that enhances my experience significantly. The attention to detail and user-friendly approach makes it a standout application for anyone interested in this field.

    Avatar
    user_QNniG7hK
    2025-04-24

    I'm an avid user of Mcp-polymarket and I must say it's a fantastic product! AyushRatan1 has done an incredible job with this application. The interface is user-friendly and intuitive. It provides exceptional utility for managing my market needs efficiently. If you are looking for a reliable and well-designed poly market tool, this is the one to go for! Highly recommended!

    Avatar
    user_XRiW456B
    2025-04-24

    Mcp-polymarket by AyushRatan1 is an exceptional application for market analysis. Its user-friendly interface and comprehensive data collection tools make it a must-have for anyone serious about market trends. The intuitive design seamlessly guides users, ensuring a smooth experience from the start. Highly recommended!