Skip to main content

MCP server for Open-Meteo location search and Meteologix fccompact forecasts

Project description

Meteologix MCP

Python MCP server for Open-Meteo location search and Meteologix fccompact forecast data.

This package exposes Meteologix as Model Context Protocol tools:

  • meteologix_search_locations
  • meteologix_list_models
  • meteologix_get_meteogram
  • meteologix_get_current
  • meteologix_get_daily_summary

Install

pip install meteologix-mcp

Run

python3 -m meteologix-mcp

MCP client configuration:

{
  "mcpServers": {
    "meteologix-weather": {
      "command": "python3",
      "args": ["-m", "meteologix-mcp"]
    }
  }
}

City Search

Use meteologix_search_locations first:

{
  "query": "shanghai",
  "limit": 5
}

Then pass the returned Open-Meteo location_id into forecast tools:

{
  "location_id": "1796236",
  "model": "rapid-euro",
  "hours": 48
}

Location search uses the Open-Meteo Geocoding API. The returned id is exposed directly as location_id, open_meteo_id, and geonames_id:

https://geocoding-api.open-meteo.com/v1/search?name=Shanghai&count=5&language=en&format=json

Forecast tools use:

https://meteologix.com/ajax_pub/fccompact

Notes

fccompact is a Meteologix web endpoint observed from the public site. It is not documented as a public stability contract by Meteologix. Meteologix currently sits behind Akamai rules that reject common non-browser clients such as Python httpx and curl, so forecast requests use curl_cffi with a browser TLS fingerprint. Use reasonable request volume and respect Meteologix terms. Location search is provided by the public Open-Meteo Geocoding API.

Maintainer Release

python -m build --no-isolation --outdir python_dist
python -m twine check python_dist/*
TWINE_USERNAME=__token__ TWINE_PASSWORD=pypi-... python -m twine upload python_dist/*

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

meteologix_mcp-0.1.3.tar.gz (11.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

meteologix_mcp-0.1.3-py3-none-any.whl (11.1 kB view details)

Uploaded Python 3

File details

Details for the file meteologix_mcp-0.1.3.tar.gz.

File metadata

File hashes

Hashes for meteologix_mcp-0.1.3.tar.gz
Algorithm Hash digest
SHA256 53672e4b005f89529f66e43f741086a05a2445d14ac5b73db14e73ebf2aa3ef0
MD5 e5e829cf35ffe0aeb4979521899eb779
BLAKE2b-256 9130783d001acbadd98ec384f79105b3500080a050c850d983d05d51691f44ef

See more details on using hashes here.

File details

Details for the file meteologix_mcp-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for meteologix_mcp-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 8b3ef388d19fc85075048120e7d47714e8b41f4e49bc5b31f9e99af38d1b75b3
MD5 c866e46590e016d885ea88be4b660869
BLAKE2b-256 36e5c58e94718821714ee217eedb377bc319a600854b7ee35c8c255ec63c5708

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page