Skip to main content

MCP server for Threshold H-1B immigration intelligence API

Project description

threshold-mcp

MCP server that exposes the Threshold API as tools for LLMs. Provides programmatic access to H-1B prevailing wage data, SOC codes, employer intelligence, and geographic optimization.

Install

Requires Python 3.11+.

pip install threshold-mcp

Quick Start

Set your API key and start the server:

export THRESHOLD_API_KEY=your_key_here
threshold-mcp

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "threshold": {
      "command": "threshold-mcp",
      "env": {
        "THRESHOLD_API_KEY": "your_key_here"
      }
    }
  }
}

Tools

Wages

Tool Description
lookup_prevailing_wage Get prevailing wage data for a SOC code and location (ZIP, CBSA, or city+state)
calculate_wage_level Calculate the wage level for a given SOC code, location, and offered wage

SOC Codes

Tool Description
search_soc_codes Search for SOC codes by job title or keyword
get_soc_details Get full details for a SOC code including description and LCA filing statistics

Employers

Tool Description
search_employers Search for H-1B sponsor employers by name
get_employer_profile Get a detailed employer profile with filing history and wage stats

Intelligence (Pro)

Tool Description
optimize_geography Find metro areas where a wage qualifies for the best H-1B lottery advantage
analyze_classification Find alternative SOC classifications with wage and lottery implications
get_employer_intelligence Comprehensive H-1B program analysis for a specific employer

Configuration

Environment Variable Default Description
THRESHOLD_API_KEY (required) API key for authentication
THRESHOLD_API_URL https://api.threshold-immigration.com API base URL

Development

pip install -e ".[dev]"

pytest                    # Run tests
ruff check src/ tests/    # Lint
ruff format src/ tests/   # Format
mypy src/                 # Type check

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

threshold_mcp-0.1.0.tar.gz (11.6 kB view details)

Uploaded Source

Built Distribution

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

threshold_mcp-0.1.0-py3-none-any.whl (11.5 kB view details)

Uploaded Python 3

File details

Details for the file threshold_mcp-0.1.0.tar.gz.

File metadata

  • Download URL: threshold_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 11.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for threshold_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a7d9d52a3246a19ddef48b1280b2ae9b5cb13128f2adfdfa09633546b4d24438
MD5 dba4817c23cfdd94ca96a2ec64fee7bd
BLAKE2b-256 9f1e219e7a8a97a9591208ea4c11beda2eaf523222d79360421614166e822e8c

See more details on using hashes here.

Provenance

The following attestation bundles were made for threshold_mcp-0.1.0.tar.gz:

Publisher: publish.yml on Threshold-Immigration/threshold-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 threshold_mcp-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: threshold_mcp-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 11.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for threshold_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 501bafbccb8e84d5f3c8980c266f59782093c64d617e800d966387e5dd628910
MD5 2ca5c09dbdea7a09fbf876a8e8a25278
BLAKE2b-256 881ebf6a71b905675c08ac4313e2cad472dc3859f6c483bfdf6ce9e58240f35a

See more details on using hashes here.

Provenance

The following attestation bundles were made for threshold_mcp-0.1.0-py3-none-any.whl:

Publisher: publish.yml on Threshold-Immigration/threshold-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