cleanjobdata-mcp
search_jobs: Search for jobs using filters like title, location (city/state/country IDs or ISO codes), remote status, company, salary range, experience level, employment type, date, and more. Supports pagination.
get_job: Retrieve detailed job information, including full HTML description, by job ID.
search_companies: Find companies via fuzzy name search, website domain, or employer IDs, with optional active-status filter.
get_company: Get detailed company info and enrichment data by employer ID.
suggest_locations: Autocomplete city, state, or country names to obtain IDs for use in search_jobs geo-filters.
create_candidate_profile (prompt): Generates a structured prompt from candidate details (name, LinkedIn, website, resume) to guide job searches.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@cleanjobdata-mcp search for Python developer jobs in Berlin"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
CleanJobData MCP Server
A Model Context Protocol (MCP) server providing tools to interact with the CleanJobData Job API.
It runs two ways:
stdio (default) — your MCP client launches it locally and it uses the
CLEANJOBDATA_API_KEYenv var.HTTP (
--transport http) — one hosted server, many users, each authenticating with their own CleanJobData key sent per request. See Running as a remote HTTP server.
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 bysearch_jobsgeo 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.
Related MCP server: trackly-cli
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.
Ensure
uvis installed:curl -LsSf https://astral.sh/uv/install.sh | shObtain a CleanJobData API Key: Request a key from CleanJobData. Set it as the
CLEANJOBDATA_API_KEYenvironment variable.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-mcpWindows Command:
cmdWindows Args:
/c,uvx,cleanjobdata-mcpSet the
CLEANJOBDATA_API_KEYenvironment variable in the appropriate section.
Running from source (Alternative):
Clone the repo and note where you clone it to
Claude Desktop: Edit your
claude_desktop_config.json:
{ "mcpServers": { "cleanjobdata": { "command": "uv", "args": [ "run", "--directory", "PATH_TO_REPO", "cleanjobdata-mcp" ], "env": { "CLEANJOBDATA_API_KEY": "" } } } }
Running as a remote HTTP server
The HTTP transport serves many users from a single process. Each request carries its own CleanJobData API key, so the server holds no user credentials and every upstream call is billed to the caller who made it.
cleanjobdata-mcp --transport http --host 0.0.0.0 --port 8000The MCP endpoint is POST /mcp (streamable HTTP); GET /healthz is an unauthenticated liveness probe.
How clients authenticate
A client sends its key on every request, in either header:
Authorization: Bearer <cleanjobdata-api-key>
X-CleanJobData-API-Key: <cleanjobdata-api-key>X-CleanJobData-API-Key wins if both are present. A request with neither is rejected with a message
telling the caller how to supply one — it does not silently fall back to the server's own key.
Example client config (Claude Desktop / Cursor remote MCP server):
{
"mcpServers": {
"cleanjobdata": {
"url": "https://your-host.example.com/mcp",
"headers": {
"Authorization": "Bearer YOUR_CLEANJOBDATA_API_KEY"
}
}
}
}Or from the command line:
npx mcp-remote https://your-host.example.com/mcp --header "Authorization: Bearer YOUR_KEY"Docker
Prebuilt images are published to GitHub Container Registry for linux/amd64 and linux/arm64:
docker run --rm -p 8000:8000 ghcr.io/jhgaylor/cleanjobdata-mcp:latestTag | Points at |
| The most recent release |
| That specific release / its latest patch |
| The tip of |
| A specific commit |
Or build it yourself:
docker build -t cleanjobdata-mcp .
docker run --rm -p 8000:8000 cleanjobdata-mcpThe image ships no API key — keys arrive per request. It defaults to MCP_TRANSPORT=http,
HOST=0.0.0.0, PORT=8000, and runs as a non-root user.
Scaling out
Requests are stateless by default, so you can run several replicas behind a load balancer with no sticky sessions. To use your own ASGI server with multiple workers:
uvicorn cleanjobdata_mcp.app:app --host 0.0.0.0 --port 8000 --workers 4Pass --stateful (or MCP_STATEFUL=1) only if you need per-session server state; that requires
sticky routing.
Single-tenant HTTP deployments
If you want one hosted server that always uses your key rather than the caller's, set both
CLEANJOBDATA_API_KEY and CLEANJOBDATA_ALLOW_ENV_KEY_FALLBACK=true. Requests that supply their own
key still use it; requests without one fall back to the server's key. Leave this off for anything
multi-user — otherwise a user who forgets their header gets billed to you.
CLI options
Flag | Env var | Default | Purpose |
|
|
|
|
|
|
| Bind address (use |
|
|
| Bind port |
|
|
| URL path of the MCP endpoint |
|
| off | Plain JSON instead of SSE, for proxies that buffer |
|
| off | Keep per-session state in memory |
|
| none | Allowed |
|
| none | Allowed |
Operational notes
Terminate TLS in front of the server (load balancer, reverse proxy, or platform ingress). Keys travel in request headers, so plain HTTP over the public internet would expose them.
Tool handlers run in a thread pool, so a slow upstream call blocks one thread rather than the whole event loop. Very high concurrency benefits from more replicas rather than one large process.
Development
This project uses:
uvfor dependency management and virtual environmentsrufffor linting and formattinghatchas 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: Your API key for the CleanJobData API, sent upstream as a Bearer token. Required for stdio; over HTTP the caller's own header supplies the key instead.CLEANJOBDATA_ALLOW_ENV_KEY_FALLBACK: Set totrueto let HTTP requests without a key fall back toCLEANJOBDATA_API_KEY. Off by default — see Single-tenant HTTP deployments.CLEANJOBDATA_API_BASE: Override the API base URL (defaulthttps://api.cleanjobdata.com).
Transport settings (MCP_TRANSPORT, HOST, PORT, …) are listed under CLI options.
Testing
This project uses pytest for testing the core tool logic. Tests mock external API calls using unittest.mock.
Install test dependencies:
# Ensure you are in your activated virtual environment (.venv)
uv pip install -e '.[test]'Run tests:
pytestContributing
Contributions are welcome.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Available Tools
5 toolsget_companyA
Get detailed information about a specific company, including enrichment data
Args: company_id: The unique identifier of the company (employer_id)
Inputs: company_id (required). Returns: result
get_jobA
Get detailed information about a specific job, including its full description
Args: job_id: The unique numeric identifier of the job
Inputs: job_id (required). Returns: result
search_companiesA
Search for companies using the CleanJobData API
query, website_url, and employer_id are mutually exclusive lookup modes, checked in priority order: employer_id, then website_url, then query.
Args: query: Company name to search for (fuzzy match, ranked by relevance) website_url: Match by registrable domain; accepts a bare domain or full URL employer_id: Look up one or more companies directly by ID (max 100) active: Only return companies with active jobs (default true) limit: Results per request (max 100 when searching) offset: Skip this many rows
Inputs: limit, query, active, offset, +2 more. Returns: result
search_jobsA
Search for jobs using the CleanJobData API
Results are paginated with opaque cursors: pass the response's
pagination.next_page (or prev_page) token back as cursor to move
through pages.
Args: title: Full-text search on job title / keywords sort_by: Sort order: "published" (default) or "relevance" (requires title) city_id: City IDs to filter by (use suggest_locations to find IDs) state_id: State IDs to filter by (use suggest_locations to find IDs) country_id: Country IDs to filter by (use suggest_locations to find IDs) location: ISO 3166-1 alpha-2 country codes (e.g. ["US", "DE"]); used when no city/state/country IDs are provided remote: True to return remote-only jobs remote_type: One of fully_remote, remote_country, remote_region, hybrid company_name: Substring match on company name employer_id: Company IDs to filter by (max 100) salary_min: Minimum salary for the salary range filter salary_max: Maximum salary for the salary range filter require_salary: True to only return jobs with a verified salary experience_level: Experience levels: EN (entry), MI (mid), SE (senior), EX (executive) employment_type: Employment types: FULL_TIME, PART_TIME, CONTRACT, INTERN, TEMPORARY, FREELANCE, APPRENTICESHIP, VOLUNTEER, PER_DIEM, OTHER published_after: Only jobs published at or after this ISO 8601 instant max_age: Rolling window on published date, integer with optional unit h/d/w (e.g. "7d") include_expired: True to also include closed/expired listings include_description: True to include the full HTML job description (excluded from list results by default) limit: Results per request (1-100) cursor: Opaque pagination token from a previous response count: True to include the total job count in pagination (costs an extra query)
Inputs: count, limit, title, cursor, +18 more. Returns: result
suggest_locationsA
Look up city/state/country IDs by name for use in search_jobs filters
Args: query: The search query (e.g. a city, state, or country name) kinds: Location types to include: city, state, country (default all) limit: Maximum results to return (1-30)
Inputs: query (required), kinds, limit.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
Each tool has a distinct purpose: searching jobs, retrieving job details, retrieving company details, searching companies, and suggesting location filters. No two tools overlap in functionality, making selection unambiguous.
All tool names follow a consistent verb_noun pattern with snake_case: search_jobs, get_job, get_company, search_companies, suggest_locations. The naming is predictable and clearly indicates the action and resource.
Five tools is well-scoped for a job search API. Each tool covers a core operation (search, detail retrieval, and location lookup) without redundancy or unnecessary bloat.
For a read-only job search service, the tool surface covers all necessary workflows: finding jobs, inspecting job details, finding companies, inspecting company details, and resolving location IDs for filtering. There are no obvious gaps that would hinder an agent.
Maintenance
Related MCP Connectors
Public MCP server for discovering open jobs. Search, filter, and get application links.
GetJobzi MCP server for job search, application tracking, and career forecasting.
A jobs data API and MCP server. Every listing comes from the employer's own career site, an ATS feed or a government employment service, never resold from another board. Each row names its source and when we last confirmed the vacancy existed, and a role that disappears keeps a closure date and a reason. Six tools: search_jobs, get_job, company_hiring, market_signals, coverage, changes_since.
Read-only MCP server for public WeJob jobs, formations, and companies.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceMCP server that exposes job search data from multiple boards, enabling clients to query and manage job listings via natural language.7MIT

trackly-cliofficial
AlicenseNot gradedqualityBmaintenanceMCP server for job search and application tracking, enabling AI agents to search jobs, get details, manage applications, and find contacts across 128K+ jobs and 1,900+ companies.807 npm3MIT
bach-jsearchofficial
AlicenseAqualityDmaintenanceMCP server for accessing Jsearch API to search jobs, get job details, and retrieve salary estimates.4MIT- AlicenseNot gradedqualityCmaintenanceAn MCP server that exposes job-search and application-management capabilities to compatible AI clients, enabling discovery of vacancies, drafting of tailored application materials, and coordinated human-approved submissions.MIT