JobScannerMCP

JobScannerMCP

Exposes job-posting scanner tools (search, company health, fit scoring, dry-run outreach) via MCP, enabling offline job search and evaluation from any MCP host.

Category
访问服务器

README

JobScannerMCP

One MCP server, any host. A Model Context Protocol server that exposes a job-posting scanner as clean, typed tools — then drives the unmodified server from two different agent hosts (Claude and Goose) to show that MCP is a portability layer, not a buzzword.

CI python MCP status

What this is: a small, working FastMCP server (search jobs, check scan health, score fit, draft outreach) with a built-in guardrail — plus the config to run it from Claude Code and a validated Goose recipe. Build the tools once; any MCP host can use them.

What this is not: a live scraper or a product. It serves synthetic sample data so it runs offline with no keys and no private code.


Why I built it

"MCP" gets said a lot; far fewer people have actually built a server and consumed it from more than one host. I wanted a concrete artifact that shows the whole loop — clean tool schemas, a governance guardrail, and genuine host-portability — on a domain I know (a job scanner). The payoff is "build once, integrate everywhere": the same four tools work in Claude, Goose, Cursor, or anything that speaks MCP.

(Clean-room + synthetic data only — no real résumé, no private scanner code, no credentials.)


The idea in one picture

                    ┌─────────────────────────────┐
   Claude Code  ───▶│                             │
   (MCP client)     │   job-scanner  (FastMCP)    │
                    │                             │
   Goose        ───▶│   tools:  search_jobs        │──▶  synthetic
   (recipe)         │           get_company_health │     postings +
                    │           score_fit          │     company health
                    │           draft_outreach 🔒  │     (offline, no keys)
                    │   resource: companies://…    │
                    └─────────────────────────────┘
        two hosts, ONE unmodified server        🔒 = dry-run guardrail (never sends)

Quickstart (no API key)

git clone https://github.com/singhalpooja9/JobScannerMCP
cd JobScannerMCP
pip install -e ".[dev]"

pytest -q                          # 8 in-memory MCP tests, fully offline
python -m jobscanner.server        # run the server over stdio

The tools

Tool What it does Notes
search_jobs(keywords, country, remote_only, limit) keyword search over postings read-only
get_company_health(company) per-company scan status (ok/blocked/…) explains why a company returned nothing
score_fit(job_id, profile) 0–100 fit + label for a posting deterministic heuristic; for a calibrated LLM judge see JobFitJudge
draft_outreach(job_id, tone) drafts a note — sent is always false 🔒 the guardrail: the server cannot send

Plus an MCP resource (companies://registry) and a reusable prompt (find_roles).

The guardrail (governance by design)

draft_outreach is the only "write-ish" tool, and it is dry-run only — it returns a draft with sent: false and never has a code path that sends. A host (or a hijacked prompt) cannot make this server take a real-world action. That "the server enforces safety, not the prompt" stance is the governance point, and it's covered by a test.


Run it from two hosts

Host 1 — Claude Code / Claude Desktop

Add the server from recipes/claude_mcp_config.json to your MCP config (set the absolute path to your clone), then ask Claude:

"Use search_jobs to find conversational-AI roles, score each with score_fit, and summarize the good ones."

Host 2 — Goose

The same server, wired into a validated Goose recipe (recipes/find_roles.yaml):

goose recipe validate recipes/find_roles.yaml       # ✓ recipe file is valid
goose run --recipe recipes/find_roles.yaml --params keywords="conversational AI"
goose recipe deeplink recipes/find_roles.yaml       # shareable link

Same tools, two hosts, zero server changes — that's the whole point.


Use it for your own scanner / data

Point the tools at your own postings — no code changes:

  1. Replace data/postings.jsonl (one JSON posting per line: id, company, title, description required; location, department, remote, url optional).
  2. Replace data/companies.yaml with your company/health list.
  3. Restart the server. Both hosts pick up the new data automatically.

To swap the naive score_fit heuristic for a real, calibrated LLM judge, drop in the companion project JobFitJudge.


What this repo demonstrates (concepts + stack)

Concept Where it lives
MCP server (tools + resource + prompt, typed schemas) jobscanner/server.py
MCP client / host portability recipes/claude_mcp_config.json + recipes/find_roles.yaml
Guardrails / safe-by-design tools draft_outreach dry-run (sent=false), tested
Tool schema design typed args + docstrings the model reads
In-memory protocol testing tests/ via FastMCP Client(mcp) — no subprocess
Structured responses Pydantic models + Goose recipe response.json_schema
Offline-first / deterministic CI synthetic data, green with zero API keys

Stack: Python · FastMCP (Model Context Protocol) · Pydantic · PyYAML · pytest + pytest-asyncio · GitHub Actions · Goose recipe · Claude MCP config.

Project layout

jobscanner/
  server.py      # the FastMCP server: 4 tools + 1 resource + 1 prompt + guardrail
  store.py       # load synthetic postings + company health (offline)
  fit.py         # deterministic fit heuristic (swap for JobFitJudge's LLM judge)
  models.py      # Job + CompanyHealth (Pydantic)
data/
  postings.jsonl # synthetic postings   (REPLACE with your own)
  companies.yaml # synthetic company/health registry
recipes/
  claude_mcp_config.json  # Host 1: Claude Code / Desktop MCP config
  find_roles.yaml         # Host 2: validated Goose recipe
tests/           # 8 offline in-memory MCP tests

Honest scope & limitations

  • Working MCP server, not a product. Synthetic data, no live scraping, no auth.
  • score_fit is a naive keyword heuristic — deliberately, so this repo stays about the protocol layer. Rigorous fit scoring lives in the companion JobFitJudge repo.
  • All shipped data is synthetic. No real résumé, no private code, no credentials.

Part of a larger series

Repo 2 of a small set exploring the agentic-AI ecosystem hands-on — evaluation (JobFitJudge), MCP (this repo), multi-agent orchestration, RAG, and spec-driven development. More at singhalpooja.com.


Built by Pooja Singhal — Senior Technical Program Manager.

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选