Skip to main content

CleanJobData MCP Server

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

License: MIT

Available MCP Interactions

This server exposes the following MCP interactions:

Tools

  • search_jobs: Search for jobs using the CleanJobData API based on various criteria.
    • Parameters: title, sort_by, city_id, state_id, country_id, location, remote, remote_type, company_name, employer_id, salary_min, salary_max, require_salary, experience_level, employment_type, published_after, max_age, include_expired, include_description, limit, cursor, count.
  • get_job: Retrieve detailed information about a specific job (including its full description) by ID.
    • Parameters: job_id.
  • search_companies: Search for companies by name (fuzzy), website domain, or company IDs.
    • Parameters: query, website_url, employer_id, active, limit, offset.
  • get_company: Retrieve detailed information about a specific company, including enrichment data.
    • Parameters: company_id.
  • suggest_locations: Autocomplete city/state/country names into the IDs used by search_jobs geo filters.
    • Parameters: query, kinds, limit.

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 provide the CleanJobData API key.

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

  2. Obtain a CleanJobData API Key: Request a key from CleanJobData. Set it as the CLEANJOBDATA_API_KEY environment variable.

  3. Configure your client:

    • Using uvx:

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

      1. Clone the repo and note where you clone it to
      2. Claude Desktop: Edit your claude_desktop_config.json:
      {
          "mcpServers": {
              "cleanjobdata": {
                  "command": "uv",
                  "args": [
                      "run",
                      "--directory",
                      "PATH_TO_REPO",
                      "cleanjobdata-mcp"
                  ],
                  "env": {
                      "CLEANJOBDATA_API_KEY": ""
                  }
              }
          }
      }
      

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

  • CLEANJOBDATA_API_KEY (required): Your API key for accessing the CleanJobData API, sent as a Bearer token. 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:
pytest

Contributing

Contributions are welcome.

License

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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cleanjobdata_mcp-0.1.0.tar.gz (82.8 kB view details)

Uploaded Source

Built Distribution

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

cleanjobdata_mcp-0.1.0-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cleanjobdata_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 82.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for cleanjobdata_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 69456dfe180b32d88954e1979705d7379e26a74d0a3022f2446335fa22654e4a
MD5 3e5cd510a24facf78361271ca3cf6d64
BLAKE2b-256 f89be7c2e7840809f84cb4788d570e63eae0020de3ce420dc30d706b3cfa77d5

See more details on using hashes here.

Provenance

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

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

File metadata

File hashes

Hashes for cleanjobdata_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0c723282ba0237040b341ff21eb0d0b0c28f02f28d2a6c509c5736e77d3a9eaa
MD5 6ada62b5c1a9b84958181e53bd2b3a18
BLAKE2b-256 88b9877846e68f4e741bfc5bf2a7889d6a675bcc7b84b271d4c371d777cd5f54

See more details on using hashes here.

Provenance

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

Publisher: ci.yml on jhgaylor/cleanjobdata-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.2.0

2 files

0.1.1

2 files

This release

0.1.0 This release

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page