What does MCP stand for?
Model Context Protocol.
@Abhinavexists
基本信息
A Simple Implementation of the Model Context Protocol
Fetches weather alerts for a specified US state (using two-letter state code)
Retrieves weather forecasts for a specific location (using latitude and longitude)
MCP is a command-line tool that provides access to US weather data through a client-server architecture using the Model Context Protocol (MCP) and Google's Gemini AI. It connects a Python client with a weather data server that retrieves alerts and forecasts from the National Weather Service API.
Install dependencies using uv, create a .env file with your Gemini API key, then run python client.py server.py and type natural language queries about US weather, such as "What are the current weather alerts in CA?" or "What's the forecast for latitude 37.7749, longitude -122.4194?" Type quit to exit.
Model Context Protocol.
Python 3.8+, Node.js (if using the JavaScript server), and a Google Gemini API key.
Install `uv` with `pip install uv`, create a virtual environment with `uv venv`, activate it, then run `uv pip sync`.
Two tools: `get_alerts` (takes a two-letter US state code) and `get_forecast` (takes latitude and longitude).
The National Weather Service API (NWS).
This open-source curriculum introduces the fundamentals of Model Context Protocol (MCP) through real-world, cross-language examples in .NET, Java, TypeScript, JavaScript, Rust and Python. Designed for developers, it focuses on practical techniques for building modular, scalable,
Hindsight: Agent Memory That Learns
A search tool helps dev to solve the naming things problem.
🚀 The fast, Pythonic way to build MCP servers and clients.

Soar Flight Booking MCP is a remote MCP server available at https://mcp.soar.flights.
评论