Skip to main content
Glama

Weather MCP Server

main.py399 B
import asyncio from server.weather import mcp async def main(): print("Starting Weather MCP Server...") print("Available tools:") print("- get_alerts: Get weather alerts for a US state") print("- echo_resource: Echo a message as a resource") print("\nServer is running...") # Start the MCP server await mcp.run() if __name__ == "__main__": asyncio.run(main())

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/onceagainarise/MCP-second-project-weather-forecaster-'

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