MCP-Add-Weather
Manages environment variables for API keys, specifically configured to store the GROQ_API_KEY needed for the server's operation.
Enables interaction with a Math Server that performs mathematical operations and a Weather Server that provides weather information based on location codes.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
I am using UV as virtual envirnoment
My client llm will call Math Server to get addition and multiplcation then it will pass the value from math Server to weather server to get the weather details.
TODOS:
Instead of returning multiplcation - return zip code. Pass that zipcode to weather server to get the weather result.
Please create a .env file and add GROQ_API_KEY="YOUR KEY"
Commands to Run ```uv init`` if you dont have pyproject.toml or if you are doing from scratch.
Open Terminal 1 to run weather
uv venv
source .venv/bin/activate
uv add -r requirements.txt
python weather.py
Open Terminal 2 to run client that aggregates addition and weather
uv venv
source .venv/bin/activate
uv add -r requirements.txt
python client.py or python client_local_ollama.py for local
To RUN Locally
Install Ollama. Once Ollama installed, Please verify by running
ollama run llama3 if it worked then we are good to go.
Output
1. **Add 3 and 5**:
\( 3 + 5 = 8 \)
2. **Multiply the result by 12**:
\( 8 \times 12 = 96 \)
**Final Answer:**
\boxed{96}
Extracted number : 96
Weather Answer: The weather in location 96 is **rainy all the time**. However, the temperature information you mentioned ({math_result}) isn't available through the provided tools. Let me know if you'd like further clarification!
(MCP-Add-Weather) kasinathnalla@macbookpro MCP-Add-Weather % ```
This server cannot be deployed
Maintenance
Related MCP Connectors
Agent Negotiation MCP Server by MEOK AI Labs
Authenticated Multi-LLM Agent
Agent-to-agent reasoning-as-a-service: chain-of-thought, analysis, and decision support.
Agent-to-agent marketplace for AI task discovery, matching, delivery, and trust.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceA multi-tool AI assistant system that uses Model Context Protocol to connect language models with various tools, including math calculations and weather information.-
- FlicenseNot gradedqualityDmaintenanceDemonstrates custom MCP servers for math and weather operations, enabling multi-agent orchestration using LangChain, Groq, and MCP adapters for both local and remote tool integration.1-
- FlicenseNot gradedqualityDmaintenanceMulti-agent AI tools for email automation (Outlook), weather (OpenWeather API), sticky notes, and arithmetic, all served via FastMCP.-
- FlicenseNot gradedqualityDmaintenanceAn MCP server that provides math tools (add, subtract, multiply) and a weather tool, with a LangChain agent client that uses Groq to answer natural language queries.-