Metadata-Version: 2.5
Name: job-iq
Version: 0.1.9
Summary: A local, single-user tool that remembers a job search.
Requires-Python: >=3.11
Requires-Dist: jinja2>=3.1
Requires-Dist: mcp==2.3.0
Requires-Dist: platformdirs>=4.2
Requires-Dist: pydantic>=2.0
Requires-Dist: starlette>=0.40
Requires-Dist: uvicorn>=0.30
Description-Content-Type: text/markdown

# job-iq

A local memory for a job search. Your AI client finds the jobs; job-iq remembers them, and tells you which ones are new and eligible.

## What it does

You search for jobs the way you already do. job-iq stores what was found in a small database, records what you ruled out and why, and gives you a short digest of what is new. Because it remembers, a job you rejected last month does not come back this month, and the job feed's 14-day window stops being your memory limit.

Not an auto-applier, not a scraper, not a website, not a ranking engine. It never contacts anyone.

## Running it

job-iq is an MCP stdio server. Install and run it with `uvx` (no install needed):

```bash
uvx job-iq
```

Or from source:

```bash
uv run job-iq
```

Configure it in your MCP client. Claude Desktop, `claude_desktop_config.json`:

```json
{"mcpServers": {"job-iq": {"command": "uvx", "args": ["job-iq"]}}}
```

Cursor and other stdio clients take the same command in their own config block. The launch command is the only thing that differs between clients.

## Database

The SQLite database lives at `%APPDATA%\job-iq\job-iq.db` on Windows (via `platformdirs`, roaming). Override with the `JOB_IQ_DB` environment variable if needed.

## Tools

| Tool | What it does |
|------|-------------|
| `status` | Reports setup state; raises with a setup URL until configured |
| `open_settings` | Opens the settings UI (browser, loopback, token-gated) |
| `export_settings` | Exports all settings as JSON (read-only) |
| `import_settings` | Imports settings from JSON |
| `render_digest` | Filtered table of new eligible jobs since last run |
| `assess` | Record an append-only drop reason for a job |
| `mark_applied` | Record an application for a job |
| `ingest_jobs` | Ingest startup.jobs listings (strict per-row validation, upsert, travel-flag scan) |

## Using it

1. Configure job-iq via the settings UI (`open_settings` tool) — set your target roles, countries, compensation floor, and constraints.
2. Ask your client to search startup.jobs for roles you want.
3. Tell it to ingest the results via `ingest_jobs`. Listings are stored with a server-computed travel flag (tri-state: matched / scanned clean / not scanned).
4. Ask for a digest via `render_digest`. You get up to six roles that are new, pass your rules, and do not require travel — plus a count of what was excluded and why.
5. When you rule something out, use `assess`. When you apply, use `mark_applied`. Both are recorded, and neither comes back.

## Rules it applies

Defaults live in the code and can be changed via the settings UI:

- which role slugs to search
- which countries count, and whether "no country listed" counts
- your pay floor
- the words that mean a job requires travel

Changes go into the database, not a config file.

## Status

**v0 complete.** What exists and what was verified is in [docs/STATUS.md](docs/STATUS.md). The design record for the larger product is in [docs/DESIGN.md](docs/DESIGN.md); the v0 spec is in [docs/PLAN.md](docs/PLAN.md).
