Skip to main content

JobLens MCP

JobLens is a local MCP server for finding engineering roles in London and India. It indexes public careers feeds in SQLite and shows the exact text behind visa sponsorship, relocation, pay, and clearance signals. Use it to find matching roles, inspect the evidence, and track applications with an Excel-compatible watchlist.

What JobLens does

  • Discover jobs from public applicant tracking systems, with a manual portal link when a company has no supported feed.
  • Search locally using SQLite FTS5 and filters for location, seniority, work arrangement, sponsorship, salary, and recency.
  • Check sponsorship evidence by reading a role's quoted text alongside a separate lookup of the employer's UK sponsor licence.
  • Track applications by importing an Excel company directory, inspecting watchlists through MCP, and exporting updates into a workbook copy.
  • Refresh and inspect durable crawl tasks with status and cancellation, Prometheus metrics, and optional OpenTelemetry traces.

Run locally

From the project directory with Python 3.12 and uv installed:

uv sync
uv run pytest -q
uv run job-lens-mcp serve --db data/jobs.db

Connect your MCP client to http://127.0.0.1:8080/mcp over Streamable HTTP. Search and job resources also work with clients using the 2025-11-25 or 2025-06-18 handshake. Durable crawl tasks and tracker mutations use the 2026-07-28 protocol. The server also exposes /health and /metrics. Set JOB_LENS_MCP_TOKEN for bearer authentication. A non-loopback bind also requires that token, with any intended public host set via JOB_LENS_MCP_HOSTS. Enable local traces with serve --trace-file records/traces.jsonl. Install the otlp extra and set OTEL_EXPORTER_OTLP_ENDPOINT to send spans to an OpenTelemetry collector.

Install the release from PyPI

Once version 0.1.0 is published on PyPI, run it with Python 3.12+ and uv:

uvx --from job-lens-mcp==0.1.0 job-lens-mcp serve

Connect your client to the local MCP endpoint from the previous section. To run alongside another service on port 8080, pass --port 8765 and use port 8765 in the client URL.

uv run job-lens-mcp import-excel --file /path/to/JobSearch_Master_Companies_Directory.xlsx
uv run job-lens-mcp ingest-uk-sponsors --csv /path/to/uk_sponsors.csv --snapshot-date YYYY-MM-DD
uv run job-lens-mcp crawl-directory --region london --tier confirmed

A crawl requires internet access to public ATS feeds. Unsupported portals return a manual link or a company-specific error. Import prints a private watchlist handle. Read watchlist://{handle}/summary for company and application data. Run export-excel --file /path/to/original.xlsx --out data/directory-export.xlsx to create an updated copy.

Use query_local_jobs to search by full text, country, city, seniority, work arrangement, sponsorship, salary, and recency. Results have evidence and can be expanded using job://{canonical_id}/description. check_visa_sponsor looks up the employer's licence separately. The configurable £54,700 London compensation signal reflects the standard SOC 2134 rate and affects ranking. The job's quoted sponsorship evidence and the employer's licence remain distinct fields.

Verification commands

JOB_LENS_MCP_TEST_WORKBOOK=/path/to/original.xlsx uv run pytest -q
uv run job-lens-mcp bench-fts5 --rows 100000 --queries 2000
uv run job-lens-mcp bench-singleflight --concurrency 50
uv run job-lens-mcp bench-tokens
uv run job-lens-mcp eval-extract
uv run job-lens-mcp eval-agent --model scripted
uv run job-lens-mcp eval-agent --model phi4 --out records/eval_phi4.json

bench-tokens --tokenizer /path/to/tokenizer.json uses exact counts for the supplied tokenizer when the tokens extra is installed. The default reports a Unicode word-and-punctuation estimate. eval-agent supports any local OpenAI-compatible model endpoint. Use a separate output file for each model and compare the records. The scripted run is a deterministic baseline.

Local results

Workload Measured result
FTS5, 100,000 jobs, 2,000 queries per phase with background writes p95 of 39 ms, 330 ms, and 1,490 ms at 1, 8, and 32 readers
50 concurrent calls, 150 ms mock upstream 50 → 1 upstream requests, 9,554 → 156 ms p95
Exact token count, 50 short synthetic postings 9,131 structured tokens vs. 8,340 raw ATS tokens and 6,740 inline plain-text tokens
Extraction regression set, 96 cases 0 sponsorship false positives across 25 negative cases, 0 remaining mismatches on labeled fields
Scripted agent baseline, 50 queries 100% first-tool accuracy, 0.75 retrieval F1, 4/4 durable crawl receipts

The tuned search exceeded the 5 ms latency target on this mixed workload. The compact response reduced its own token count by 28.2%, while staying 9.5% larger than the short raw ATS baseline. See the run records for configuration and per-phase metrics.

See the commit plan and worklog for milestones and verification scope.

Metadata

Release files for job-lens-mcp 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for job-lens-mcp 0.1.0
File Size Uploaded Provenance Actions
job_lens_mcp-0.1.0.tar.gz 55.8 kB Without provenance Details for job_lens_mcp-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for job-lens-mcp 0.1.0
File Interpreter ABI Platform Actions
job_lens_mcp-0.1.0-py3-none-any.whl Python 3 none any Details for job_lens_mcp-0.1.0-py3-none-any.whl

Total release size: 121.8 kB

Release files / job_lens_mcp-0.1.0.tar.gz

Download URL job_lens_mcp-0.1.0.tar.gz
Size 55.8 kB
Tags Source
SHA-256 checksum
How to use checksums
d41ac01363b8e604d69a70ff0482baa7f5e8b1ed1d78efbda02cb86fdd222cd9
BLAKE2b-256 checksum
How to use checksums
1fbe5dc244d3175c1e6fae769c6ef0a5c9d9d8212069e16087753c92e668eca7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / job_lens_mcp-0.1.0-py3-none-any.whl

Download URL job_lens_mcp-0.1.0-py3-none-any.whl
Size 65.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1710cb8d4735caa25e336f618edf0fefee1d3321e8abf542cc0a91b9475d184b
BLAKE2b-256 checksum
How to use checksums
4251950866c8b728208762983123f67ae6f8e7a93b7240e087c611298f15ce68
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for job-lens-mcp 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page