🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@measurespace/measure-space-mcp-server

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@measurespace/measure-space-mcp-server

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

latest
Source
npmnpm
Version
0.2.0
Version published
Maintainers
1
Created
Source

MCP Server for Measure Space API — TypeScript

A TypeScript implementation of the MCP server for measurespace.io weather, climate, air quality, and geocoding services. Built with the @modelcontextprotocol/sdk.

Requirements

  • Node.js 18+
  • API keys from measurespace.io

Installation

Via npm

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

Manual

cd typescript/
npm install
npm run build

Set environment variables:

GEOCODING_API_KEY=<your-key>
HOURLY_WEATHER_API_KEY=<your-key>
DAILY_WEATHER_API_KEY=<your-key>
DAILY_CLIMATE_API_KEY=<your-key>
AIR_QUALITY_API_KEY=<your-key>
AGRICULTURE_API_KEY=<your-key>
POLLEN_API_KEY=<your-key>

Usage

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "MeasureSpace": {
      "command": "node",
      "args": ["/path/to/measure-space-mcp-server/typescript/dist/index.js"],
      "env": {
        "GEOCODING_API_KEY": "<your-key>",
        "HOURLY_WEATHER_API_KEY": "<your-key>",
        "DAILY_WEATHER_API_KEY": "<your-key>",
        "DAILY_CLIMATE_API_KEY": "<your-key>",
        "AIR_QUALITY_API_KEY": "<your-key>",
        "AGRICULTURE_API_KEY": "<your-key>",
        "POLLEN_API_KEY": "<your-key>"
      }
    }
  }
}

Run directly

cd typescript/
node dist/index.js

Development

cd typescript/
npm run build   # compile TypeScript

Tools

ToolDescription
hourly_weather_forecastHourly weather for next 5 days
daily_weather_forecastDaily weather for next 15 days
daily_climate_forecastDaily climate for next 9 months
hourly_air_quality_forecastHourly air quality for next 4 days
daily_air_quality_forecastDaily air quality for next 4 days
growing_degree_daysAccumulated growing degree days
growth_stageCrop growth stage and GDD requirements
heat_stress_daysNumber of heat stress days for a crop
frost_stress_daysNumber of frost stress days for a crop
daily_pollen_forecastDaily pollen forecast for next 5 days
convert_city_to_latitude_longitudeCity name → lat/lon
find_nearest_city_from_latitude_longitudeLat/lon → nearest city

MCP Registry

This package is published on the MCP Registry:

# Check registration
curl "https://registry.modelcontextprotocol.io/v0.1/servers?search=io.github.MeasureSpace"

Architecture

The TypeScript implementation directly calls the MeasureSpace API endpoints using fetch (no npm wrapper package needed):

  • src/index.ts — MCP server with all 12 tools
  • src/measureSpaceApi.ts — HTTP client for all 12 MeasureSpace API endpoints

FAQs

Package last updated on 28 Feb 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts