Command Palette

Search for a command to run...

UnylyUnyly
Browse all

H1B Sponsor

FreeNot checked

Read-only MCP server for querying H-1B sponsoring employers from the USCIS dataset, providing tools to search employers, get year-by-year approvals, top sponsor

GitHubEmbed

About

Read-only MCP server for querying H-1B sponsoring employers from the USCIS dataset, providing tools to search employers, get year-by-year approvals, top sponsors, and trends across FY2009-2026.

README

Read-only MCP server for querying H-1B sponsoring employers from the USCIS Employer Information dataset.

Repository: https://github.com/ujjwalredd/H1B-Sponsor-MCP.git

H1B Sponsor MCP running in Claude Code

This server lets MCP clients answer questions like:

  • "Does Stripe appear in the H-1B employer data?"
  • "Which companies had the most H-1B approvals in Texas in FY2024?"
  • "How did manufacturing sponsorship change from FY2009 to FY2026?"

The bundled cleaned dataset covers fiscal years 2009-2026 with 1,055,650 employer-year/location records and 392,843 distinct employer name strings. FY2026 is a partial year.

What It Provides

Tool Purpose
search_employers Find employers by partial name, with lifetime totals
employer_profile Get year-by-year approvals, denials, locations, and sectors for matching employers
top_sponsors Rank sponsors by approvals, denials, petitions, approval rate, new employment approvals, or continuation approvals
yearly_trends Return per-year totals from FY2009-FY2026, optionally filtered by state or NAICS sector
industry_breakdown Summarize sponsorship by NAICS sector
state_breakdown Summarize sponsorship by US state or territory
dataset_info Return dataset coverage, row counts, and caveats

Quick Start

uvx can fetch and run the server directly from GitHub:

uvx --from git+https://github.com/ujjwalredd/H1B-Sponsor-MCP.git h1b-sponsor-mcp

After the package is published to PyPI, this shorter form should also work:

uvx h1b-sponsor-mcp

Install uv if needed:

curl -LsSf https://astral.sh/uv/install.sh | sh

Claude Code

claude mcp add h1b-sponsors -- uvx --from git+https://github.com/ujjwalredd/H1B-Sponsor-MCP.git h1b-sponsor-mcp

Claude Desktop

Add this server to claude_desktop_config.json:

{
  "mcpServers": {
    "h1b-sponsors": {
      "command": "uvx",
      "args": [
        "--from",
        "git+https://github.com/ujjwalredd/H1B-Sponsor-MCP.git",
        "h1b-sponsor-mcp"
      ]
    }
  }
}

Manual Install

git clone https://github.com/ujjwalredd/H1B-Sponsor-MCP.git
cd H1B-Sponsor-MCP
python -m pip install -e .
h1b-sponsor-mcp

The cleaned parquet is included in the package. To use a different cleaned dataset file:

export H1B_DATA_PATH=/path/to/h1b_employers_clean.parquet

H1B_DATA_PATH must point to a .parquet file.

Data

  • Source: USCIS H-1B Employer Data Hub, Employer Information exports.
  • Coverage: fiscal years 2009-2026.
  • Packaged file: src/h1b_mcp/data/h1b_employers_clean.parquet.
  • Details: see DATA.md.

Recommended source citation:

U.S. Citizenship and Immigration Services (USCIS). H-1B Employer Data Hub, Employer Information exports. https://www.uscis.gov/tools/reports-and-studies/h-1b-employer-data-hub

This project is independent and is not affiliated with, sponsored by, or endorsed by USCIS, DHS, or the U.S. Government. The source data comes from a U.S. federal government publication; U.S. Government works are generally not copyright-protected in the United States under 17 U.S.C. Section 105. This is a practical attribution note, not legal advice.

Important caveats:

  • FY2026 is partial.
  • Counts are petitions, not unique workers.
  • Employer names are not entity-resolved; the same company may appear under multiple spellings or legal names.
  • approval_rate is approvals / (approvals + denials).
  • This project is an information tool, not legal or immigration advice.

Security Model

This server is intentionally narrow:

  • stdio transport by default; no network listener is opened by this package.
  • Read-only data access; no mutating MCP tools.
  • No SQL, eval, exec, pickle loading, or shell execution.
  • User search text is escaped before regex matching.
  • Years, states, NAICS sectors, sort metrics, and limits are validated before the data layer runs.
  • Results are hard-capped to protect client context windows.
  • Errors returned to clients are sanitized; stack traces stay in stderr logs.

See SECURITY.md for the full policy and vulnerability reporting instructions.

Development

python -m pip install -e ".[dev]"
pytest
ruff check src tests

For quick local test runs without installing the editable package:

PYTHONPATH=src pytest

Run the MCP inspector:

mcp dev src/h1b_mcp/server.py

Open Source

The source code is MIT licensed. Retain USCIS attribution when redistributing the packaged or derived data files.

from github.com/ujjwalredd/H1B-Sponsor-MCP

Installing H1B Sponsor

This server has no published package — it is built from source. Open the repository and follow its README.

▸ github.com/ujjwalredd/H1B-Sponsor-MCP

FAQ

Is H1B Sponsor MCP free?

Yes, H1B Sponsor MCP is free — one-click install via Unyly at no cost.

Does H1B Sponsor need an API key?

No, H1B Sponsor runs without API keys or environment variables.

Is H1B Sponsor hosted or self-hosted?

Self-hosted: the server runs locally on your machine via the install command above.

How do I install H1B Sponsor in Claude Desktop, Claude Code or Cursor?

Open H1B Sponsor on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.

Related MCPs

Compare H1B Sponsor with

Not sure what to pick?

Find your stack in 60 seconds

Author?

Embed badge for your README

Browse similar

All development MCPs