
Polymarket Enhanced MCP Server
A powerful MCP server for analyzing Polymarket prediction markets with AI integration.
Setup
- Clone the repository:
git clone <repository-url>
cd Mcp-polymarket
- Create and activate a virtual environment:
python3 -m venv venv
source venv/bin/activate # On Windows: .\venv\Scripts\activate
- Install dependencies:
pip install -r requirements.txt
- Create a
.env
file in the root directory with your API keys:
GEMINI_API_KEY=your_gemini_api_key_here
- 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
-
refresh-prediction-markets
: Refresh market data -
fetch-prediction-markets
: Search markets by query -
fetch-prediction-market-details
: Get detailed market information -
research-prediction-markets-outcome-impact
: Analyze historical trends -
analyze-portfolio-with-markets
: Portfolio impact analysis -
verify-portfolio-risk-claims
: Verify risk analysis claims
Integration with Claude Desktop
- 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
}
}
}
- 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
相关推荐
Create and Publish Business Websites in seconds. AI will gather all the details about your website and generate link to your website.
Carbon footprint calculations breakdown and advices on how to reduce it
You're in a stone cell – can you get out? A classic choose-your-adventure interactive fiction game, based on a meticulously-crafted playbook. With a medieval fantasy setting, infinite choices and outcomes, and dice!
Text your favorite pet, after answering 10 questions about their everyday lives!
Best-in-class AI domain names scoring engine and availability checker. Brandability, domain worth, root keywords and more.
Evaluates language quality of texts, responds with a numerical score between 50-150.
🧑🚀 全世界最好的LLM资料总结(Agent框架、辅助编程、数据处理、模型训练、模型推理、o1 模型、MCP、小语言模型、视觉语言模型) | Summary of the world's best LLM resources.
Dify is an open-source LLM app development platform. Dify's intuitive interface combines AI workflow, RAG pipeline, agent capabilities, model management, observability features and more, letting you quickly go from prototype to production.
an easy-to-use dynamic service discovery, configuration and service management platform for building AI cloud native applications.
🔥 1Panel provides an intuitive web interface and MCP Server to manage websites, files, containers, databases, and LLMs on a Linux server.
AI's query engine - Platform for building AI that can answer questions over large scale federated data. - The only MCP Server you'll ever need
🧑🚀 全世界最好的LLM资料总结(视频生成、Agent、辅助编程、数据处理、模型训练、模型推理、o1 模型、MCP、小语言模型、视觉语言模型) | Summary of the world's best LLM resources.
PDF scientific paper translation with preserved formats - 基于 AI 完整保留排版的 PDF 文档全文双语翻译,支持 Google/DeepL/Ollama/OpenAI 等服务,提供 CLI/GUI/MCP/Docker/Zotero
✨ 易上手的多平台 LLM 聊天机器人及开发框架 ✨ 平台支持 QQ、QQ频道、Telegram、微信、企微、飞书、钉钉 | 知识库、MCP 服务器、OpenAI、DeepSeek、Gemini、硅基流动、月之暗面、Ollama、OneAPI、Dify 等。 WebUI。
FastGPT is a knowledge-based platform built on the LLMs, offers a comprehensive suite of out-of-the-box capabilities such as data processing, RAG retrieval, and visual AI workflow orchestration, letting you easily develop and deploy complex question-answering systems without the need for extensive setup or configuration.
Memory for AI Agents; SOTA in AI Agent Memory; Announcing OpenMemory MCP - local and secure memory management.
Reviews

user_0TZfbvF7
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.

user_y9IglldX
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.

user_QNniG7hK
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!

user_XRiW456B
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!