Dev.to AI 🤖 Ai 👁 0 📖 4 min read

Give your AI assistant live job search with a public MCP server (no API key)

Most "job search" demos for AI agents stop at a hard-coded JSON file. If you want an assistant that can answer "what Python contracts were posted in London this month?" with real data, you need a live source. Here is how

Most "job search" demos for AI agents stop at a hard-coded JSON file. If you want an assistant that can answer "what Python contracts were posted in London this month?" with real data, you need a live source. Here is how to plug a public, read-only job search MCP server into your AI client and how to call it directly with curl when you want to debug or script it.

The server I use in this post is the Finder Jobs MCP server. It needs no account and no API key, it speaks Streamable HTTP, and it covers job listings and salary data for 60 countries. The connection URL is shown on that docs page: it is the /mcp path on the same host.

1. Connect it to your client

In Claude (web or Desktop), go to Settings, then Connectors, then "Add custom connector" and paste the server URL.

In Cursor, VS Code and other clients that read an mcpServers config, add an entry like this:

{
  "mcpServers": {
    "finder-jobs": {
      "url": "<server URL from the docs page>"
    }
  }
}

Restart the client, and the tools should show up in the tool list. All of them are marked read-only, so the assistant cannot change anything on the server side.

2. Know the six tools

Tool What it is for
search(query) One free-text query, up to 10 results with id, title and URL. Follows the search/fetch shape used by ChatGPT connectors.
fetch(id) Full content of one result from search (a vacancy, a listing page or a salary page).
search_vacancies(country, query, city, limit, offset) Newest matching vacancies with structured fields: employer, city, salary, posting date, employment type, workplace. limit is 1 to 20, offset is 0 to 100.
get_vacancy(id, country) Details of one vacancy, including a description of up to 8,000 characters.
salary_stats(country, profession, city) Median salary and spread for a profession, computed from advertised salaries in active vacancies, with a method field that says how.
list_countries() Supported countries and their codes.

A useful rule of thumb: let a chat assistant use search and fetch for open questions, and use search_vacancies in your own code when you want typed fields you can filter and sort.

3. Call it with curl

MCP over Streamable HTTP is JSON-RPC over a POST request. You need two headers: Content-Type: application/json and Accept: application/json, text/event-stream. Put the server URL into a variable first:

export FINDER_MCP="<server URL from the docs page>"

Handshake:

curl -s "$FINDER_MCP" \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json, text/event-stream' \
  -d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-06-18","capabilities":{},"clientInfo":{"name":"curl","version":"0"}}}'

List the tools with their JSON schemas:

curl -s "$FINDER_MCP" \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json, text/event-stream' \
  -d '{"jsonrpc":"2.0","id":2,"method":"tools/list"}' | jq '.result.tools[].name'

Call a tool. Results come back twice: as text in content and as typed JSON in structuredContent, which is the part you want in scripts:

curl -s "$FINDER_MCP" \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json, text/event-stream' \
  -d '{"jsonrpc":"2.0","id":3,"method":"tools/call","params":{"name":"search_vacancies","arguments":{"country":"gb","query":"python developer","limit":5}}}' \
  | jq -r '.result.structuredContent.results[] | [.posted_at, .title, .employer, .city] | @tsv'

When I ran this, it printed one tab-separated line per vacancy: posting date, title, employer and city. In my test I did not need a session header between calls, but a proper MCP client handles that for you anyway.

4. Handle "no data" as a normal answer

Not every query has an answer, and the server says so explicitly instead of returning an empty list. For example, asking salary_stats for a profession in a city with too few salaries returns (shortened):

{"content":[{"type":"text","text":"Not enough salary data for 'software developer' in Berlin"}],"isError":true}

In your own code, check isError and the error field in structuredContent before reading results. In a prompt, tell the assistant to report that there is not enough data rather than invent a number. Two practical tips:

  • If a profession is "not found", try the name the way it is written in local job ads, or drop the city and ask for the whole country.
  • Call list_countries once and cache it, instead of guessing country codes.

5. Ideas for small projects

  • A daily digest: run search_vacancies for a few queries every morning and post new ids to a chat.
  • A salary sanity check inside an offer comparison tool, using salary_stats with its method field shown to the user.
  • An agent evaluation set: real, changing data is a good test of whether your agent cites sources instead of making things up.

If you build something on top of it, I would be glad to hear what worked and what was missing.

Vitaly Amelechkin, founder of Finder.work

📰 Read the original article on Dev.to AI

Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.