Metadata-Version: 2.5
Name: job-iq
Version: 0.1.14
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 on [startup.jobs](https://startup.jobs/). 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.

job-iq is a companion to startup.jobs: you need both MCP servers in your client — startup.jobs to search, job-iq to remember and filter.

## 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 |
| `add_job_event` | Append an event to a job's timeline (applied, replied, screen, interview, offer, rejected, withdrawn, note) |
| `list_event_types` | List all valid event types with metadata (requires_note, is_terminal) |
| `ingest_jobs` | Ingest startup.jobs listings (strict per-row validation, upsert, travel-flag scan) |
| `query` | Read-only ad-hoc SQL against any table (SELECT only, capped at 200 rows) |

## Working with startup.jobs

job-iq is a companion to [startup.jobs](https://startup.jobs/). You need both MCP servers installed in your client:

1. **startup.jobs MCP** — your client searches startup.jobs for listings.
2. **job-iq MCP** — stores, filters, and remembers what you find.

Workflow:

1. Configure job-iq via `open_settings` — set 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. Track your timeline with `add_job_event` (applied, replied, screen, interview, offer, rejected, withdrawn, note). Use `list_event_types` to see which types exist and which require a payload.
6. When you rule something out, use `assess`. When you apply, use `mark_applied`. Both are recorded, and neither comes back.

## 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.
