Pollinations Think MCP Server
Provides advanced AI reasoning and strategic thinking capabilities using Pollinations AI API with DeepSeek models, plus real-time web search through SearchGPT for comprehensive analysis and research.
README
๐ง Pollinations Think MCP Server
An advanced Model Context Protocol (MCP) server that provides sophisticated thinking and analysis capabilities using the Pollinations AI API with DeepSeek reasoning models.
๐ Features
- ๐ฏ Advanced Strategic Thinking: Multi-cycle analysis with contradiction detection and synthesis
- ๐ Flexible Model Support: DeepSeek reasoning, OpenAI reasoning, and other advanced models
- ๐ก๏ธ Robust Error Handling: Comprehensive retry logic and graceful degradation
- โ๏ธ Configurable Parameters: Customizable thinking cycles, timeouts, and model selection
- ๐ Health Monitoring: Built-in health checks and status monitoring
- โ๏ธ Cloud Deployment Ready: Optimized for Smithery.ai deployment to resolve network issues
๐ ๏ธ Available Tools
1. think
Advanced strategic thinking and analysis using openai-reasoning model.
Parameters:
text(required): The topic, question, or problem to analyzemodel(optional): AI model to use (default: openai-reasoning)seed(optional): Random seed for reproducible resultsmaxCycles(optional): Maximum thinking cycles (default: 3, max: 5)
Example:
{
"name": "think",
"arguments": {
"text": "Should a startup focus on growth or profitability first?",
"maxCycles": 3
}
}
2. search
Search the web in real-time using SearchGPT model.
Parameters:
query(required): The search query to find information on the web
Example:
{
"name": "search",
"arguments": {
"query": "latest AI developments 2024"
}
}
3. continue_thinking
Continue receiving the next part of a large thinking response.
Parameters: None
Example:
{
"name": "continue_thinking",
"arguments": {}
}
๐ Installation
-
Clone the repository:
git clone <repository-url> cd pollinations-think-mcp -
Install dependencies:
npm install -
Start the server:
npm start
๐งช Testing
Run Basic Tests
npm test
Test Search Functionality
node test-search.js
Manual API Testing
Test the SearchGPT endpoint directly:
# PowerShell
(Invoke-WebRequest -Uri 'https://text.pollinations.ai/your query here/?model=searchgpt' -Method Get).Content
๐ API Endpoints Used
Thinking (OpenAI Reasoning)
- URL:
https://text.pollinations.ai/{prompt}/?model=openai-reasoning&token= - Method: GET
- Purpose: Advanced reasoning and strategic analysis
Search (SearchGPT)
- URL:
https://text.pollinations.ai/{prompt}/?model=searchgpt&token= - Method: GET
- Purpose: Real-time web search and current information retrieval
๐ง Configuration
MCP Client Setup
Add to your MCP client configuration:
{
"mcpServers": {
"pollinations-think": {
"command": "node",
"args": ["/path/to/pollinations-think-mcp/index.js"]
}
}
}
Environment Variables
No environment variables required - the server uses public Pollinations.ai endpoints.
๐ Response Handling
Large Response Management
- Responses exceeding ~30KB are automatically split
- Use
continue_thinkingtool to get subsequent parts - Continuation data is maintained across calls
Error Handling
- Comprehensive error messages for debugging
- Graceful fallbacks for API failures
- Detailed logging for troubleshooting
๐ฏ Use Cases
Strategic Thinking
- Business strategy development
- Problem-solving and decision making
- Risk assessment and mitigation planning
- Innovation and opportunity analysis
Web Search
- Current events and news research
- Market research and competitive analysis
- Technical documentation lookup
- Real-time data verification
๐ Example Outputs
Think Tool Response
# ๐ง Advanced Strategic Thinking Analysis
## ๐ Analysis Overview
- Topic: Should a startup focus on growth or profitability first?
- Thinking Cycles: 3
- Analysis Depth: Advanced Multi-Layer Cognitive Processing
## ๐ฏ Strategic Analysis
[Comprehensive strategic framework with executive summary,
risk mitigation, success metrics, and next steps]
## ๐ฌ Meta-Cognitive Assessment
[Quality assessment and thinking process evaluation]
Search Tool Response
# ๐ Web Search Results: latest AI developments 2024
## Recent AI Developments:
- [Trump plans executive orders to power AI growth](https://reuters.com/...)
- [Nvidia CES 2025 keynote highlights](https://apnews.com/...)
- [OpenAI's AGI roadmap for 2025](https://time.com/...)
[Detailed search results with sources and current information]
๐ก๏ธ Security
- Uses public API endpoints (no authentication required)
- No sensitive data storage
- Input validation and sanitization
- Safe error handling
๐ Version History
v2.0.0
- โ Added real-time web search with SearchGPT
- โ Enhanced thinking engine with meta-cognitive assessment
- โ Improved response handling for large outputs
- โ Comprehensive testing suite
v1.0.0
- Initial release with strategic thinking capabilities
- DeepSeek reasoning integration
- Basic MCP server implementation
๐ค Contributing
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests for new functionality
- Submit a pull request
๐ License
MIT License - see LICENSE file for details.
๐ Acknowledgments
- Pollinations.ai for providing the AI API endpoints
- Model Context Protocol for the MCP framework
- DeepSeek for the reasoning model
- SearchGPT for real-time web search capabilities
Made with โค๏ธ for the MCP community
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.