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
Metadata
Release files for threshold-mcp 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| threshold_mcp-0.1.0.tar.gz | 11.6 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| threshold_mcp-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 23.1 kB
Release files / threshold_mcp-0.1.0.tar.gz
| Download URL | threshold_mcp-0.1.0.tar.gz |
|---|---|
| Size | 11.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a7d9d52a3246a19ddef48b1280b2ae9b5cb13128f2adfdfa09633546b4d24438
|
|
BLAKE2b-256 checksum How to use checksums |
9f1e219e7a8a97a9591208ea4c11beda2eaf523222d79360421614166e822e8c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 21, 2026.
Transparency logRelease files / threshold_mcp-0.1.0-py3-none-any.whl
| Download URL | threshold_mcp-0.1.0-py3-none-any.whl |
|---|---|
| Size | 11.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
501bafbccb8e84d5f3c8980c266f59782093c64d617e800d966387e5dd628910
|
|
BLAKE2b-256 checksum How to use checksums |
881ebf6a71b905675c08ac4313e2cad472dc3859f6c483bfdf6ce9e58240f35a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 21, 2026.
Transparency logSecurity for threshold-mcp 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for threshold_mcp-0.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 21, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.