Access Weather, Climate, and Geocoding Data
Weather, climate, air quality, agriculture, pollen, and geocoding forecasts from Measure Space, available in Python or TypeScript.
Maintainer of this project? Claim this page to edit the listing.
1.0.0Add to Favorites
Why it matters
Integrate your AI assistant with MeasureSpace to access real-time weather forecasts, climate data, air quality information, and geocoding services. Enhance your AI's capabilities with comprehensive environmental and location intelligence.
Outcomes
What it gets done
Retrieve hourly and daily weather forecasts for up to 15 days.
Access climate forecasts for the next 9 months.
Obtain hourly and daily air quality forecasts.
Perform geocoding to find coordinates by city or nearest city by coordinates.
Install
Add it to your toolbox
Run in your project directory:
curl -fsSL https://spark.entire.vc/get/vb-measurespace-mcp | bash Capabilities
Tools your agent gets
Get hourly weather forecast for the next 5 days
Get daily weather forecast for the next 15 days
Get daily climate forecast for the next 9 months
Get hourly air quality forecast for the next 4 days
Get daily air quality forecast for the next 4 days
Search latitude and longitude by city name
Find the nearest city by coordinates
Get time zone information for a location
Get astronomical data including sunrise and sunset times
Overview
MeasureSpace MCP Server
MeasureSpace MCP Server connects an AI assistant to weather, climate, air quality, agriculture, pollen, and geocoding data from measurespace.io, available as either a Python or TypeScript implementation. Each data service requires its own separate API key. Use it when an AI assistant needs weather, climate, air quality, agriculture, pollen, or geocoding data. Each service tool requires its corresponding API key to be configured first.
What it does
MeasureSpace MCP Server gives an AI assistant access to weather, climate, air quality, agriculture, pollen, and geocoding data from measurespace.io. It ships as two equivalent implementations - a Python package (mcp, measure-space-api) and a TypeScript package (@measurespace/measure-space-mcp-server) - so you can pick whichever fits your stack.
When to use - and when NOT to
Use it when you want an AI assistant to answer questions about upcoming weather, seasonal climate outlook, air quality, pollen levels, agricultural growing conditions, or to convert between city names and coordinates. Each service (geocoding, hourly/daily weather, climate, air quality, agriculture, pollen) requires its own separate API key from measurespace.io - you only need to obtain keys for the specific services you plan to use. Do not use it for services beyond this scope, and note that any given tool will be unavailable until its corresponding API key is configured.
Capabilities
- Hourly weather forecast for the next 5 days.
- Daily weather forecast for the next 15 days.
- Daily climate forecast for the next 9 months.
- Hourly and daily air quality forecast for the next 4 days.
- Agriculture data: Growing Degree Days (GDD), crop growth stage, heat and frost stress days.
- Daily pollen forecast for the next 5 days.
- Geocoding: city name to latitude/longitude, and latitude/longitude to nearest city.
- Timezone and astronomy data (sunrise, sunset).
How to install
Obtain the relevant API key(s) from measurespace.io/pricing, one per service you plan to use:
| 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 |
Then follow the implementation-specific setup: the Python package (mcp, measure-space-api) under python/, or the TypeScript package (@measurespace/measure-space-mcp-server) under typescript/. Both expose the same set of tools.
Who it's for
Developers building weather-, climate-, or agriculture-aware AI assistants who need a ready-made connector to Measure Space's forecasting and geocoding APIs instead of integrating each REST endpoint manually.
Source README
MCP 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:
FAQ
Common questions
Discussion
Questions & comments ยท 0
Sign In Sign in to leave a comment.