
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.
能力定义尚未审核。未核验的采集内容不会作为可信接口展示。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
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 · 采集于 2026-11-13 13:28:39 UTC
保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。
当前显示最后一次成功采集的文档快照,请以来源页面为准。
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.
来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。
尚无已审核的包 / 镜像标识,暂不展示下载统计。
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.