MCP-GROQ
Delivers latest articles from Ars Technica with content parsing and summarization.
Provides web search functionality through DuckDuckGo, including content extraction and rate-limited requests.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP-GROQsearch for recent advancements in renewable energy"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP Tools Project
Overview
This project implements a suite of AI tools built on the Machine Communication Protocol (MCP) framework. Each tool leverages large language models through a client-server architecture to provide specialized functionality for search, mathematics, and news retrieval operations.
Related MCP server: xiaozhi MCP Aggregate
Features
DuckDuckGo Search Engine: Web search with content extraction capabilities
Mathematical Operations Engine: Basic arithmetic with natural language processing
Tech News Aggregator: Real-time technology news from reputable sources
Requirements
Python 3.8+
UV package manager
Groq API key
Installation
Setting up UV
If you don't have UV installed, install it first:
# Install UV using curl
curl -sSf https://install.ultraviolet.rs | sh
# Or with pip
pip install uvInstalling Project Dependencies
Clone the repository and install dependencies using the existing pyproject.toml:
# Clone the repository
git clone https://github.com/rahulsamant37/mcp-tools.git
cd mcp-tools
# Create and activate a virtual environment
uv venv
# On Windows:
.venv\Scripts\activate
# On macOS/Linux:
source .venv/bin/activate
# Install dependencies from pyproject.toml
uv pip syncIf you need to install dependencies without an existing pyproject.toml:
# Install directly (will update pyproject.toml and uv.lock)
uv pip install mcp langchain-mcp-adapters langchain-groq langgraph httpx beautifulsoup4 python-dotenvEnvironment Configuration
Create a .env file in the project root:
GROQ_API_KEY=your_groq_api_key_hereUsage Guide
Each tool can be tested independently by running its client script, which automatically launches the corresponding server component.
DuckDuckGo Search Tool
python duckduckgo_client.pyThis tool provides:
Web search functionality via DuckDuckGo
Content extraction from websites
Rate-limited requests to prevent IP blocking
Formatted search results optimized for LLM consumption
Math Calculation Tool
python math_client.pyThis tool enables:
Basic arithmetic operations (addition, multiplication)
Natural language processing of mathematical expressions
Integration with ReAct agents for complex problem solving
Tech News Retrieval Tool
python weather_client.pyThis tool delivers:
Latest articles from Ars Technica
Content parsing and summarization
Structured data output for LLM processing
Technical Architecture
The project implements a microservices architecture using MCP:
Server Layer
Implements domain-specific functionality
Exposes capabilities through standardized MCP interfaces
Handles rate limiting and error management
Processes raw data into LLM-friendly formats
Client Layer
Establishes connections to server components
Creates LangChain-compatible tool interfaces
Integrates with ReAct agents for reasoning
Manages conversation context and state
LLM Integration
Leverages Groq's Qwen-2.5-32b model for reasoning
Implements ReAct (Reasoning + Acting) methodology
Supports asynchronous operations for improved performance
Troubleshooting
Issue | Solution |
Connection errors | Check that no other processes are using required ports |
Authentication failures | Verify Groq API key in .env file |
Rate limiting | Implement exponential backoff between requests |
Timeout errors | Increase timeout values in httpx client configurations |
Dependency issues | Run |
UV sync errors | Check if pyproject.toml exists and is valid |
Contributing
To extend this project with new tools:
Create a server file implementing your tool's functionality
Expose methods using the
@mcp.tool()decoratorDevelop a client file that establishes connections and loads tools
Integrate with the ReAct agent framework
License
This project is licensed under the GNU License - see the LICENSE file for details.
Acknowledgments
langchain-mcp-adapters framework
Groq for LLM API access
This server cannot be deployed
Maintenance
Related MCP Connectors
Scrape, crawl and search the web for AI agents via MCP.
Web MCP: scrape/crawl sites, web search, brand assets, app stores, YouTube, Reddit, Hacker News.
5113Pay-per-use tool marketplace for AI agents. Search, price-check, and call APIs via MCP.
Live AI-native web search with citations. One tool for every MCP client. Flat per-request pricing.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceProvides comprehensive search capabilities including web search, content extraction, news search, academic search, and AI-powered multi-source research. Enables natural language access to web content and research through a production-ready MCP server.-
- FlicenseNot gradedqualityDmaintenanceAggregates MCP tools for remote control, email, system monitoring, and web search, enabling AI to interact with external systems.-
- AlicenseNot gradedqualityAmaintenanceMCP server for xAI Grok API with 19 tools for chat, web and X search, session management, tool chaining, image and video generation, and documentation.2MIT
- FlicenseNot gradedqualityDmaintenanceProvides a versatile set of utility tools for LLMs, including text processing, web fetching, and search capabilities, all accessible via MCP.-