About measure-space-mcp-server
A two-implementation MCP server for Measure Space weather, climate, air quality, agriculture, pollen, and geocoding services. It is for MCP clients that need forecasts and location data through either Python or TypeScript.
Key features
- 01Hourly and daily weather forecasts
- 02Climate forecasts up to nine months
- 03Air quality forecasts
- 04Agricultural growth and stress metrics
- 05Pollen forecasts and geocoding
- 06Timezone and sunrise/sunset data
Use cases
- 01Check short-term weather for a location
- 02Review climate or air quality forecasts
- 03Track crop growth and frost or heat stress
- 04Convert between city names and coordinates
MCP support
Exposes Measure Space weather, climate, air quality, agriculture, pollen, and geocoding services to MCP clients. The server has Python and TypeScript implementations.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
npx -y @measurespace/measure-space-mcp-serverGEOCODING_API_KEYSecretAPI key for geocoding service (city name ↔ lat/lon)HOURLY_WEATHER_API_KEYSecretAPI key for hourly weather forecast serviceDAILY_WEATHER_API_KEYSecretAPI key for daily weather forecast serviceDAILY_CLIMATE_API_KEYSecretAPI key for daily climate forecast serviceAIR_QUALITY_API_KEYSecretAPI key for air quality forecast serviceAGRICULTURE_API_KEYSecretAPI key for agriculture service (GDD, growth stage, etc.)POLLEN_API_KEYSecretAPI key for daily pollen forecast serviceLocal servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.
Tools
7Saved tool list · updated 2w ago
| Parameter | Type | Required | Description |
|---|---|---|---|
| unit | enum | No | Unit system: 'metric' or 'imperial'metric | imperial |
| latitude | number | Yes | Latitude of the location |
| longitude | number | Yes | Longitude of the location |
Details
From the project READMEMCP Server for Measure Space API Services
A Model Context Protocol (MCP) server for weather, climate, air quality, agriculture, pollen and geocoding services from measurespace.io.
This repository contains two implementations of the same MCP server:
| Implementation | Folder | Package |
|---|---|---|
| 🐍 Python | python/ | mcp, measure-space-api |
| 🟦 TypeScript | typescript/ | @measurespace/measure-space-mcp-server |
Features
- Hourly weather forecast for next 5 days
- Daily weather forecast for next 15 days
- Daily climate forecast for next 9 months
- Hourly and daily air quality forecast for next 4 days
- Agriculture: Growing Degree Days (GDD), crop growth stage, heat and frost stress days
- Pollen: Daily pollen forecast for next 5 days
- Geocoding: city name → latitude/longitude
- Geocoding: latitude/longitude → nearest city
- Timezone and astronomy data (sunrise, sunset)
API Keys
Get your API keys from measurespace.io. Each service has its own key:
| Environment Variable | Service |
|---|---|
GEOCODING_API_KEY | City ↔ lat/lon geocoding |
HOURLY_WEATHER_API_KEY | Hourly weather forecast |
DAILY_WEATHER_API_KEY | Daily weather forecast |
DAILY_CLIMATE_API_KEY | Daily climate forecast |
AIR_QUALITY_API_KEY | Air quality forecast |
AGRICULTURE_API_KEY | Agriculture services |
POLLEN_API_KEY | Daily pollen forecast |
You only need the key(s) for the services you use.
Quick Start
See the implementation-specific READMEs:
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.