Skip to main content
Glama

EEOC Explore | Systemic Oversight & Benchmarking MCP Server

An agent-first MCP server that joins two public EEOC datasets, charge statistics (who files discrimination charges, on what basis, where) and EEO-1 workforce demographics (who is employed, by industry, state and job category), and exposes analytical tools that turn them into oversight briefs and employer benchmarks. The server does the joins, rates, gaps and confidence intervals; every number cites its source cell or row. EEOC's privacy suppression is handled as a first-class result, never as zero.

All data are public. No credentials, no outbound network calls, no stored user data.

Live endpoint & deliverables

  • Live Streamable HTTP MCP Endpoint (Azure Container Apps): https://eeoc-explore-mcp.ambitiousbay-8be5d3cf.eastus.azurecontainerapps.io/mcp (health check: /health)

  • Evaluation Report: eval/EEOC_Explore_Evaluation.pdf (HTML source, rerun guide) — 100% (99/99) live AI accuracy vs. 9.1% without tools (30/30 unseen hard set), 54,123 domain sweep checks with 0 failures, 6.2× concurrency speedup (25.2 → 155.1 req/s local; 82.7 req/s on Azure 0.25 vCPU), and 44/44 live security probes passed.

  • Presentation Deck: docs/EEOC_Explore.pptx (storyboard, 11-slide walkthrough).

  • Product Highlight Video: video/out/EEOC_Explore.mp4 (1920×1080, 60 fps, 112 s continuous one-take film; storyboard, render guide).

Related MCP server: Data.gov Semantic MCP

Run it

uv sync --locked
uv run python scripts/demo.py        # all demo calls over stdio, no model needed
uv run pytest -q
bash scripts/dev.sh serve            # HTTP on 127.0.0.1:8000/mcp with hot reload

A stdio MCP host can launch it with:

{"mcpServers":{"eeoc-explore":{"command":"uv","args":["--directory","/abs/path/to/eeoc-explore-mcp","run","--locked","python","main.py"]}}}

The hosted endpoint and local iteration loop are described in QUICKSTART.md and deploy/azure/README.md.

Tools

Each tool is a user goal, not an endpoint wrapper. Inputs are Pydantic/Literal-validated, so MCP clients see enums for states, regions, job categories, demographic groups and charge bases.

Tool

User goal

Data

analyze_charge_trends

What changed in charge filings between two years, which bases drove it, and how resolutions compare; optionally fact-check a draft's claimed direction.

E1a, E1b, E1c

compare_state_trends

Which of two states had the larger count and percent change for a basis.

E1b

correlate_charges_to_workforce

Rank states by charges per 10,000 EEO-1-covered employees, with ratio to the national rate and required caveats.

E1a/E1b + EEO-1 PUF

benchmark_workforce_composition

Compare a geography × industry × job-category slice's sex and race/ethnicity mix to a baseline geography, industry or year; reports suppression and the nearest published broader slices.

EEO-1 PUF

evaluate_employer_profile

Benchmark an employer's own counts against local, national and cross-industry peers with 95% Wilson intervals.

EEO-1 PUF

Resources let an agent inspect valid codes and rules before calling a tool: eeoc://coverage, eeoc://taxonomy/naics, eeoc://taxonomy/job-categories, eeoc://taxonomy/demographics, eeoc://policy/disclosure-rules.

Prompts give one-click multi-step workflows: systemic_oversight_brief(basis, fiscal_year) and employer_self_audit(industry, geography, job_category).

Demo script

Act

Ask the agent

Expected evidence

Oversight

My draft says EEOC received more charges in FY 2025 than FY 2024. Check it and say which bases drove the change.

Receipts 88,531 → 88,201 (−330, −0.37%), E1c AC5/AD5; claim unsupported. Retaliation (all statutes) rose most: 42,301 → 54,350 (+12,049), E1a AC15/AD15.

Oversight

Texas and Florida always lead in raw charges. Which states had the highest rate of ADA charges per 10,000 covered workers in FY 2025?

National 4.66 per 10k (36,256 / 77,845,097). Top: Arkansas 10.21 (648 charges, E1b VT7 / 634,534 EEO-1 employees), 2.19× national. Denominator is EEO-1 2023, the latest published.

Self-audit

We're an IT services firm (NAICS 5415) in Virginia; 4 of our 24 executives are women. How do we compare?

Rolled up to NAICS 541. Peer share 31.8% (4,286 / 13,477); yours 16.7% (95% CI 6.7–35.9%), expected 7.6 at peer share. Within sampling variation.

Data integrity

Give me the demographic breakdown of craft workers in aerospace manufacturing (NAICS 3364) in Wyoming.

Rolled up to 336: 32 craft workers, 66.7% of demographic groups suppressed; completeness warning and broader slices (Mountain 336: 6,325; WY sector 33: 484).

Data handling rules

  • Suppressed is not zero. EEOC suppresses small cells under Title VII §709(e). Tools return null with status: suppressed, a suppression_rate_pct, and the nearest broader published slices.

  • Overlapping bases. A charge can allege several bases, so basis counts do not sum to receipts.

  • Rates need caveats. EEO-1 covers private employers with 100+ employees (and some federal contractors with 50+), while charges come from all employer sizes, and FEPA-only charges are excluded. Charges per covered employee flag where to look; they are not a prevalence measure. Every rate response carries these caveats.

  • Series break. EEO-1 PUF totals jump between 2021 and 2022 (58.4M → 75.8M employees; establishments about five-fold). The PUF documentation does not explain why, so the server reports it in eeoc://coverage and treats cross-break comparisons as not like-for-like.

  • Employer data. Counts passed to evaluate_employer_profile are used for one calculation and not stored. Output is statistical context, not a legal finding.

Layout

src/eeoc_explore/
├── app.py            FastMCP server, transport selection
├── taxonomy.py       Controlled vocabularies (states, Census areas, job categories, groups)
├── models.py         Pydantic/Literal input types and EmployerProfile
├── charges.py        Charge statistics data layer (E1a/E1b/E1c, cell-level provenance)
├── workforce.py      EEO-1 data layer (in-memory SQLite, suppression, roll-ups)
├── responses.py      Shared status conventions
├── tools/            One module per agent-facing tool
├── resources.py      Taxonomy, coverage and disclosure-policy resources
├── prompts.py        Workflow prompts
└── data/             Packaged snapshots and source manifests (URLs + SHA-256)

Reproducibility

Both snapshots are rebuilt from unmodified public files whose SHA-256 digests are pinned:

uv run python scripts/build_snapshot.py                 # charges: data/original/E1*.xlsx
uv run python scripts/build_workforce.py --download     # EEO-1: 10 PUFs (~520 MB, cached, git-ignored)
EEOC_VERIFY_PUF=1 uv run pytest -q                      # adds a row-by-row check against the 2023 PUF

workforce.sqlite.gz (about 7.7 MB) holds nation, region, division and state rows for 2014–2023, with each job category's total, sex and race/ethnicity counts and the source row number. Tests assert reference values read directly from the original files.

Sources

Evaluation: eval/EEOC_Explore_Evaluation.pdf (methodology, metrics, security, lessons) and eval/README.md (how to rerun each layer).

Available Tools

5 tools
benchmark_workforce_compositionBenchmark Workforce CompositionA
Read-onlyIdempotent

Describe a workforce slice's sex and race/ethnicity mix against a baseline.

Use for questions like "How does women's representation among executives in Virginia professional services compare with the national industry?", "What does the workforce of NAICS 3364 in Wyoming look like?" or "How did the covered workforce change from 2021 to 2022?" (set baseline_year). A slice is an EEO-1 report year, geography, NAICS industry and job category. Returns employee counts, shares and percentage-point gaps for each group, with the source row. EEOC suppresses small cells to protect employers; the response reports the suppression rate and, when it is high, the nearest broader published slices. Suppressed cells are never treated as zero.

Inputs: geography (required), year, industry, job_category, +3 more. Returns: object

correlate_charges_to_workforceCorrelate Charges To WorkforceA
Read-onlyIdempotent

Rank states by EEOC charges per 10,000 EEO-1-covered employees.

Use when raw charge counts mislead because states differ in size, e.g. "Which states had the highest rate of ADA charges relative to their workforce in FY 2025?". Joins EEOC charge receipts (Table E1b) to EEO-1 Public Use File employee counts and returns each state's charges, covered employees, rate, the national rate and the ratio to it, with sources and the methodological caveats an analyst must state. Territories have no EEO-1 data and are excluded.

Inputs: basis (required), fiscal_year (required), top_n, states, +1 more. Returns: object

evaluate_employer_profileEvaluate Employer ProfileA
Read-onlyIdempotent

Benchmark one employer's own headcount against its EEO-1 industry peers.

Use when an employer or HR analyst supplies their counts, e.g. "We are a 300-person IT services firm (NAICS 5415) in Virginia; 4 of our 24 executives are women. How do we compare?". Compares each supplied group's share with peers in the same industry and geography, nationally in the industry, and in all local industries. For each comparison it returns the gap in percentage points, the count expected at the peer share, and a 95% confidence interval so small groups are not over-read. The counts are used for this calculation only and are not stored. Output is statistical context, not a legal determination.

Inputs: profile (required), year. Returns: object

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.1/5.0

    Scored across 5 tools

    Disambiguation4/5

    Each tool maps to a distinct analytical question: year-over-year national trends, two-state head-to-head, per-workforce rates, workforce demographic composition, and employer self-benchmarking. The main soft spot is between analyze_charge_trends and compare_state_trends, since the former is described as national-only and the latter is effectively a state-scoped variant of the same trend logic, which could cause misselection on a state-level trend question. Descriptions do actively cross-reference each other (e.g. 'for rates, use correlate_charges_to_workforce'), which mitigates the overlap.

    Naming Consistency5/5

    All five names follow a consistent snake_case verb_noun pattern (analyze_, compare_, correlate_, benchmark_, evaluate_) with the verb signaling the analytical operation and the noun signaling the domain object. No mixed conventions or casing deviations.

    Tool Count5/5

    Five tools is well-scoped for a data-analysis server, and each covers a genuinely different question type (trend, comparison, rate normalization, composition, employer benchmark) rather than being a trivial wrapper. Nothing appears redundant or missing from a count perspective.

    Completeness4/5

    The surface covers the core EEOC analytic workflows: receipts trends, state comparisons, workforce-normalized rates, EEO-1 composition, and employer benchmarking, with sensible methodological caveats built in. The notable gap is a discovery/metadata tool — there is no way to enumerate available bases, statutes, NAICS codes, states, or fiscal years, so an agent must guess valid inputs before calling anything.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables searching and analyzing US defense contract obligations, expiring recompetes, power-grid interconnection queues, and supply-chain compliance screens, plus exporting custom relational datasets.
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables agents to discover public government datasets, inspect metadata, resolve search filters, and run bounded, evidence-backed Census/BLS indicator comparisons in Databricks.
      6
      GPL 3.0
    • A
      license
      A
      quality
      B
      maintenance
      Enables users to retrieve and compare official federal court workload statistics with edition-aware provenance, explain revisions, and analyze civil case cohorts without mixing figures from different published editions.
      17
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI agents to query curated pay, hiring, workforce, company and government economic data for over 240 countries and major territories, returning sourced analyses with citations, data release dates and sample sizes. Also provides lookups for job titles, occupation codes and location/company IDs, plus raw pay and job-posting rows for builders.
      MIT