Skip to main content

MCP server for searching 104 (Taiwan) job listings with natural-language filters

Project description

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. The AI sees clean structured results; the 104 category/area codes are resolved from Chinese names automatically.

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

claude mcp add job104 -- 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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

job104_mcp-0.1.6.tar.gz (111.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

job104_mcp-0.1.6-py3-none-any.whl (43.3 kB view details)

Uploaded Python 3

File details

Details for the file job104_mcp-0.1.6.tar.gz.

File metadata

  • Download URL: job104_mcp-0.1.6.tar.gz
  • Upload date:
  • Size: 111.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for job104_mcp-0.1.6.tar.gz
Algorithm Hash digest
SHA256 840365a474e3dbbe4df21f13980e5982bd9a1ff6fdd7f7b04aaf04d2d2443232
MD5 bb7a7c77274a25c97c49085ea8b7fd61
BLAKE2b-256 28973ff4d72995fd57aed1ad0d88b7f80e457db63ee715ff237cf376c8b15d19

See more details on using hashes here.

Provenance

The following attestation bundles were made for job104_mcp-0.1.6.tar.gz:

Publisher: release.yml on mozzan/job104-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 job104_mcp-0.1.6-py3-none-any.whl.

File metadata

  • Download URL: job104_mcp-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 43.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for job104_mcp-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 e8d405d6ee127bb20d51087a0ae1dff9a6ea7d63b7a37975e459bf942871d11a
MD5 04cfc4bb5ee8f21e3d60702c6f6bcc7d
BLAKE2b-256 eb2f3df1eec6359b37cc8548d3e559491ff04d24aebd832ce2b3119c888292ee

See more details on using hashes here.

Provenance

The following attestation bundles were made for job104_mcp-0.1.6-py3-none-any.whl:

Publisher: release.yml on mozzan/job104-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page