GROQ
БесплатноНе проверенProvides a suite of AI tools for web search, mathematical calculations, and tech news aggregation via MCP, leveraging Groq LLMs.
Описание
Provides a suite of AI tools for web search, mathematical calculations, and tech news aggregation via MCP, leveraging Groq LLMs.
README
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.
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 uv
Installing 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 sync
If 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-dotenv
Environment Configuration
Create a .env file in the project root:
GROQ_API_KEY=your_groq_api_key_here
Usage 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.py
This 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.py
This 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.py
This 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 pip list to verify installations |
| 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()decorator - Develop 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
- Machine Communication Protocol team
- langchain-mcp-adapters framework
- Groq for LLM API access
Установка GROQ
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/rahulsamant37/MCP-GROQFAQ
GROQ MCP бесплатный?
Да, GROQ MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для GROQ?
Нет, GROQ работает без API-ключей и переменных окружения.
GROQ — hosted или self-hosted?
Доступен hosted-вариант: Unyly запускает сервер в облаке, локальная установка не обязательна.
Как установить GROQ в Claude Desktop, Claude Code или Cursor?
Открой GROQ на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
автор: modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
автор: xuzexin-hzCompare GROQ with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории ai
