Skip to main content

MCP server for the Workplace Gender Equality Agency (WGEA) public data file. Plain-English access to per-employer workforce composition, gender-equality policy answers, parental leave, flexible work, and harm-prevention data — every WGEA-reporting employer in Australia, every year, with fuzzy employer-name search and a CC-BY 3.0 AU attribution contract.

Project description

wgea-mcp

tests PyPI Python License: MIT Glama MCP server quality

MCP server for the Workplace Gender Equality Agency (WGEA) public data file. Plain-English access to per-employer workforce composition, gender-equality policy answers, parental leave, flexible work, and harm-prevention data — every WGEA-reporting employer in Australia (~9,600 employers), every year, from a single uvx command.

"What's the gender breakdown at Commonwealth Bank?"
"Which mining companies set gender targets in 2024-25?"
"Workforce composition by occupation at Qantas"
"Sexual harassment policy responses across financial services"
"Promotions to manager by gender at Atlassian"

Sister to abs-mcp, rba-mcp, ato-mcp, apra-mcp, aihw-mcp, asic-mcp, and au-weather-mcp.


Install

uvx --upgrade wgea-mcp

Claude Desktop

{
  "mcpServers": {
    "wgea": { "command": "uvx", "args": ["--upgrade", "wgea-mcp"] }
  }
}

Claude Code

claude mcp add wgea --command uvx --args -- --upgrade wgea-mcp

What it exposes

Five tools, all plain-English in, structured out:

Tool Purpose
search_datasets Fuzzy-search the curated catalog by keyword
describe_dataset List a dataset's filterable dimensions and returnable measures
get_data Query with filters, period range, output format
latest Restrict to the latest reporting year
list_curated Enumerate the curated dataset IDs

Every response is the same shape — dataset_id, dataset_name, query, reporting_year, unit, row_count, records, source_url, download_url, did_you_mean, attribution, stale flag, server_version.


Curated datasets (7 in v0.1)

ID What it is Source CSV
WORKFORCE_COMPOSITION Per-employer headcount by occupation × manager category × gender wgea_workforce_composition_<year>.csv
WORKFORCE_MANAGEMENT Manager movements (promotions, hires, resignations) by gender wgea_workforce_management_statistics_<year>.csv
GENDER_EQUALITY_ACTIONS Pay-gap analyses, gender targets, governance — Q&A responses wgea_questionnaire_action_on_gender_equality_<year>.csv
PARENTAL_LEAVE_FLEX Parental leave + flexible-work policy responses wgea_questionnaire_flexible_work_<year>.csv
HARM_PREVENTION Sexual harassment + domestic-violence policy responses wgea_questionnaire_harm_prevention_<year>.csv
EMPLOYEE_SUPPORT Carer leave, EAP, mental-health programs wgea_questionnaire_employee_support_<year>.csv
WORKPLACE_OVERVIEW Board composition, governing-body diversity, CEO + KMP demographics wgea_questionnaire_workplace_overview_<year>.csv

Note on the headline gender-pay-gap %. WGEA's Data Explorer publishes a headline per-employer gender pay gap percentage. That specific aggregate is NOT included in the public CSV release — WGEA pre-aggregates remuneration data before public publication. Use this MCP for the underlying workforce composition + policy detail; use WGEA's Data Explorer for the headline pay-gap percentage.


Reliability — 2-tier URL resolution

WGEA publishes the public data file annually under a single CKAN package on data.gov.au. Each annual release gets a fresh resource UUID:

  1. Live CKANpackage_show?id=wgea-dataset returns every resource; the newest "WGEA Data — Public Data File" wins. Cached 6h.
  2. Bundled seed manifest — when CKAN is unreachable, fall back to data/seed_urls.json shipped in the wheel. The response is flagged stale: true with an honest reason.

Net effect: a fresh uvx wgea-mcp always gets the current reporting year; a 12-month-old install still works because the seed manifest is refreshed and --upgrade pulls a new wheel.


Fuzzy employer-name search

Pass any abbreviation, alias, or substring and rapidfuzz resolves it:

You type Resolved to
"CBA" Commonwealth Bank of Australia
"Commonwealth Bank" Commonwealth Bank of Australia
"NAB" National Australia Bank Limited
"Westpac" Westpac Banking Corporation
"Woolies" / "woolworths" Woolworths Group Limited
"Atlassian" Atlassian Pty Ltd
"qantas" Qantas Airways Limited

When nothing exact matches, did_you_mean carries the top-5 closest legal names so the agent can ask the user to pick.


Attribution

Data sourced from the Workplace Gender Equality Agency. Licensed under Creative Commons Attribution 3.0 Australia (CC BY 3.0 AU). wgea-mcp is MIT-licensed; WGEA's data carries the upstream CC-BY 3.0 AU licence, echoed in every response's attribution field.

Per-employer reporting is a deliberate disclosure under the Workplace Gender Equality Act 2012 — redistribution is explicitly intended.


Sister packages

  • abs-mcp — ABS census + economic statistics
  • rba-mcp — RBA F-tables (cash rate, FX rates, mortgage rates)
  • ato-mcp — ATO tax statistics + ACNC charities register
  • apra-mcp — banks, super funds, insurance
  • aihw-mcp — health and welfare statistics
  • asic-mcp — corporate transparency + AFS licensees
  • wgea-mcp — this one. Workplace gender equality.
  • au-weather-mcp — Australian weather

Development

git clone https://github.com/Bigred97/wgea-mcp.git
cd wgea-mcp
uv venv
uv pip install -e ".[dev]"
pytest                  # unit tests
pytest -m live          # integration tests against data.gov.au (downloads the ~71 MB ZIP)

Issues and contributions welcome: github.com/Bigred97/wgea-mcp/issues.

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

wgea_mcp-0.1.2.tar.gz (373.8 kB view details)

Uploaded Source

Built Distribution

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

wgea_mcp-0.1.2-py3-none-any.whl (48.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: wgea_mcp-0.1.2.tar.gz
  • Upload date:
  • Size: 373.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for wgea_mcp-0.1.2.tar.gz
Algorithm Hash digest
SHA256 9ec18da1433584d26a0f94da7c2c04e9da3487e21e78b4cc44fa4b130547b50a
MD5 106dd8544a2c8927e54df2e7b4b6080f
BLAKE2b-256 02a4cffe3903fc1cf8dba664f4ce3102ad057a538a763a7f4f8fe6565d2ab948

See more details on using hashes here.

Provenance

The following attestation bundles were made for wgea_mcp-0.1.2.tar.gz:

Publisher: publish.yml on Bigred97/wgea-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: wgea_mcp-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 48.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for wgea_mcp-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7e4f99e1e87457d41c15ead5a612d92ce7eb7bafbefdcd945b7d096fbb713c2f
MD5 992e7d8e7299aad051497669827e2311
BLAKE2b-256 c389cc7d9bb86e1cbb9147243e404f4f0092c7afe0177880f2a7f0f09861bfee

See more details on using hashes here.

Provenance

The following attestation bundles were made for wgea_mcp-0.1.2-py3-none-any.whl:

Publisher: publish.yml on Bigred97/wgea-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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