baseline-mcp
This MCP server wraps the Baseline API to provide statistically rigorous weather and climate context, including 10-day forecasts and historical percentile rankings against a 35-year ERA5 climatology. You can:
Ask natural-language climate questions (
get_climate_context): Query weather and climate for any location (e.g., "Will Denver be warmer than normal this week?"), receiving forecast data plus percentile rankings.Get climate context by coordinates (
get_context_for_coordinates): Bypass geocoding by providing exact latitude/longitude (ideal for trailheads, farms, or properties).Check water year status (
get_water_year_status): Obtain precipitation and temperature totals since the water year start (Oct 1 in North America, Jan 1 elsewhere), ranked against 35 years, useful for drought monitoring, agriculture, and fire planning.Compare conditions to normals (
compare_to_normal): Assess how unusual current or forecast temperature/precipitation is at a location for a given time window (e.g., "this week"), returning precise percentile rankings.Rank multiple locations (
compare_locations): Compare precipitation, temperature, or snowfall across 2–10 locations or curated categories (likecolorado_ski_resortsorus_national_parks) over a water year, season, month, or ski season.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@baseline-mcpHow does today's temperature in San Francisco compare to normal?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
baseline-mcp
MCP server exposing Baseline as agent tools — statistically rigorous weather and climate context, not just current conditions. Thin translation layer only: no climate logic lives here, every tool call is an HTTP request to the Baseline API. See baseline_mcp_server_plan.md in the Baseline project for the full design, and METHODOLOGY.md for how the underlying data and rankings are computed.
Tools
get_climate_context— natural-language weather and climate questions, full context back (forecast + 35-year historical percentile ranking).get_context_for_coordinates— same, for an exact lat/lon rather than a place name.get_water_year_status— precipitation/temperature status since the start of the water year (Oct 1 US / Jan 1 elsewhere), ranked against 35 years.compare_to_normal— how unusual current or forecast conditions are at one location.compare_locations— rank precipitation, temperature, or snowfall across 2-10 locations (or a curated category likecolorado_ski_resorts) in a single call, over a water year, season, month, or ski season.
Related MCP server: mcp-weather
Installation
Requires a Baseline API key. Self-serve signup isn't available yet — during this early period, contact Chad McNutt (chadmcnutt@gmail.com) for a key.
pip install baseline-mcp
# or: uvx baseline-mcpThen add it to your MCP client's config, with your API key:
Claude Desktop (~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": {
"baseline": {
"command": "uvx",
"args": ["baseline-mcp"],
"env": {
"BASELINE_API_URL": "https://api.baselinecontext.com",
"BASELINE_API_KEY": "your-key-here"
}
}
}
}Claude Code: claude mcp add baseline --env BASELINE_API_URL=https://api.baselinecontext.com --env BASELINE_API_KEY=your-key-here -- uvx baseline-mcp
Cursor (.cursor/mcp.json or global MCP settings): same shape as the Claude Desktop config above, under whatever key Cursor's MCP settings use for server name.
Local development
The venv lives outside this directory (~/.venvs/baseline-mcp) rather than in .venv/ here, because this project sits under iCloud-synced ~/Documents — iCloud evicts/re-materializes files inside large venvs unpredictably, which causes intermittent ModuleNotFoundErrors. Keep it that way.
python3 -m venv ~/.venvs/baseline-mcp
~/.venvs/baseline-mcp/bin/pip install -e .
cp .env.example .env # fill in BASELINE_API_URL and a free_api-tier BASELINE_API_KEYRun against a local Baseline instance (python3 app.py in ../baseline), then:
~/.venvs/baseline-mcp/bin/mcp dev src/baseline_mcp/server.pyStatus
All 5 tools built and tested against a live local Baseline instance, including tool-selection validation in Claude Desktop. Verified end-to-end against the production Baseline API as of the 2026-08-01 soft-launch prep (data freshness, temporal query handling, and climatology all fixed and confirmed live).
The Baseline API each tool wraps was additionally exercised against production the week of 2026-08-05 through a ~150-question adversarial stress-test corpus (spatial, temporal, and phrasing edge cases) — real bugs were found and fixed at every layer this server depends on: location extraction, temporal-window parsing, and geocoding, all deployed and reverified live, zero regressions.
METHODOLOGY.md (trust collateral) complete. Production now served over TLS at api.baselinecontext.com. See baseline_mcp_server_plan.md in the Baseline project for full task history. Published to PyPI as of 0.1.2.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Tools
Related MCP Servers
- Alicense-qualityDmaintenanceAn MCP server that enables retrieval of historical weather data (temperature, precipitation, conditions, etc.) from Visual Crossing for specified locations and dates.1GPL 3.0
- Flicense-qualityDmaintenanceA Model Context Protocol (MCP) server built with the mcp-framework to provide weather-related tools and data to AI clients. It enables integration of weather capabilities and custom tools into the MCP ecosystem for use with platforms like Claude Desktop.17
- Alicense-qualityCmaintenanceMCP server for NASA POWER climate data, offering a climatology tool to retrieve long-term monthly averages for any coordinate. Supports natural language queries through the Pipeworx gateway.9MIT
- Flicense-qualityDmaintenanceA Model Context Protocol (MCP) server that provides weather data using the OpenWeather One Call API 3.0. This server allows AI agents to access current weather, forecasts, and historical weather data for any location.6
Related MCP Connectors
MCP server exposing the Backtest360 engine API as tools for AI agents.
Open-Meteo MCP — weather forecast + historical reanalysis + sister APIs
OpenWeather MCP — wraps the OpenWeatherMap API (openweathermap.org)
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/elninyo-ops/baseline-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server