MCP server
Jobs MCP server for Claude, ChatGPT, Cursor and Codex
Connect Claude, ChatGPT, Grok, Codex, Cursor or any MCP client. Quickest way: copy the setup prompt into your agent.
Onboard your agent
Paste this to your agent. It reads our setup guide, adds the server and walks you through signing in.
Set up Headcount Labs for me. Fetch https://headcountlabs.com/get-started.md and follow it.
https://api.headcountlabs.com/mcpAdd a client
Tested end to end. Sign-in, search, counts, paging and single-job lookups work in Claude Code, Codex and other MCP clients that support remote servers. Every client below uses the same URL and signs in with OAuth.
Listed in the official MCP Registry as com.headcountlabs/jobs and on Glama. The client setup files are on GitHub.
How other job search MCP servers compare: job search MCP servers compared.
Available tools
28 tools after you sign in. Looking up docs, fields, counts, market figures, usage and files you already pulled cost nothing. Full details, scopes and examples are on MCP tools.
search_jobs returns a compact summary of each job; pass view: "full" or call get_job for every field. Text from job ads is labelled as untrusted data that the AI shows but never follows. In clients that support MCP Apps, results also appear as job cards with pay, remote and location filters and an Apply button that opens the original posting.
Filters match the REST API (about 55 in all; list_fields lists them). The most used:
Endpoints and profiles
| Address | What it is |
|---|---|
https://api.headcountlabs.com/mcp | The full server. Needs OAuth sign-in. Without a token it answers 401 with a WWW-Authenticate header that points at the OAuth discovery document, except that a tools/call of search_docs is answered without signing in. |
https://api.headcountlabs.com/mcp/public | No sign-in and no key. Nine read-only tools (search_docs, search_jobs, get_job, count_jobs, market_lookup, market_breakdown, salary_range, market_dimensions, list_fields). market_insights is no longer served. No pricing wording, and no account or records used. One search returns at most 250 jobs, limit 1 to 50 per page, default 10 (1 to 10 with full descriptions), and no max_results (search_jobs then returns next_cursor: null with a note, or fails with search_limit_reached). Limits: 20 tool calls a minute per conversation (HTTP 429 with Retry-After), 1,000 calls a day per conversation, 600 a minute per network, and a site-wide daily budget. initialize and tools/list are not counted. See Rate limits. initialize returns the Mcp-Session-Id to send back. |
https://api.headcountlabs.com/mcp?profile=chatgpt and ?profile=claude | The listings for the ChatGPT and Claude directories: the same 25 tools without set_overage, and without pricing wording, upgrade_url or the verify and compare offers. Other profile values are ignored. |
The transport is stateless Streamable HTTP with JSON responses: send POST; GET answers 405 with Allow: POST. A request body can be up to 256 KB.
OAuth, scopes and API keys
MCP clients sign in with OAuth 2.1 in your browser: the client finds the server's metadata at /.well-known/oauth-protected-resource/mcp and /.well-known/oauth-authorization-server, registers itself at /api/oauth/register (dynamic client registration, public client, PKCE S256, https or loopback redirect addresses, at most 5), sends you to /oauth/authorize and gets tokens from /api/oauth/token. You sign in with Google or an email and password, then approve the scopes on the consent page. The sign-in code lasts 60 seconds and works once. The access token lasts one hour; the client refreshes it with a 30-day refresh token that rotates each time, and reusing an old refresh token revokes the connection. Each connection shows up as an API key labeled MCP: <client name> on api.headcountlabs.com/data/keys; delete it there to disconnect. A customer-created API key also works as a bearer token on /mcp. Setup steps for each client are on the MCP page.
| Document or step | Path |
|---|---|
| Authorization server | /.well-known/oauth-authorization-server |
| Protected resource | /.well-known/oauth-protected-resource/mcp |
| Register a client | /api/oauth/register |
| Sign in and consent | /oauth/authorize |
| Get a token | /api/oauth/token |
Scopes
| Scope | Lets the client | Tools |
|---|---|---|
jobs:read | Search, count, export and read published jobs | search_jobs, get_job, count_jobs, read_file, verify_jobs, compare_sources, search_jobs_json, search_jobs_dsl, list_job_changes, the four export tools, get_usage |
companies:read | Search and read published company records and their jobs | list_companies, search_companies, get_company, list_company_jobs |
usage:read | Read API usage requests, analytics and overage status | get_usage_requests, get_usage_analytics, get_overage, get_usage |
overage:write | Change the search confirmation level or the legacy policy-based monthly overage setting when you explicitly request it. This does not set the cap for current metered record billing; choose that cap on the account Billing page. | set_confirmation_level, set_overage |
A client that asks for no scope gets jobs:read only. To use the company and usage tools, the client must ask for companies:read and usage:read in its scope parameter; the sign-in page lists each scope in plain words before you approve. A tool called without its scope returns insufficient_scope (403). Unknown scopes are refused.
Never ask the user to paste a password, API key or token into chat, and never put one in a prompt, file or log. Keep keys in the client's secret store or in environment variables.
Common errors to check
All codes are on MCP tools and in errors.
- 400
invalid_arguments: each item inproblemsnames thefield, what is wrong, and anexamplethat works, withdid_you_meanfor an unknown filter name. - 401Missing, expired, revoked, or invalid authentication. The response's
WWW-Authenticateheader points the client at the OAuth discovery document. - 403
insufficient_scope: the token lacks the scope the tool needs (see the scopes table), or the account lacks the access. - 405MCP accepts POST only; GET streaming is unsupported.
- 409
confirmation_required: a big search passed your confirmation level. Ask the user, then repeat withconfirmed: true. - 429Over 60 tool calls a minute per API key (with no key: 20 a minute per conversation, or 600 a minute per network): HTTP 429 with a
Retry-Afterheader and a JSON-RPC error, code-32029,error.data.coderate_limited,retry_after_seconds. A signed-in key also gets a tool error withhttp_status429 andrate_limitedwhen more than 10 of its calls run at once (limit_scopeconcurrency), or when the account passes its request allowance (free: 60 requests in any 60 seconds, 1 per second, and 1,000 a day). Send calls one after another, waitRetry-After, and repeat the call once; a refused call is not billed. See Rate limits. - 503
query_too_broad: the search ran past 90 seconds and used no records. Add a state, city, source or company and call again. - Invalid job IDPass the combined
job_id, not a source posting ID.
Evaluate
Check fit before setup.
Inspect dated public examples in the sample explorer, compare prices on the pricing page, and use the Jobs API evaluation guide. Public samples are dated examples; the API reference describes the API response shape.
Ask your agent about jobs today.
Every account gets 100,000 records a month for free.
Compare this with other job APIs
The keyless endpoint is one way to search jobs. For a published comparison of coverage, price, free tier, MCP support and freshness, see the best job posting APIs in 2026, plus alternatives, side-by-side comparisons, pricing and the API docs.