Skip to main content
Glama

MCP Weather Server

weather.py244 B
from mcp.server.fastmcp import FastMCP from tools import get_forcast # Initialize FastMCP server mcp = FastMCP("weather") get_forcast.register(mcp) if __name__ == "__main__": # Initialize and run the server mcp.run(transport='stdio')

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/jeannassereldine/mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server