Skip to main content

MCP server for Meteologix city search and fccompact forecasts

Project description

Meteologix MCP

Python MCP server for Meteologix location search and 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 city_id into forecast tools:

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

The location search uses the Meteologix autocomplete endpoint:

https://search.meteologix.com/xx/autocomplete/jp/jp?q=shanghai&lang=EN&action=wetter&tab=

Forecast tools use:

https://meteologix.com/ajax_pub/fccompact

Notes

fccompact and autocomplete are Meteologix web endpoints observed from the public site. They are not documented as a public stability contract by Meteologix. Use reasonable request volume and respect Meteologix terms.

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.1.tar.gz (9.7 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.1-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for meteologix_mcp-0.1.1.tar.gz
Algorithm Hash digest
SHA256 23383f56fe47b658fd7d72fcd1a70d8e80ebaeda14e794ba6951651a42eafda9
MD5 5ca321da5eca43fc524f56f22a159313
BLAKE2b-256 0e4e83f906397dff9cf242b7fef1d6d2d8ccd2070e09a0569d3bf3239b10260e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for meteologix_mcp-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7e05ec127fdc19ae4b8f94368afa853c76dcb86a95eac0a53c52422a91c9aa4c
MD5 a2beb10252cbf55264fbfa52013245d4
BLAKE2b-256 882fd76fe405acae46a18d23466501f9c11b0ba8b39f8d602847a6e95640cb04

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