Skip to main content

HireBase MCP Server

Project description

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/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.

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

hirebase_mcp-0.1.0.tar.gz (27.2 kB view details)

Uploaded Source

Built Distribution

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

hirebase_mcp-0.1.0-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for hirebase_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a4c3106afdc72dbc11e3d789742400c3f9eb39624669d5a41995a5e3dd4cdd90
MD5 720b4dadf035f6daf618e7e993a0892a
BLAKE2b-256 02fbb1a0779a75f13397c3dff0776f160d93a977e581e3ee80613e06c6023b51

See more details on using hashes here.

Provenance

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

Publisher: ci.yml on jhgaylor/hirebase-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 hirebase_mcp-0.1.0-py3-none-any.whl.

File metadata

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

File hashes

Hashes for hirebase_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2e526e28c5718250c1ee29d80d492437642724e3b8a355e9e3886dea03ae2e3b
MD5 7e87e1224016c7da4ff914f4c0b4870a
BLAKE2b-256 503a43a1110b5f772c296094ec310b07f83acccfe0b42c14bd46fbafe100f65e

See more details on using hashes here.

Provenance

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

Publisher: ci.yml on jhgaylor/hirebase-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