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).
YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context
Hindsight: Agent Memory That Learns
A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
MCP Toolbox for Databases is an open source MCP server for databases.
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,
评论