Skip to main content

CleanJobData MCP Server

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

PyPI 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.1.tar.gz (88.1 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.1-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cleanjobdata_mcp-0.1.1.tar.gz
  • Upload date:
  • Size: 88.1 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.1.tar.gz
Algorithm Hash digest
SHA256 b9fa285bd2b2de089f6b8a70a5307d4272e9059ffec4e13bbb7ed1ece7b42375
MD5 19afaeedd8260509cc18278f37f603e6
BLAKE2b-256 e88793f5d66a4b43763d83c72728a74ca4dd6add93bf674d726c08da657de59c

See more details on using hashes here.

Provenance

The following attestation bundles were made for cleanjobdata_mcp-0.1.1.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.1-py3-none-any.whl.

File metadata

File hashes

Hashes for cleanjobdata_mcp-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4881ac255fa079ec78156a98f27c093c5192d1d7c4167914c417a8171ee262bb
MD5 efa10b13f506660f4143171e8b739a4a
BLAKE2b-256 ef19c1c22b5fbba0ac5e9883fd811dc139c46ad5b0f503de26da76419faf8dfc

See more details on using hashes here.

Provenance

The following attestation bundles were made for cleanjobdata_mcp-0.1.1-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

This release

0.1.1 This release

2 files

0.1.0

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