Install
$ agentstack add mcp-maximpyanin-llm-agent-mcp ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ● Environment & secrets Used
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
About
LLM Agent for Weather Determination
LLM agent for weather information retrieval through interaction with two APIs via unified MCP interface.
Description
The agent uses:
- Nominatim API for determining coordinates by city name
- Open-Meteo API for retrieving weather data by coordinates
- Groq LLM for natural language processing
- MCP protocol for unified tool access
Supports current weather, forecasts, and historical data in multiple languages.
Installation and Setup
Requirements
- Python 3.11+
- UV package manager
Setup
- Install dependencies:
``bash uv sync ``
- Create
.envfile with API key:
`` GROQ_API_KEY=your_groq_api_key_here ``
Running
Requires 2 terminals:
Terminal 1 - MCP Server:
uv run python -m app.mcp_server
Terminal 2 - UI:
uv run streamlit run app/streamlit_app.py
Usage Examples
"What's the weather in London today?"
"Weather forecast for next 3 days in Paris"
"What was the weather in Tokyo yesterday?"
Project Structure
app/
├── agents/weather_agent.py # Main agent logic
├── prompts/system_prompt.py # System prompt
├── schemas/ # Pydantic schemas
├── services/ # LLM service and settings
├── tools/ # API tools
├── ui/weather_ui.py # Streamlit interface
├── mcp_server.py # MCP server
└── streamlit_app.py # Entry point
Technical Details
- LLM: Groq (llama3-8b-8192)
- Framework: LangChain + LangGraph
- Pattern: ReAct (Reasoning + Acting)
- UI: Streamlit
- APIs: Nominatim (OpenStreetMap) + Open-Meteo
Source & license
This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: MaximPyanin
- Source: MaximPyanin/llm-agent-mcp
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.