GeoSphere MCP Server
Provides geocoding and reverse geocoding tools using OpenStreetMap Nominatim to convert addresses or place names to coordinates and coordinates to full street addresses.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@GeoSphere MCP Server what's the weather in Tokyo this week?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
π GeoSphere MCP Server
Real-world geo-intelligence for AI agents β weather, geocoding, live flights, package tracking, currencies, earthquakes, and space data. Zero API keys required to get started.
What is this?
GeoSphere is a Model Context Protocol (MCP) server that gives AI agents access to 16 real-world tools across 7 categories β all backed by free, public APIs with no sign-up or API keys required.
Drop it into Kiro, Claude Code, GitHub Copilot, Cursor, Windsurf, or any MCP-compatible client and your AI gains real-world awareness: "What's the weather in Tokyo?", "Track this UPS package", "What flights are over New York right now?", "Is December 25th a holiday in Germany?"
Related MCP server: broke2built-skills-mcp
Tools (16 total)
πΊοΈ Geocoding β OpenStreetMap Nominatim
Tool | Description |
| Address or place name β latitude & longitude |
| Latitude & longitude β full street address |
π IP Location β ip-api.com
Tool | Description |
| IP address β city, country, timezone, ISP, ASN |
π€οΈ Weather & Environment β Open-Meteo
Tool | Description |
| Current conditions + 7-day forecast for any location |
| Historical daily weather, back to 1940 |
| AQI, PM2.5, PM10, CO, NOβ, ozone, UV index |
βοΈ Solar Data β SunriseSunset.io
Tool | Description |
| Sunrise, sunset, golden hour, twilight times for any date & location |
π Countries β RestCountries
Tool | Description |
| Population, capital, currencies, languages, borders, flag, calling code |
π Public Holidays β Nager.Date
Tool | Description |
| All public holidays for 200+ countries, any year |
| Check if a specific date is a holiday in a country |
π± Currency β Frankfurter (ECB rates)
Tool | Description |
| Convert between 200+ currencies using official central bank rates |
| All exchange rates for a base currency (live or historical) |
π Earthquakes β USGS
Tool | Description |
| Recent earthquakes globally or by radius β magnitude, depth, tsunami alerts |
βοΈ Flights β OpenSky Network
Tool | Description |
| Live aircraft in a geographic bounding box |
| Track a specific flight by callsign or ICAO24 code |
π¦ Package Tracking β Carrier Detection
Tool | Description |
| Detect carrier (USPS/FedEx/UPS/DHL/Amazon) + tracking URLs |
| Identify which carrier a tracking number belongs to |
πΈ Space β Open Notify
Tool | Description |
| Real-time ISS position (+ distance from your location) |
| Everyone currently in space, by spacecraft |
Quick Start
Prerequisites: Python 3.12+ and uv (recommended) or pip.
# Clone the repo
git clone https://github.com/yourusername/geosphere-mcp-server.git
cd geosphere-mcp-server
# Install dependencies
uv sync
# Test it works
uv run mcp dev main.pyThe MCP Inspector opens at http://localhost:5173 β you can call any tool interactively.
Add to Your AI Client
π· Kiro (VS Code Extension)
Edit .kiro/settings/mcp.json in your workspace, or the global ~/.kiro/settings/mcp.json:
{
"mcpServers": {
"geosphere": {
"command": "uv",
"args": [
"run",
"--directory",
"/absolute/path/to/geosphere-mcp-server",
"main.py"
]
}
}
}Then use it in Kiro: "What's the air quality in Delhi right now?"
π£ Claude Code (Anthropic CLI)
claude mcp add geosphere -- uv run --directory /absolute/path/to/geosphere-mcp-server main.pyOr add manually to ~/.claude/claude_desktop_config.json (Claude Desktop):
{
"mcpServers": {
"geosphere": {
"command": "uv",
"args": [
"run",
"--directory",
"/absolute/path/to/geosphere-mcp-server",
"main.py"
]
}
}
}π΅ GitHub Copilot (VS Code)
Open VS Code settings (Cmd+,) β search MCP β click Edit in settings.json, then add:
{
"mcp": {
"servers": {
"geosphere": {
"type": "stdio",
"command": "uv",
"args": [
"run",
"--directory",
"/absolute/path/to/geosphere-mcp-server",
"main.py"
]
}
}
}
}Then open Copilot Chat, switch to Agent mode, and ask: "What's the weather forecast for San Francisco this week?"
π Cursor
Open Cursor Settings β MCP β Add new MCP server:
{
"mcpServers": {
"geosphere": {
"command": "uv",
"args": [
"run",
"--directory",
"/absolute/path/to/geosphere-mcp-server",
"main.py"
]
}
}
}π’ Windsurf (Codeium)
Edit ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"geosphere": {
"command": "uv",
"args": [
"run",
"--directory",
"/absolute/path/to/geosphere-mcp-server",
"main.py"
]
}
}
}π€ Any MCP-Compatible Client (Generic)
The server speaks stdio transport (standard MCP). Pass these to any client:
Field | Value |
Command |
|
Args |
|
Transport |
|
π Use as a Python Library (programmatic)
import asyncio
import httpx
# Example: call the geocode logic directly
async def main():
async with httpx.AsyncClient() as client:
resp = await client.get(
"https://nominatim.openstreetmap.org/search",
params={"q": "Tokyo, Japan", "format": "json", "limit": 1},
headers={"User-Agent": "my-app/1.0"},
)
print(resp.json())
asyncio.run(main())Example Prompts
Once connected to your AI client, try these:
What's the weather in Mumbai this week?
Reverse geocode 48.8584, 2.2945
What flights are currently over the UK?
Track package 1Z9999W99999999999
Is January 1st a holiday in Japan?
Convert 500 USD to EUR
Show me earthquakes above magnitude 5 in the last 7 days
What's the air quality in Beijing right now?
Where is the ISS right now?
Who is currently in space?
Tell me about Germany β population, capital, currencies, borders
What's my IP location?API Sources & Limits
Tool Group | API | Rate Limits | Key Required |
Geocoding | 1 req/sec | β No | |
IP Location | 45 req/min | β No | |
Weather / AQI / History | 10,000/day | β No | |
Sunrise/Sunset | Generous | β No | |
Countries | Unlimited | β No | |
Public Holidays | Generous | β No | |
Currency | Generous | β No | |
Earthquakes | Unlimited | β No | |
Flights | ~400 req/day anonymous | β No | |
Package Tracking | Carrier detection + links | Unlimited (no live status) | β No |
Space | Unlimited | β No |
Package tracking note: The
track_packagetool detects the carrier and returns direct official tracking links. Live programmatic status requires a free key from 17track.net (100 free/month).Flight tracking note: OpenSky anonymous access works best from residential/office IPs. Datacenter IPs may be blocked.
Project Structure
geosphere-mcp-server/
βββ main.py # Entry point
βββ pyproject.toml # Package metadata & dependencies
βββ README.md
βββ LICENSE
βββ geosphere/
βββ __init__.py
βββ server.py # FastMCP server wiring
βββ tools/
βββ __init__.py
βββ geocoding.py # geocode, reverse_geocode
βββ ip_location.py # get_ip_location
βββ weather.py # get_weather, get_weather_history, get_air_quality
βββ sun.py # get_sunrise_sunset
βββ country.py # get_country_info
βββ holidays.py # get_public_holidays, is_public_holiday
βββ currency.py # convert_currency, get_exchange_rates
βββ earthquakes.py # get_earthquakes
βββ flights.py # track_flights_by_area, track_flight_by_callsign
βββ packages.py # track_package, identify_carrier
βββ space.py # get_iss_location, get_people_in_spaceTech Stack
Component | Technology |
Language | Python 3.12+ |
MCP SDK |
|
HTTP Client |
|
Validation |
|
Package Manager |
|
Transport | stdio (MCP standard) |
Contributing
Pull requests are welcome. To add a new tool:
Create a file in
geosphere/tools/your_tool.pyDefine a
register(mcp: FastMCP) -> NonefunctionAdd
@mcp.tool()decorated async functions inside itImport and call
your_tool.register(mcp)ingeosphere/server.py
License
MIT Β© 2025 β see LICENSE
Built with the Model Context Protocol SDK by Anthropic.
Available Tools
19 toolsconvert_currencyA
Convert an amount between currencies using official central bank exchange rates.
Args:
amount: Amount to convert (e.g. 100.0).
from_currency: Source currency ISO 4217 code (e.g. "USD", "EUR", "GBP", "JPY").
to_currency: Target currency ISO 4217 code (e.g. "INR", "CAD", "AUD").
date: "latest" for today's rate (default), or a date in YYYY-MM-DD format
for a historical rate (data goes back to 1999).
Returns:
Converted amount, exchange rate used, and the date the rate was recorded.
Inputs: amount (required), to_currency (required), from_currency (required), date.
geocodeA
Convert a place name or address into geographic coordinates (latitude & longitude).
Args:
location: Any address, city, landmark, or place name (e.g. "Eiffel Tower, Paris",
"1600 Pennsylvania Ave NW, Washington DC", "Tokyo, Japan").
Returns:
Latitude, longitude, display name, bounding box, and place type.
Inputs: location (required).
get_air_qualityA
Get current air quality index and pollutant concentrations for any location on Earth.
Args:
latitude: Decimal degrees latitude.
longitude: Decimal degrees longitude.
Returns:
European AQI, US AQI, PM2.5, PM10, CO, NOβ, SOβ, ozone levels, and dust.
Inputs: latitude (required), longitude (required).
get_country_infoA
Get comprehensive information about a country including population, capital, currencies,
languages, borders, timezones, and more.
Args:
country: Country name (e.g. "Germany", "Japan"), ISO 3166-1 alpha-2 code (e.g. "DE"),
or alpha-3 code (e.g. "DEU").
Returns:
Official name, capital, population, area, region, languages, currencies, borders,
timezones, calling code, TLD, flag emoji, and Google Maps link.
Inputs: country (required).
get_earthquakesA
Retrieve recent earthquake events from the USGS global seismic network.
Args:
min_magnitude: Minimum Richter magnitude to include (default 4.0).
Use 2.5 for local quakes, 6.0 for major events only.
days_back: How many days back to search (default 7, max 365).
latitude: Optional center latitude for a radius search.
If omitted, returns global results.
longitude: Optional center longitude for a radius search.
radius_km: Search radius in kilometers around the lat/lon point (default 500 km).
Only used when latitude and longitude are provided.
limit: Maximum number of results to return (default 20, max 100).
Returns:
List of earthquakes with magnitude, location, depth, time, and USGS event link.
Inputs: limit, latitude, days_back, longitude, +2 more.
get_exchange_ratesA
Get exchange rates for a base currency against all supported currencies.
Args:
base_currency: Base currency ISO 4217 code (e.g. "USD", "EUR"). Defaults to "USD".
date: "latest" for today's rates (default), or YYYY-MM-DD for historical rates.
Returns:
Exchange rates for the base currency against all available currencies, with the rate date.
Inputs: date, base_currency.
get_ip_locationA
Look up the geographic location, ISP, timezone, and network details of an IP address.
Args:
ip_address: IPv4 or IPv6 address to look up (e.g. "8.8.8.8").
Leave empty or pass "me" to look up your own public IP address.
Returns:
City, region, country, coordinates, timezone, ISP, organization, and ASN.
Inputs: ip_address.
get_iss_locationA
Get the current real-time position of the International Space Station (ISS).
Args:
observer_latitude: Optional. Your latitude to calculate how far the ISS is from you.
observer_longitude: Optional. Your longitude to calculate how far the ISS is from you.
Returns:
Current ISS latitude, longitude, timestamp, and optionally the distance from your location.
The ISS travels at ~28,000 km/h and completes an orbit every ~92 minutes.
Inputs: observer_latitude, observer_longitude.
get_people_in_spaceA
Get the current list of people aboard the International Space Station and other spacecraft.
Returns:
Names of all humans currently in space, their spacecraft, and the total count.
Inputs: no named parameters.
get_public_holidaysA
Get the list of public holidays for any country and year.
Args:
country_code: ISO 3166-1 alpha-2 country code (e.g. "US", "DE", "JP", "IN", "GB").
Supports 200+ countries.
year: 4-digit year (e.g. 2025). Defaults to the current year.
Returns:
List of public holidays with dates, names, types, and whether they are global
or region-specific within the country.
Inputs: country_code (required), year.
get_sunrise_sunsetA
Get sunrise, sunset, golden hour, twilight, and solar noon for any location and date.
Args:
latitude: Decimal degrees latitude (e.g. 40.7128 for New York City).
longitude: Decimal degrees longitude (e.g. -74.0060 for New York City).
date: Date in YYYY-MM-DD format, or "today" (default) or "tomorrow".
timezone: IANA timezone name (e.g. "America/New_York", "Asia/Tokyo"). Defaults to "UTC".
Returns:
Sunrise, sunset, solar noon, golden hour start/end, civil/nautical/astronomical
twilight times, and day length.
Inputs: latitude (required), longitude (required), date, timezone.
get_weatherA
Get current weather conditions and a 7-day daily forecast for any location on Earth.
Args:
latitude: Decimal degrees latitude (use the geocode tool if you only have an address).
longitude: Decimal degrees longitude.
temperature_unit: "celsius" (default) or "fahrenheit".
Returns:
Current conditions (temperature, wind, humidity, weather description) plus
a 7-day daily forecast with high/low temps, precipitation, and sunrise/sunset times.
Inputs: latitude (required), longitude (required), temperature_unit.
get_weather_historyA
Retrieve historical weather data for any location, going back to 1940.
Args:
latitude: Decimal degrees latitude.
longitude: Decimal degrees longitude.
start_date: Start date in YYYY-MM-DD format (e.g. "2024-01-01").
end_date: End date in YYYY-MM-DD format (e.g. "2024-01-07"). Max range: 1 year.
temperature_unit: "celsius" (default) or "fahrenheit".
Returns:
Daily historical weather records including temperature, precipitation, and wind.
Inputs: end_date (required), latitude (required), longitude (required), start_date (required), +1 more.
identify_carrierA
Identify which shipping carrier a tracking number belongs to, based on its format.
Args:
tracking_number: Any package tracking number.
Returns:
Carrier name, detection confidence, and format description.
Inputs: tracking_number (required).
is_public_holidayA
Check whether a specific date is a public holiday in a given country.
Args:
country_code: ISO 3166-1 alpha-2 country code (e.g. "US", "GB", "AU").
date: Date to check in YYYY-MM-DD format (e.g. "2025-12-25").
Returns:
Whether the date is a public holiday, and if so, the holiday details.
Inputs: date (required), country_code (required).
reverse_geocodeA
Convert geographic coordinates (latitude & longitude) into a human-readable address.
Args:
latitude: Decimal degrees latitude (e.g. 48.8584 for the Eiffel Tower).
longitude: Decimal degrees longitude (e.g. 2.2945 for the Eiffel Tower).
Returns:
Full address, city, country, postcode, and structured address components.
Inputs: latitude (required), longitude (required).
track_flight_by_callsignA
Look up the current live position of a specific flight by its callsign or ICAO24 hex code.
Args:
callsign: Flight callsign (e.g. "UAL123" for United Airlines 123) or
ICAO24 transponder hex code (e.g. "a0b1c2").
Callsigns are typically the airline IATA/ICAO code + flight number.
Returns:
Current position, altitude, speed, heading, and aircraft details if the flight
is currently tracked. Returns not_found if the aircraft is on the ground or
not currently visible to ADS-B receivers.
Inputs: callsign (required).
track_flights_by_areaA
Get live positions of all aircraft currently flying within a geographic bounding box.
Args:
min_latitude: Southern boundary of the search area (e.g. 24.0 for continental US).
max_latitude: Northern boundary of the search area (e.g. 50.0 for continental US).
min_longitude: Western boundary of the search area (e.g. -125.0 for continental US).
max_longitude: Eastern boundary of the search area (e.g. -66.0 for continental US).
Returns:
List of aircraft with callsign, position, altitude, speed, heading, and origin country.
Examples:
Continental US: min_lat=24, max_lat=50, min_lon=-125, max_lon=-66
Western Europe: min_lat=36, max_lat=60, min_lon=-10, max_lon=20
United Kingdom: min_lat=49, max_lat=61, min_lon=-8, max_lon=2
India: min_lat=8, max_lat=37, min_lon=68, max_lon=97
Inputs: max_latitude (required), min_latitude (required), max_longitude (required), min_longitude (required).
track_packageA
Identify the shipping carrier from a tracking number and return direct tracking links
for USPS, FedEx, UPS, DHL, Amazon, and 3500+ other carriers.
Args:
tracking_number: Package tracking number from any major carrier
(e.g. "1Z9999W99999999999" for UPS, "9400111899223397056868" for USPS,
"449044304137821" for FedEx, "1234567890" for DHL).
Returns:
Detected carrier, confidence level, direct carrier tracking URL, and
universal aggregator links that work for any carrier worldwide.
Note:
This tool detects the carrier and returns tracking URLs that you can open in a browser.
For programmatic real-time status, sign up for a free API key at https://api.17track.net
(free tier: 100 tracking numbers/month).
Inputs: tracking_number (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
TDQS
Scored across 19 tools
Most tools target a distinct resource: geocode/reverse_geocode, get_weather/get_weather_history, and track_flights_by_area/track_flight_by_callsign are cleanly separated by input shape and result. Two pairs blur slightly: get_public_holidays vs is_public_holiday, and track_package vs identify_carrier (track_package already returns carrier detection plus links, making identify_carrier a strict subset). Descriptions do enough to steer an agent away from misselection.
Nearly every tool follows a clear verb_noun snake_case pattern (get_weather, get_earthquakes, track_flight_by_callsign, convert_currency, is_public_holiday). The only deviations are the bare-verb 'geocode' and 'reverse_geocode', which are idiomatic for the domain and still obviously paired. No mixed casing or chaotic verb styles.
At 19 tools this sits in the heavy band for a single server, and the surface stretches beyond geography into currency conversion, package tracking, and space objects. Individual tools are non-trivial and earn their place, but the volume plus domain sprawl makes the set feel broader than one coherent scope.
Coverage is broad: bidirectional geocoding, IP geolocation, current and historical weather, air quality, solar data, country info, holidays, exchange rates, earthquakes, live flight tracking, and ISS tracking, with no obvious dead ends. Gaps are minor and workaroundable, e.g. no point-to-point distance/elevation tool and no explicit timezone conversion despite timezone fields appearing in results.
Maintenance
Related MCP Connectors
Real-world data for agents: air quality, geocoding, quakes, holidays, web search
Real-time data API for AI Agents: stocks, weather, forex, logistics, search, scrape, news, IP.
One key and one prepaid balance for 3,051 pay-per-call tools from 99 providers for AI agents: search, maps, shopping, market data, web pages, images and more. Agents find tools by job, see the price before running, and pay per call. Failed calls are free. Sign in with OAuth, no API key to copy. Sign-up is open to everyone.
Verified, pay-per-use API tools for AI agents through one authenticated connection.
Related MCP Servers
- AlicenseNot gradedqualityFmaintenanceProvides weather and climate intelligence for AI agents, including current conditions, forecasts, historical data, severe-weather alerts, agricultural outlook, and travel conditions via free and paid tools.1MIT
- AlicenseAqualityBmaintenanceProvides 29 live data skills for AI agents, including email/DNS/domain intelligence, SEO & security audits, content extraction, and EVM on-chain reads, with a free tier that works out of the box.2923 npm1MIT
- FlicenseNot gradedqualityBmaintenanceProvides 63 production-ready API tools for AI agents, including web scraping, AI generation, crypto data, OCR, image generation, audio transcription, text-to-speech, email, and domain lookup.3-
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to access 10 public APIs as tools, covering weather, currency, crypto, geocoding, news, time, and country data without API keys.MIT