mcpField
M
measure-space-mcp-server

measure-space-mcp-server

Local
github.com/MeasureSpaceMaps & Travel3Updated 35w ago

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

  1. 01Hourly and daily weather forecasts
  2. 02Climate forecasts up to nine months
  3. 03Air quality forecasts
  4. 04Agricultural growth and stress metrics
  5. 05Pollen forecasts and geocoding
  6. 06Timezone and sunrise/sunset data

Use cases

  1. 01Check short-term weather for a location
  2. 02Review climate or air quality forecasts
  3. 03Track crop growth and frost or heat stress
  4. 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.

mcp.json · Universal config
{
"mcpServers": {
"measurespace-measure-space": {
"command": "npx",
"args": [
"-y",
"@measurespace/measure-space-mcp-server"
],
"env": {
"GEOCODING_API_KEY": "<GEOCODING_API_KEY>",
"HOURLY_WEATHER_API_KEY": "<HOURLY_WEATHER_API_KEY>",
"DAILY_WEATHER_API_KEY": "<DAILY_WEATHER_API_KEY>",
"DAILY_CLIMATE_API_KEY": "<DAILY_CLIMATE_API_KEY>",
"AIR_QUALITY_API_KEY": "<AIR_QUALITY_API_KEY>",
"AGRICULTURE_API_KEY": "<AGRICULTURE_API_KEY>",
"POLLEN_API_KEY": "<POLLEN_API_KEY>"
}
}
}
}
Run commandnpx -y @measurespace/measure-space-mcp-server
Environment variables to set
GEOCODING_API_KEYSecretAPI key for geocoding service (city name ↔ lat/lon)
HOURLY_WEATHER_API_KEYSecretAPI key for hourly weather forecast service
DAILY_WEATHER_API_KEYSecretAPI key for daily weather forecast service
DAILY_CLIMATE_API_KEYSecretAPI key for daily climate forecast service
AIR_QUALITY_API_KEYSecretAPI key for air quality forecast service
AGRICULTURE_API_KEYSecretAPI key for agriculture service (GDD, growth stage, etc.)
POLLEN_API_KEYSecretAPI key for daily pollen forecast service

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npm@measurespace/measure-space-mcp-server0.1.0

Tools

7

Saved tool list · updated 2w ago

ParameterTypeRequiredDescription
unitenumNoUnit system: 'metric' or 'imperial'metric | imperial
latitudenumberYesLatitude of the location
longitudenumberYesLongitude of the location

Details

From the project README

MCP Server for Measure Space API Services

smithery badge

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:

ImplementationFolderPackage
🐍 Pythonpython/mcp, measure-space-api
🟦 TypeScripttypescript/@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 VariableService
GEOCODING_API_KEYCity ↔ lat/lon geocoding
HOURLY_WEATHER_API_KEYHourly weather forecast
DAILY_WEATHER_API_KEYDaily weather forecast
DAILY_CLIMATE_API_KEYDaily climate forecast
AIR_QUALITY_API_KEYAir quality forecast
AGRICULTURE_API_KEYAgriculture services
POLLEN_API_KEYDaily pollen forecast

You only need the key(s) for the services you use.

Quick Start

See the implementation-specific READMEs:

Comments

Markdown supported

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.