Skip to main content
Glama
job104-mcp

job104-mcp

by mozzan

job104-mcp

An MCP server for searching 104 人力銀行 job listings with natural-language filters. Works with any MCP client — Claude, Cursor, Windsurf, Cline, Zed, VS Code, and others.

Disclaimer: This is an unofficial, educational/personal-use tool. It is not affiliated with, endorsed by, or sponsored by 104 Corporation. It calls 104's public web endpoints; please respect 104's Terms of Service and use it at a reasonable, low frequency. No scraped job data is distributed with this project.

How it works

104 sits behind Cloudflare bot protection — a plain HTTP request to its JSON API returns 403. This server uses curl_cffi with impersonate="chrome" to match a real browser's TLS fingerprint, so the same public endpoints return their normal JSON.

When Cloudflare rejects even that (104 tightened its rules in late 2026), the server falls back to a headless Chrome/Edge already installed on your machine: it opens 104 in the background and runs the same requests from inside that page. This adds ~1–2 s to the first call and needs Chrome, Edge, Chromium or Brave installed — set JOB104_CHROME=/path/to/browser if yours isn't found automatically. The AI sees clean structured results; the 104 category/area codes are resolved from Chinese names automatically.

Related MCP server: mcp-server-104

Prerequisite: install uv

Every install path runs the server through uv, so it must be installed first (uvx ships with uv):

# macOS / Linux
curl -LsSf https://astral.sh/uv/install.sh | sh
# Windows (PowerShell)
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"

Install in any MCP client (Cursor, Windsurf, Cline, Zed, VS Code, …)

MCP is an open protocol, so any MCP-capable client works — not just Claude. Add this to the client's MCP config (e.g. Cursor's ~/.cursor/mcp.json); the command/args form is what most clients accept:

{
  "mcpServers": {
    "job104": { "command": "uvx", "args": ["job104-mcp@latest"] }
  }
}

Install in Claude Code (User scope)

claude mcp add job104 -s user -- uvx job104-mcp@latest

Or from a local clone (no PyPI required):

claude mcp add job104 -- uv run --project /absolute/path/to/job104-mcp -m job104_mcp

Install in Claude Desktop (.mcpb bundle)

The .mcpb bundle is a Claude-Desktop-only convenience (other clients use the JSON config above). Download job104-mcp-vX.Y.Z.mcpb from the Releases page and double-click it (or drag it into Claude Desktop → Settings → Extensions).

To build the bundle yourself:

npx @anthropic-ai/mcpb pack .   # produces job104-mcp.mcpb

Run manually (stdio)

uv run job104-mcp
# or
uv run python -m job104_mcp

Tools

  • search_jobs — search with keyword, area, job category, salary floor, remote, recency, experience, education, sort, paging. Use Chinese names for area/jobcat (e.g. ["台北市大安區"], ["軟體工程師"]); they resolve to 104 codes automatically. Each result carries a detail_id.

  • get_job_detail — full posting for a detail_id from search_jobs.

  • lookup_code — resolve a job-category or area name to its 104 code.

Refresh code tables

The bundled jobcat.json / area.json come from 104's public category tool. Regenerate:

uv run python scripts/fetch_codes.py

Tests

uv run pytest            # fast unit tests
uv run pytest -m live    # hits the real 104 site

Releasing (maintainer)

Releases are automated by .github/workflows/release.yml, triggered when the version in pyproject.toml changes on main. It publishes to PyPI, builds the .mcpb bundle, and attaches it to a GitHub Release.

One-time PyPI setup (uses Trusted Publishing, no API token stored): on https://pypi.org/manage/account/publishing/ add a pending publisher with project job104-mcp, owner mozzan, repo job104-mcp, workflow release.yml.

To cut a release: bump version in pyproject.toml, commit to main.

License

MIT — see LICENSE. Provided as-is, without warranty.

Available Tools

3 tools
get_job_detailA

取得單一職缺的完整內容(職務說明、條件、薪資、地點)。 detail_id 來自 search_jobs 結果的 detail_id 欄位。

Inputs: detail_id (required).

lookup_codeB

查 104 職類/地區代碼。kind: 'jobcat' 或 'area'。回傳 [{name, code}]。

Inputs: kind (required), query (required). Returns: result

search_jobsA

搜尋 104 職缺。area/jobcat 用中文名稱(如 ["台北市大安區"]、["軟體工程師"]), 內部自動轉成 104 代碼;若名稱不明確會回傳建議選項。每筆結果的 detail_id 可傳給 get_job_detail 取得完整內容。

sort: relevance|date|salary(不填時:有給 salary_min 就自動用 salary 排序, 否則 relevance)。

薪資門檻提醒:104 沒有可靠的伺服器端薪資篩選,所以給 salary_min 時是「用薪資 排序把高薪職缺排到前面」,不是硬篩。薪資會標月薪/年薪(年薪職缺數字較大)。標 「待遇面議」的職缺薪資未公開——若職稱/公司看起來可能達標,呼叫 get_job_detail 通常能拿到真實薪資(detail 常有列表沒有的數字)。

Inputs: edu, area, page, sort, +8 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.9/5.0

    Scored across 3 tools

    Disambiguation5/5

    Each tool has a distinct purpose: search_jobs for querying listings, get_job_detail for retrieving full details of a specific job, and lookup_code for resolving category and area codes. There is no functional overlap, and the descriptions clearly differentiate them.

    Naming Consistency5/5

    All tools follow a consistent verb_noun snake_case pattern: search_jobs, get_job_detail, lookup_code. While 'lookup' is a compound verb, the naming is predictable and clear, aiding agent comprehension.

    Tool Count4/5

    With only 3 tools, the server is minimal yet sufficient for its purpose of job searching. It covers the essential operations (search, detail retrieval, code lookup) without excess. While a few additional tools (e.g., listing filters) could be added, the current count is reasonable.

    Completeness5/5

    The tool surface offers a complete workflow for job discovery: lookup codes to build search parameters, search for jobs, and retrieve full details. The search tool handles ambiguous inputs by providing suggestions, and the detail tool can uncover hidden salary data. No obvious gaps exist for the stated purpose.

    Maintenance

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      B
      maintenance
      Enables searching real job listings from multiple job boards (Indeed, LinkedIn, Glassdoor, Google Jobs, etc.) through a single MCP tool, designed for use as a custom connector in Claude Cowork.
      -
    • A
      license
      A
      quality
      B
      maintenance
      Enables natural-language search and retrieval of Taiwan 104 job bank listings, including job details and company-specific openings, with filters for location, salary, experience, and remote work through an MCP interface.
      5
      17 npm
      8
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables searching and retrieving job listings from multiple platforms through MCP.
      2
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables users to search job postings with keyword, location, remote-only, date, and limit filters, and retrieve individual job details via MCP tools.
      MIT