Skip to main content
Glama

geocoding

Convert place names or postal codes into geographic coordinates (latitude/longitude) for use with weather data tools. Search locations worldwide to obtain precise location information required by meteorological APIs.

Instructions

Search for locations worldwide by place name or postal code. Returns geographic coordinates (latitude and longitude) and detailed location information. Use this tool when you need to convert a location name (e.g., "Paris", "New York") into precise coordinates (latitude/longitude) that are required by other tools. This is essential when you have a location name but need coordinates for data fetching tools.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesPlace name or postal code to search for. Minimum 2 characters required. Examples: "Paris", "Berlin", "75001", "10967"
countNoNumber of search results to return (maximum 100)
languageNoLanguage code for translated results (e.g., "fr", "en", "de"). Returns translated results if available, otherwise in English or native language.
countryCodeNoISO-3166-1 alpha2 country code to filter results (e.g., "FR", "DE", "US"). Limits search to a specific country.
formatNoReturn format for resultsjson

Latest Blog Posts

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/cmer81/open-meteo-mcp'

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