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. 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.2.tar.gz (10.3 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.2-py3-none-any.whl (10.4 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for meteologix_mcp-0.1.2.tar.gz
Algorithm Hash digest
SHA256 184c942b521c5910a0d3488731295b5db63b7a31e2c25ee31974faa933d187d2
MD5 db63d7bf9956511c92d6270990fe8272
BLAKE2b-256 246e0a261a077be2cfa3fc2d82aeafdf7a4217c4b969349210af6cb1fe1ae216

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for meteologix_mcp-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 4063e97e4c1eca963ae71ce8b2560bb108a9fa2923dd521aba2e94c537e98a38
MD5 2d050a4793ad9ad57d25d9708b6aa8d1
BLAKE2b-256 8859b720c0476ec4169f0662acc38022d82433016a5b4f448a2a10598bb6d743

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