
A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

A demonstration project with an MCP weather tool server that provides weather alerts and forecasts, connected to a Gemini-powered client.
Weather tool MCP server paired with a Gemini client is cataloged as an MCP server attributed to karlheinzniebuhr. A demonstration project with an MCP weather tool server that provides weather alerts and forecasts, connected to a Gemini-powered client. It is categorized under developer tools. 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 Weather tool MCP server paired with a Gemini client 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.
It offers weather-related tools named get_alerts and get_forecast.
Combined logs from both the client and the server, detailed to show the full data flow.
README.md · 6385da7165a8 · Fetched 2026-11-13 13:34:42 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.
TL;DR / Resumen
pip install -r requirements.txt.env con GEMINI_API_KEY=TU_CLAVE_API_AQUI.python mcp_gemini_client.py weather_tool_server.pyEste repositorio demuestra cómo usar el protocolo MCP (Model-Client-Protocol) para conectar un cliente de IA (usando Google Gemini) con un servidor que proporciona herramientas especializadas (en este caso, herramientas meteorológicas).
El sistema actúa como un puente entre la IA de Gemini y las herramientas especializadas. Aquí está el flujo explicado de forma sencilla:
mcp_gemini_client.py - Este es el "intermediario" que:
weather_tool_server.py).weather_tool_server.py - Este es el "proveedor de herramientas" que:
get_alerts, get_forecast).MCP (Model-Client-Protocol) - Este es el "sistema de comunicación" que:
mcp_gemini_client.py envía esta pregunta a la IA de Gemini.weather_tool_server.py.get_forecast).weather_tool_server.py.pip install google-generativeai python-dotenv mcp-protocols # Asegúrate de que mcp-protocols sea el paquete correcto
.env en la raíz del proyecto..env:
GEMINI_API_KEY=TU_CLAVE_API_AQUI
mcp_gemini_client.py y weather_tool_server.py estén en el mismo directorio.python mcp_gemini_client.py weather_tool_server.py
mcp_log.txt)mcp_gemini_client.py) como del servidor (weather_tool_server.py).mcp_gemini_client o weather_tool_server) para que puedas identificar qué componente generó el mensaje.Aquí hay un ejemplo simplificado de cómo se ven los logs de una interacción completa, mostrando las comunicaciones clave:
Cliente envía el prompt inicial a Gemini (con descripción de herramientas):
2025-04-21 12:31:54,519 - __main__ - INFO - === Prompt Sent to Gemini (Initial) ===
You are an assistant that helps users with weather information.
You have access to the following tools:
...
Tool: get_forecast
Description: Get weather forecast for a location...
Schema: {...}
...
When you need to use a tool, format your response like this:
TOOL_NAME: {the tool name}
TOOL_ARGS: {JSON formatted arguments for the tool}
...
The user message is: cual es el tiempo en nyc ?
======================================
Gemini responde solicitando una herramienta:
2025-04-21 12:31:56,049 - __main__ - INFO - === Raw Response Received from Gemini (Initial) ===
TOOL_NAME: get_forecast
TOOL_ARGS: {"latitude": 40.7128, "longitude": -74.0060}
===============================================
Cliente analiza la respuesta y envía la solicitud de herramienta MCP al servidor:
2025-04-21 12:31:56,050 - __main__ - INFO - Executing MCP tool: get_forecast with args: {'latitude': 40.7128, 'longitude': -74.006}
Servidor recibe la solicitud de herramienta MCP:
2025-04-21 12:31:56,052 - INFO - mcp.server.lowlevel.server - Processing request of type CallToolRequest
2025-04-21 12:31:56,052 - INFO - __main__ - MCP Request Received: get_forecast with latitude: 40.7128, longitude: -74.006
Servidor ejecuta la herramienta y envía la respuesta MCP al cliente:
2025-04-21 12:31:57,180 - INFO - __main__ - === MCP Response Sent (get_forecast) ===
Today:
Temperature: 56F
...
Forecast: Cloudy. High near 56...
---...
=======================================
Cliente recibe la respuesta de la herramienta MCP:
2025-04-21 12:31:57,182 - __main__ - INFO - Raw MCP Tool Result Object Received: meta=None content=[TextContent(type='text', text='\n Today:\n...)] isError=False
2025-04-21 12:31:57,182 - __main__ - INFO - MCP tool get_forecast executed. Extracted Result Content: [TextContent(type='text', text='\n Today:\n...)]...
Cliente envía el prompt final a Gemini (con resultado de la herramienta):
2025-04-21 12:31:57,182 - __main__ - INFO - === Prompt Sent to Gemini (Final) ===
I asked for information about the weather in response to: "cual es el tiempo en nyc ?"
I used the get_forecast tool with these arguments: {"latitude": 40.7128, "longitude": -74.006}
The tool returned this result: [TextContent(type='text', text='\n Today:\n...')]
Please provide a helpful, user-friendly response based on this information.
=======================================
Gemini responde con la respuesta final formateada para el usuario:
2025-04-21 12:31:59,000 - __main__ - INFO - === Raw Response Received from Gemini (Final) ===
The weather in NYC looks like this:
**Today:** Cloudy with a high of 56F...
...
===============================================
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for Weather tool MCP server paired with a Gemini client from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/mcp-server-client-demo-with-gemini)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

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.