Cover image
Try Now
2025-04-06

Hirebase.org的API的Python MCP服务器

3 years

Works with Finder

1

Github Watches

1

Github Forks

3

Github Stars

HireBase MCP Server

A Model Context Protocol (MCP) server providing tools to interact with the HireBase Job API.

License: MIT

Available MCP Interactions

This server exposes the following MCP interactions:

Tools

  • search_jobs: Search for jobs using the HireBase API based on various criteria (keywords, title, location, salary, etc.).
    • Parameters: query, and_keywords, or_keywords, not_keywords, title, category, country, city, location_type, company, salary_from, salary_to, salary_currency, years_from, years_to, visa, limit.
  • get_job: Retrieve detailed information about a specific job using its HireBase ID.
    • Parameters: job_id.

Prompts

  • create_candidate_profile: Generates a structured prompt based on candidate details (name, LinkedIn, website, resume text) to help guide job searching.
    • Parameters: name, linkedin_url, personal_website, resume_text.

Client Setup (Examples: Claude Desktop, Cursor)

To use this server with an MCP client like Claude Desktop or Cursor, you need to configure the client to run the server process and optionally provide the HireBase API key.

  1. Ensure uv is installed: curl -LsSf https://astral.sh/uv/install.sh | sh

  2. Obtain a HireBase API Key (optional): Request a key from HireBase You can set this as an environment variable (HIREBASE_API_KEY) or just leave it empty.

  3. Configure your client:

    • Using uvx:

      • Claude Desktop: Edit your claude_desktop_config.json:
        {
          "mcpServers": {
            "hirebase": {
              "command": "uvx",
              "args": [
                "hirebase-mcp" 
              ],
              "env": {
                "HIREBASE_API_KEY": "" 
              }
            }
          }
        }
        
      • Cursor: Go to Settings > MCP > Add Server:
        • Mac/Linux Command: uvx hirebase-mcp (Adjust package name if needed)
        • Windows Command: cmd
        • Windows Args: /c, uvx, hirebase-mcp (Adjust package name if needed)
        • Set the HIREBASE_API_KEY environment variable in the appropriate section.
    • Running from source via Python (Alternative):

      1. Clone the repo and note where you clone it to
      2. Claude Desktop: Edit your claude_desktop_config.json:
      {
          "mcpServers": {
              "hirebase": {
                  "command": "uv",
                  "args": [
                      "run",
                      "--with",
                      "mcp[cli]",
                      "--with",
                      "requests",
                      "mcp",
                      "run",
                      "PATH_TO_REPO/src/hirebase_mcp/server.py"
                  ]
              }
          }
      }
      

Development

This project uses:

  • uv for dependency management and virtual environments
  • ruff for linting and formatting
  • hatch as the build backend

Common Tasks

# Setup virtual env
uv venv

# Install dependencies
uv pip install -e .

# install cli tools
uv tool install ruff

# Run linting
ruff check .

# Format code
ruff format .

Environment Variables

  • HIREBASE_API_KEY (required): Your API key for accessing the HireBase API. The server needs this to make authenticated requests for job data.

Testing

This project uses pytest for testing the core tool logic. Tests mock external API calls using unittest.mock.

  1. Install test dependencies:
# Ensure you are in your activated virtual environment (.venv)
uv pip install -e '.[test]'
  1. Run tests:
# Example command
pytest

Contributing

Contributions are welcome.

License

This project is licensed under the MIT License - see the LICENSE file for details.

相关推荐

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • Alexandru Strujac
  • Efficient thumbnail creator for YouTube videos

  • Yusuf Emre Yeşilyurt
  • I find academic articles and books for research and literature reviews.

  • Carlos Ferrin
  • Encuentra películas y series en plataformas de streaming.

  • https://zenepic.net
  • Embark on a thrilling diplomatic quest across a galaxy on the brink of war. Navigate complex politics and alien cultures to forge peace and avert catastrophe in this immersive interstellar adventure.

  • https://reddgr.com
  • Delivers concise Python code and interprets non-English comments

  • apappascs
  • 发现市场上最全面,最新的MCP服务器集合。该存储库充当集中式枢纽,提供了广泛的开源和专有MCP服务器目录,并提供功能,文档链接和贡献者。

  • ShrimpingIt
  • MCP系列GPIO Expander的基于Micropython I2C的操作,源自ADAFRUIT_MCP230XX

  • pontusab
  • 光标与风浪冲浪社区,查找规则和MCP

  • av
  • 毫不费力地使用一个命令运行LLM后端,API,前端和服务。

  • 1Panel-dev
  • 🔥1Panel提供了直观的Web接口和MCP服务器,用于在Linux服务器上管理网站,文件,容器,数据库和LLMS。

  • GeyserMC
  • 与Minecraft客户端/服务器通信的库。

  • Mintplex-Labs
  • 带有内置抹布,AI代理,无代理构建器,MCP兼容性等的多合一桌面和Docker AI应用程序。

  • awslabs
  • AWS MCP服务器 - 将AWS最佳实践直接带入您的开发工作流程的专门MCP服务器

  • modelcontextprotocol
  • 模型上下文协议服务器

    Reviews

    1 (1)
    Avatar
    user_T2t5qMZj
    2025-04-16

    As a loyal user of hirebase-mcp, I am thoroughly impressed by its seamless functionality and ease of use. jhgaylor has developed an exceptional tool that integrates perfectly into my workflow. The documentation is clear, and the community support is outstanding. Highly recommended for anyone needing a reliable MCP application! Check it out at the provided GitHub link.