- Home
- MCP servers
- Measure Space
Measure Space
- python
2
GitHub Stars
python
Language
4 months ago
First Indexed
3 weeks ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"measurespace-measure-space-mcp-server": {
"command": "/<your_uv_path>/uv",
"args": [
"--directory",
"/<your-measure-space-mcp-server-folder-path>/measure-space-mcp-server",
"run",
"main.py"
],
"env": {
"GEOCODING_API_KEY": "<your-geocoding-api-key>",
"DAILY_WEATHER_API_KEY": "<your-daily-weather-api-key>",
"HOURLY_WEATHER_API_KEY": "<your-hourly-weather-api-key>"
}
}
}
}You can run the Measure Space MCP Server to access weather, climate, air quality, geocoding, timezone, and astronomy data through MCP-enabled clients. This server exposes tools that AI assistants can query to retrieve forecasts, geocode locations, and related information for weather planning and analysis.
How to use
To use this MCP server with an MCP client, you run the server locally and point your client to the MCP connection you configured. The server provides a set of weather, climate, air quality, and geocoding tools that you can call from your AI assistant or integration. Ensure you have the required API keys from Measure Space and that your client is configured to communicate via MCP with the server. The server will handle requests such as hourly forecasts, daily forecasts, climate projections, air quality estimates, geocoding lookups, timezone information, and sunrise/sunset data.
How to install
Prerequisites you need before installation:
-
Python 3.12 or newer
-
uv package manager
-
API keys from measurespace.io for the services you plan to use (geocoding, hourly/daily weather, daily climate, and air quality)
Step-by-step setup
- Install via Smithery (optional for automatic setup)
npx -y @smithery/cli install @MeasureSpace/measure-space-mcp-server --client claude
- Manual installation in your environment
# Create and activate a virtual environment using uv
uv venv
# Install the MCP server package in editable mode
uv pip install -e .
Configure API keys
Create a .env file in the project root with your API keys for the services you will use. Each key should be set as shown below. The server reads these keys to access the external data sources:
GEOCODING_API_KEY=<your-geocoding-api-key>
HOURLY_WEATHER_API_KEY=<your-hourly-weather-api-key>
DAILY_WEATHER_API_KEY=<your-daily-weather-api-key>
Available tools
hourly_weather
Fetch hourly weather forecasts for the next 5 days.
daily_weather
Fetch daily weather forecasts for the next 15 days.
daily_climate
Fetch daily climate forecasts for up to 9 months.
hourly_air_quality
Fetch hourly air quality forecasts for the next 4 days.
daily_air_quality
Fetch daily air quality forecasts for the next 4 days.
geocode_city
Find latitude and longitude for a given city name.
reverse_geocode
Find the nearest city for given latitude and longitude.
timezone_info
Provide timezone information for a location.
astronomy_data
Provide sunrise and sunset information.