Skip to main content
Glama

MCP Weather Server

by le-yo

lookupCity

Retrieve city details by name, ID, or coordinates using the MCP Weather Server. Obtain a city ID for precise weather data integration with other tools. Supports multiple languages as needed.

Instructions

Look up city information by name, ID, or coordinates. Returns city ID that can be used with other weather tools.

Input Schema

NameRequiredDescriptionDefault
locationYesThe location to look up (city name, coordinates, etc.). Examples: 'London', 'New York', '39.9,116.3'
optionsNoLookup configuration options, all fields are optional

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "location": { "description": "The location to look up (city name, coordinates, etc.). Examples: 'London', 'New York', '39.9,116.3'", "type": "string" }, "options": { "additionalProperties": false, "description": "Lookup configuration options, all fields are optional", "properties": { "language": { "description": "Response language code (e.g., 'en' for English, 'zh' for Chinese)", "type": "string" } }, "type": "object" } }, "required": [ "location" ], "type": "object" }

Other Tools from MCP Weather Server

Related Tools

    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/le-yo/weather-mcp'

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