Skip to main content

MCP server for Austrian Open Government Data (data.gv.at)

Project description

datagvat-mcp

PyPI Python 3.11+ License: MIT

MCP server for Austrian Open Government Data (data.gv.at).

Quick Start

uvx datagvat-mcp init

The installer auto-detects and configures your AI tools.

CLI Commands

Command Description
uvx datagvat-mcp Run the MCP server
uvx datagvat-mcp init Install to AI tools
uvx datagvat-mcp init -y Install without prompts
uvx datagvat-mcp doctor Check installation health
uvx datagvat-mcp update Update configuration
uvx datagvat-mcp --version Show version

Available Tools

Discovery — Find and browse datasets

Tool Description
list_catalogues List available data catalogues
get_catalogue Get catalogue details
search_datasets Search datasets by query
get_dataset Get dataset metadata
get_dataset_distributions List download formats

Analysis — Assess data quality

Tool Description
get_dataset_metrics Get usage metrics
check_doi_eligibility Check DOI registration eligibility
analyze_dataset_quality Calculate quality score (0-100)

Preview — Inspect data contents

Tool Description
preview_distribution Preview CSV/JSON data
analyze_distribution_schema Infer column types
get_distribution_stats Get data statistics
find_related_datasets Find similar datasets
compare_datasets Compare two datasets
get_dataset_lineage Trace data lineage

Vocabularies — EU DCAT-AP controlled vocabularies

Tool Description
list_vocabularies List available vocabularies
get_vocabulary Get vocabulary details
search_vocabulary_terms Search vocabulary terms
get_resource_types List resource types

Configuration

Environment variables (prefix AUSTRIA_MCP_):

Variable Default Description
PIVEAU_API_BASE https://data.gv.at/katalog/api/hub/repo API base URL
REQUEST_TIMEOUT 30 HTTP timeout (seconds)
LOG_LEVEL INFO Logging level

Development

# Clone and setup
git clone https://github.com/julian-at/datagvat-mcp.git
cd datagvat-mcp/mcp

# Install with dev dependencies
pip install -e ".[dev]"

# Run tests
pytest

# Run server locally
python -m app.server

Project Structure

mcp/
├── app/
│   ├── cli/          # CLI commands (Typer)
│   ├── tools/        # MCP tool implementations
│   ├── server.py     # FastMCP server
│   ├── client.py     # Piveau API client
│   ├── config.py     # Settings
│   └── middleware.py # Request middleware
├── tests/
└── pyproject.toml

Links

License

MIT

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

datagvat_mcp-1.1.0.tar.gz (173.1 kB view details)

Uploaded Source

Built Distribution

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

datagvat_mcp-1.1.0-py3-none-any.whl (42.6 kB view details)

Uploaded Python 3

File details

Details for the file datagvat_mcp-1.1.0.tar.gz.

File metadata

  • Download URL: datagvat_mcp-1.1.0.tar.gz
  • Upload date:
  • Size: 173.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for datagvat_mcp-1.1.0.tar.gz
Algorithm Hash digest
SHA256 9e1b2f33bd7094e4e910c1224d32f683515c874f1149ecd944b86af448500eff
MD5 65855fc721cc5609c24d842a53eeec11
BLAKE2b-256 2558f69d59ff9ad93e49544790291ba097b510f7da2b9abe5d25a7f2c49246a3

See more details on using hashes here.

File details

Details for the file datagvat_mcp-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: datagvat_mcp-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 42.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for datagvat_mcp-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1e53e034a79311bbc8dce1ac8222b3b0538480f51f91ba40a2c80538ba6adecd
MD5 50e11d81339520b476989c196213925d
BLAKE2b-256 4a7380dfdcab551a9c8eb99aee1434794dfdc959129c88c6bdd93799e1f424fd

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