SimpleMCPServer_Langchain
Verified Safeby bashithj
Overview
This project demonstrates an AI agent using LangGraph and LangChain's MCP adapters to orchestrate calls to multiple local MCP services (Math and Weather tools) for processing user queries.
Installation
python weather.pyEnvironment Variables
- GROQ_API_KEY
Security Notes
API keys are loaded from environment variables, which is good practice. No 'eval', 'exec', or other immediately dangerous patterns were found in the provided source code. The client launches a local subprocess for the math server, which is generally acceptable for local development but pathing should be robustly controlled in production environments.
Similar Servers
mcp-langchain
This project demonstrates using LangChain to orchestrate interactions with local micro-agents providing math and weather services.
fastmcp-example
This server enables AI agents to interact with external tools and data sources through the Model Context Protocol (MCP), integrated with LangChain and LangGraph for building multi-step workflows.
MultiServer-Mcp
This project demonstrates a multi-server tooling architecture using the MCP protocol, allowing a client to orchestrate and execute functions provided by separate math and text processing services.
MCP_Weather_Tools_Server
Provides an MCP server that enables LLMs to call a structured tool for real-time weather information using the Open-Meteo API.