
Store and retrieve entities, relations and observations in a persistent local knowledge graph.

A minimal example combining a LangGraph agent with MCP servers that supply math and weather tools.
MCP math and weather example servers with a LangGraph agent is cataloged as an MCP server attributed to hirokiyn. A minimal example combining a LangGraph agent with MCP servers that supply math and weather tools. It is categorized under ai agents-models. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.
Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for MCP math and weather example servers with a LangGraph agent are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
Yes, the MCP servers are configured in src/main.py and the configuration can be modified to add or remove servers.
README.md · f090245a115e · Fetched 2026-11-13 13:28:39 UTC
Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.
Showing the last retrieved documentation snapshot; check the source for current changes.
This is a minimal, functional example of an agent powered by LangGraph with tools implemented using MCP (Model Context Protocol) servers instead of traditional LangChain tools. It's based on the official LangGraph tutorial, adapted to demonstrate how to integrate MCP servers as tools.
🧠 Use this repo as a skeleton to quickly build your own LangGraph agent with MCP tools!
flowchart TD
__start__ --> chatbot
chatbot -.-> tools
chatbot -.-> __end__
tools --> chatbot
Clone the repository:
git clone <repository_url>
Install the dependencies using Poetry:
poetry install
Set the Anthropic API key in the .env file. You may need to create this file if it doesn't exist. For example:
ANTHROPIC_API_KEY=your_api_key
Start the MCP servers:
python src/mcp_servers/math_server.pypython src/mcp_servers/weather_server.pyRun the agent:
poetry run main
This will start the agent in interactive mode. You can then enter prompts, and the agent will respond using the tools provided by the MCP servers.
User: What's (3 + 5) x 12?
Assistant: The result of (3 + 5) × 12 = 96
User: What is the weather in New York?
Assistant: It's always sunny in New York.
The MCP servers are configured in src/main.py. You can modify the configuration to add or remove servers, or to change the transport mechanism.
The LLM used by the agent can be changed in src/common.py.
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for MCP math and weather example servers with a LangGraph agent from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/mcp-langgraph)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.
No reviewed package or image identity; download statistics are not listed yet.
Alternative and complementary servers in the same category

Store and retrieve entities, relations and observations in a persistent local knowledge graph.

Organize problem solving into revisable, branching thought steps through an MCP tool.

Query-aware context compression with an MCP plugin for coding agents, plus Python and HTTP interfaces for reducing the context sent to a language model.