H1B Job Search MCP Server 标志

H1B Job Search MCP Server

社区
aryaminus

An MCP (Model Context Protocol) server that automates H-1B job searching using U.S. Department of Labor LCA disclosure data.

发布者aryaminus
代码仓库h1b-job-search-mcp
语言Python
复刻数
5
星标数
16
可用工具
0
传输类型streamable-http
分类
许可协议MIT
链接
  • 将工具接入 AI 工作流

    H1B Job Search MCP Server 提供 MCP 功能,可供兼容的 AI 客户端和智能体使用。

  • 0 个可用工具

    浏览下方可调用的操作;如果服务器提供了名称和描述,也会一并显示。

  • 可直接复制的配置

    使用安装配置片段,在您首选的 MCP 客户端中配置此服务器。

  • 开源社区热度

    关联的代码仓库有 16 个星标和 5 个复刻。

H1B Job Search MCP Server

An MCP (Model Context Protocol) server that automates H-1B job searching using REAL U.S. Department of Labor LCA disclosure data. Built with FastMCP.

🚀 Live Server: https://h1b-job-search-mcp.onrender.com/mcp

Deploy to Render

Note: Due to limitation of memory on the free instance, the server tends to go down. I'm happy to accept server donations for hosting.

✅ Real Data, Not Samples!

This server fetches actual H-1B application data directly from the U.S. Department of Labor's official disclosure files. Each dataset contains tens of thousands of real H-1B applications with:

  • Real company names (Google, Microsoft, Amazon, etc.)
  • Actual job titles and salaries
  • Real work locations and contact information
  • Certified application statuses

Data Source: https://www.dol.gov/agencies/eta/foreign-labor/performance

Features

  • 📊 Download LCA Data: Automatically downloads and caches H-1B LCA disclosure data from the Department of Labor
  • 🔍 Smart Search: Filter H-1B sponsoring companies by job role, location, and wage
  • 🏢 Company Analytics: Get detailed sponsorship statistics for specific companies
  • 📈 Top Sponsors: List top H-1B sponsoring companies by volume
  • 🚫 Agency Filtering: Automatically filter out staffing agencies to find direct employers
  • 📁 Export Results: Export filtered results to CSV for easy outreach
  • 💾 Data Caching: Intelligent caching to avoid re-downloading large datasets
  • 🤖 Multi-LLM Support: Works with Claude, ChatGPT, Gemini, Cursor, and Poke

📖 How to Use

For detailed usage examples and natural language prompts, see the Usage Guide.

Quick Examples

Just talk naturally! The ask tool understands plain English:

  • "Load the latest H-1B data"
  • "Find software engineer jobs in California paying over 150k"
  • "Tell me about Google's H-1B sponsorships"
  • "Export data scientist positions to CSV"

Available MCP Tools

1. load_h1b_data

Download and load H-1B LCA data from the Department of Labor.

  • Parameters:
    • year: Fiscal year (default: 2024)
    • quarter: Quarter 1-4 (default: 4)
    • force_download: Force re-download even if cached

2. search_h1b_jobs

Search for H-1B sponsoring companies by job role and location.

  • Parameters:
    • job_role: Job title to search (e.g., "Software Engineer")
    • city: Work city (optional)
    • state: Work state code (optional, e.g., "CA")
    • min_wage: Minimum wage filter (optional)
    • max_results: Maximum results to return
    • skip_agencies: Skip staffing agencies (default: true)

3. get_company_stats

Get detailed H-1B sponsorship statistics for a specific company.

  • Parameters:
    • company_name: Company name to analyze

4. get_top_sponsors

List top H-1B sponsoring companies by application volume.

  • Parameters:
    • limit: Number of companies to return
    • exclude_agencies: Exclude staffing agencies

5. export_results

Export filtered H-1B results to a CSV file.

  • Parameters:
    • job_role: Job title to filter
    • city: City filter (optional)
    • state: State filter (optional)
    • filename: Output filename
    • max_results: Maximum results to export

6. get_available_data

Check available LCA data periods and cached files.

7. ask (Natural Language Interface) 🎯

Talk to the H-1B search in simple English!

  • Usage: Just describe what you want in plain language
  • Examples:
    • "I'm a software engineer looking for jobs in the Bay Area"
    • "Show me data scientist positions paying over 180k"
    • "Which companies sponsor the most H-1B visas?"
    • "Tell me about Microsoft's H-1B program"

Local Development

Setup

bash
git clone <your-repo-url>
cd mcp-server-template
conda create -n h1b-mcp python=3.13
conda activate h1b-mcp
pip install -r requirements.txt

Test with MCP Inspector

bash
# Terminal 1: Start the server
python src/server.py

# Terminal 2: Run the inspector
npx @modelcontextprotocol/inspector

Open http://localhost:3000 and connect to http://localhost:8000/mcp using "Streamable HTTP" transport.

Example Usage Flow

  1. Load the data:

    Tool: load_h1b_data
    Parameters: {"year": 2024, "quarter": 4}
  2. Search for jobs:

    Tool: search_h1b_jobs
    Parameters: {
      "job_role": "Software Engineer",
      "state": "CA",
      "min_wage": 120000,
      "skip_agencies": true
    }
  3. Get company details:

    Tool: get_company_stats
    Parameters: {"company_name": "Google"}
  4. Export results:

    Tool: export_results
    Parameters: {
      "job_role": "Data Scientist",
      "state": "NY",
      "filename": "ny_data_scientists.csv"
    }

Deployment

Option 1: Deploy to Render

Click the "Deploy to Render" button above.

Option 2: Manual Deployment

  1. Fork this repository
  2. Connect your GitHub account to Render
  3. Create a new Web Service on Render
  4. Connect your forked repository
  5. Render will automatically detect the render.yaml configuration

Your server will be available at https://your-service-name.onrender.com/mcp

Current deployment: https://h1b-job-search-mcp.onrender.com/mcp

Multi-LLM Support

This MCP server works with multiple LLM platforms. For detailed integration instructions, see docs/LLM_INTEGRATION.md.

Quick Setup by Platform

Claude Desktop

json
{
  "mcpServers": {
    "h1b-search": {
      "command": "python",
      "args": ["/path/to/src/server.py"]
    }
  }
}

ChatGPT/OpenAI

Run server with PORT=8000 python src/server.py and use the OpenAPI schema in config/openai_config.json.

Google Gemini

Configure with function declarations using config/gemini_config.json.

Cursor IDE

Place config/cursor_config.json in .cursor/mcp-config.json and reload.

Interaction Poke

Use config/poke_config.json in Poke settings.

See docs/LLM_INTEGRATION.md for complete setup guides, testing procedures, and troubleshooting.

Data Source

This tool uses publicly available LCA disclosure data from the U.S. Department of Labor's Foreign Labor Certification Data Center. The data includes:

  • Employer information
  • Job titles and wages
  • Work locations
  • Case status
  • Contact information (when available)

Note: This data shows historical H-1B sponsorship patterns. Always verify current sponsorship policies with employers directly.

Privacy & Legal

  • All data used is publicly available from the U.S. Department of Labor
  • No private or confidential information is accessed
  • Use responsibly and professionally when contacting employers
  • Respect company communication preferences

Customization

Add custom filtering logic or additional tools by modifying src/server.py:

python
@mcp.tool
def custom_analysis(parameter: str) -> dict:
    """Your custom H-1B data analysis."""
    # Your implementation here
    pass

Troubleshooting

  • Data not loading: Check your internet connection and verify the year/quarter exists
  • No results found: Try broader search terms or check different quarters
  • Memory issues: The full dataset can be large; consider using nrows parameter in pandas
  • Cache issues: Delete the data_cache directory to force fresh downloads

Contributing

Feel free to submit issues and pull requests to improve this tool!

License

MIT

安装

TypingMind
前提条件:

Node.js 18+

{
  "mcpServers": {
    "aryaminus-h1b-job-search-mcp": {
      "command": "",
      "args": []
    }
  }
}

将 H1B Job Search MCP Server MCP 与多个 AI 模型配合使用

TypingMind 在工作区级别连接 MCP 工具,因此连接 H1B Job Search MCP Server 后,您就可以在 TypingMind 中搭配不同的 AI 模型使用,无需为每个模型单独设置。 在 TypingMind 中,您可以使用远程托管的 MCP 服务器的 URL 连接此 MCP 服务。

添加 MCP 服务器 URL

如果 H1B Job Search MCP Server 已托管在远程服务器上,或您的团队希望让多个用户共用一个连接器,请选择此方式。

1

打开 MCP 连接器

在 TypingMind 中,前往“插件”,打开“MCP 连接器”,然后选择“添加 URL”。

  1. 在您的浏览器中打开 TypingMind。
  2. 进入“插件”。
  3. 打开“MCP 连接器”。
  4. 点击“添加 URL”。
TypingMind 的“添加自定义 MCP 服务器 URL”表单
2

粘贴服务器 URL

在“服务器 URL”字段中输入 您的服务器 URL。根据服务器要求,添加连接名称、描述、图标、自定义 HTTP 请求头或 OAuth 客户端设置。

  1. 将 您的服务器 URL 粘贴到“服务器 URL”字段中。
  2. 为 H1B Job Search MCP Server 输入连接名称。
  3. 您可以添加描述和图标,以便更容易识别此连接。
  4. 如果服务器需要身份验证,请添加自定义 HTTP 请求头或 OAuth 客户端信息。
3

创建连接

点击“创建连接”,然后返回插件列表,确认新的 MCP 连接处于可用状态。

  1. 点击“创建连接”。
  2. 返回 MCP 连接器列表。
  3. 确认列表中的 H1B Job Search MCP Server 连接显示为可用状态。
  4. 如果连接未立即出现,请刷新插件列表。
4

切换模型,无需重新连接

使用您偏好的模型开始聊天,在“插件”中启用 H1B Job Search MCP Server 工具,并根据需要随时切换到其他模型。该 MCP 连接在 TypingMind 工作区中仍然可用。

  1. 在 TypingMind 中开始新聊天。
  2. 选择您想使用的 AI 模型。
  3. 在“插件”中启用 H1B Job Search MCP Server 工具。
  4. 需要时,请让模型使用该工具。
  5. 切换到其他 AI 模型,继续使用同一个 MCP 连接。
在 TypingMind 聊天中使用已启用的 MCP 工具和选定的 AI 模型
您能使用 H1B Job Search MCP Server 帮我完成这项任务吗?
H1B Job Search MCP Server
当然,我看过了。
以下是我使用 H1B Job Search MCP Server 得到的结果。

常见问题

H1B Job Search MCP Server MCP 服务器有什么用途?

H1B Job Search MCP Server 是一个 MCP 服务器,可让兼容的 AI 客户端连接外部工具并获取上下文。在 TypingMind 中,只需添加一次此 MCP 服务器,即可在您的 AI 工作区中使用其工具。

可以在 TypingMind 中让多个 AI 模型使用 H1B Job Search MCP Server MCP 吗?

可以。TypingMind 在工作区层面连接 MCP 工具,因此您无需为每个模型单独配置 MCP 服务器,就能在 Claude、ChatGPT、Gemini 或您在 TypingMind 中配置的其他 AI 模型中使用 H1B Job Search MCP Server。

为什么在 TypingMind 中使用 H1B Job Search MCP Server MCP?

TypingMind 将多个 AI 模型、提示词、插件、AI 智能体、API 密钥和 MCP 工具整合到同一个工作区中,是最出色的大语言模型聊天前端之一。连接 H1B Job Search MCP Server 后,您可以在偏好的不同模型中使用其 MCP 工具,同时在 TypingMind 中井然有序地管理聊天工作流程。

如何将 H1B Job Search MCP Server MCP 连接到 TypingMind?

要连接 H1B Job Search MCP Server,请在 TypingMind 中添加该远程 MCP 服务器的 URL。如果您希望在 TypingMind 工作区中使用远程 MCP 连接,这种方式很适合。

H1B Job Search MCP Server MCP 在 TypingMind 中提供哪些工具?

H1B Job Search MCP Server 提供 MCP 功能,您可以在 TypingMind 的插件页面启用这些功能,然后在聊天中使用,或将其分配给 AI 智能体。

使用 H1B Job Search MCP Server MCP 需要向 TypingMind 提供我的 API 密钥吗?

不需要。TypingMind 采用本地优先的设计,让您自行选择模型提供商,并自行管理 API 密钥、提示词和 MCP 配置。如果 H1B Job Search MCP Server 需要身份验证,请在创建连接时,为该 MCP 服务器添加所需的请求头、OAuth 设置或本地配置。

相关 MCP 服务器

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇