Back to Directory/Developer Tools

io.github.MeasureSpace/measure-space-mcp-server

MCP server for weather, climate, air quality, agriculture, pollen and geocoding from measurespace.io

Developer ToolsJavaScriptv0.2.0

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:

Installation

Source-derived launch command. Check the maintainer’s required arguments and credentials before running:

bash
npx -y @measurespace/measure-space-mcp-server

Set up in your AI client

Merge this template into ~/Library/Application Support/Claude/claude_desktop_config.json. Keep existing servers. Add any arguments, credentials, and permissions required by the maintainer; this template has not been install-tested.

json
{
  "mcpServers": {
    "io-github-measurespace-measure-space-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@measurespace/measure-space-mcp-server"
      ]
    }
  }
}

Restart Claude Desktop completely for changes to take effect. Confirm the server appears connected in the client’s tool list, then try a read-only example from its documentation.

Claude Desktop setup reference

Package

@measurespace/measure-space-mcp-servernpm

Compatible MCP Clients

io.github.MeasureSpace/measure-space-mcp-server works with any MCP-compatible client. Copy the config snippet from the Configuration section above and add it to the file shown for your client, then restart the application.

  • Claude Desktop~/Library/Application Support/Claude/claude_desktop_config.jsonRestart Claude Desktop completely for changes to take effect.
  • Cursor~/.cursor/mcp.jsonRestart Cursor for changes to take effect.
  • VS Code.vscode/mcp.jsonReload VS Code window for changes to take effect.
  • Windsurf~/.codeium/windsurf/mcp_config.jsonRestart Windsurf for changes to take effect.
  • Claude Code.mcp.jsonSave at the project root, then start Claude Code in that project and review the MCP server approval prompt. Keep real credentials out of shared files.

Learn More