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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a7d9d52a3246a19ddef48b1280b2ae9b5cb13128f2adfdfa09633546b4d24438
|
|
| MD5 |
dba4817c23cfdd94ca96a2ec64fee7bd
|
|
| BLAKE2b-256 |
9f1e219e7a8a97a9591208ea4c11beda2eaf523222d79360421614166e822e8c
|
Provenance
The following attestation bundles were made for threshold_mcp-0.1.0.tar.gz:
Publisher:
publish.yml on Threshold-Immigration/threshold-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
threshold_mcp-0.1.0.tar.gz -
Subject digest:
a7d9d52a3246a19ddef48b1280b2ae9b5cb13128f2adfdfa09633546b4d24438 - Sigstore transparency entry: 976089883
- Sigstore integration time:
-
Permalink:
Threshold-Immigration/threshold-mcp@5632ab506d433c63fe07b5825cd23e2576c30d62 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/Threshold-Immigration
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@5632ab506d433c63fe07b5825cd23e2576c30d62 -
Trigger Event:
release
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
501bafbccb8e84d5f3c8980c266f59782093c64d617e800d966387e5dd628910
|
|
| MD5 |
2ca5c09dbdea7a09fbf876a8e8a25278
|
|
| BLAKE2b-256 |
881ebf6a71b905675c08ac4313e2cad472dc3859f6c483bfdf6ce9e58240f35a
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
threshold_mcp-0.1.0-py3-none-any.whl -
Subject digest:
501bafbccb8e84d5f3c8980c266f59782093c64d617e800d966387e5dd628910 - Sigstore transparency entry: 976089888
- Sigstore integration time:
-
Permalink:
Threshold-Immigration/threshold-mcp@5632ab506d433c63fe07b5825cd23e2576c30d62 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/Threshold-Immigration
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@5632ab506d433c63fe07b5825cd23e2576c30d62 -
Trigger Event:
release
-
Statement type: