# selectrole > selectrole is a live table of software roles you can query with SQL: salary band, location, workplace, seniority and 114 filterable columns per role, from company-posted roles and the job boards companies use. Agents can search it over MCP or a REST API. Every interface returns the same public card per role: title, slug, company, location, workplace, seniority, salary band, posted date, a short summary and the url. Filter on any column; the structured columns themselves stay on the website. Full structured data is available on request: contact@selectrole.com. ## MCP server - [MCP endpoint](https://selectrole.com/mcp): streamable HTTP, no authentication needed. Tools: query-jobs (count_only for just the total, since for roles published after a moment), aggregate-jobs (counts, averages and medians across roles), salary-benchmark (pay percentiles per currency and interval, from posted pay ranges), get-job, get-company, list-views, post-role (reads a tech role from its link, asks for what the page leaves out and what would lower the price, and returns a Stripe checkout_url the person pays on; paying publishes the role and emails the address paid with a link to manage it; quote_only returns just the price). Prompts: find-roles, compare-roles. Resources: jobs://schema, jobs://dialect, jobs://posting-questions. - Free API key: make one in [account settings, API keys](https://selectrole.com/settings/api-keys) and send `Authorization: Bearer sr_…` to the MCP server or the API. It raises the rate limits, and get-job and GET /api/v1/jobs/{slug} then return the full role description. Claude Code: `claude mcp add --transport http selectrole https://selectrole.com/mcp --header "Authorization: Bearer sr_…"` - Errors carry error.code, error.fault (caller, server or rate_limit), error.hint, error.retry_after on a 429 and error.did_you_mean for a misspelled column, value or company. A query with no match returns a near block with a looser query; those roles do not match. - [Server card](https://selectrole.com/.well-known/mcp.json): MCP Server Card (SEP-2127) for discovery. - Claude Code: `claude mcp add --transport http selectrole https://selectrole.com/mcp` - Claude Desktop and claude.ai: Settings > Connectors > Add custom connector, URL https://selectrole.com/mcp - Cursor (~/.cursor/mcp.json): `{"mcpServers": {"selectrole": {"url": "https://selectrole.com/mcp"}}}` - ChatGPT: Settings > Connectors > Create (developer mode), MCP server URL https://selectrole.com/mcp, no authentication ## Command line - [npm package](https://www.npmjs.com/package/selectrole): `npx selectrole` (Node 22 or newer). Set SELECTROLE_API_KEY to raise the limits. - `selectrole`: Browse roles full screen. - `selectrole jobs --remote --stack go,rust`: Print matching roles, then exit. - `selectrole jobs --where "visa AND office_days <= 2"`: Filter with the same SQL as the explorer and MCP. - `selectrole jobs --since 1d --json`: Roles from the last day, as JSON for scripts. - `selectrole show --open`: One role, also opened in your browser. - `selectrole views`: List the public views. Run one with jobs --view . ## REST API - [API docs](https://selectrole.com/docs): unauthenticated, rate limited; filter live roles or run a named view. - [API spec (JSON)](https://selectrole.com/docs/api.json): every endpoint, parameter and card field. - `GET https://selectrole.com/api/v1/jobs/count?sql=…`: just the number of matching live roles, to call before paging. - `GET https://selectrole.com/api/v1/jobs/new?since=2026-11-01T00:00:00Z&sql=…`: live roles published after since, oldest first, by cursor (meta.next_cursor, then meta.next_since). - `GET https://selectrole.com/api/v1/jobs/closed?since=2026-11-01T00:00:00Z`: roles that closed after since, as slug, closed_at and reason only. - `GET https://selectrole.com/api/v1/salary-benchmark?sql=…`: p10 to p90 pay per currency and interval, from posted pay ranges (each role's range midpoint); not a survey. - `GET https://selectrole.com/api/v1/jobs/{slug}` with a free API key: the card plus the full description. - `POST https://selectrole.com/api/v1/jobs`: post a tech role. Returns 201 with checkout_url, a Stripe payment page (not a sign-in), and expires_at; email is optional and only starts that page. Paying publishes the role and emails the address paid with a link to manage it. ## SQL dialect One table, roles. SELECT and FROM are optional and WHERE is implicit. Operators: = != < > <= >= LIKE IN CONTAINS IS [NOT] NULL AND OR NOT, and ORDER BY. A boolean column alone means = true. Salary filters need a currency. No JOIN, UNION, LIMIT, OFFSET or writes. The MCP resource jobs://dialect lists every column and its values. Examples: ```sql workplace = 'remote' AND currency = 'USD' AND salary_min >= 160000 AND stack CONTAINS 'Rust' workplace = 'hybrid' AND office_days <= 2 AND languages CONTAINS 'de' confirmed AND currency = 'EUR' AND salary_min >= 80000 ORDER BY posted_at DESC four_day_week AND NOT degree_required AND min_years <= 3 ``` ## Public views - [Remote roles open anywhere](https://selectrole.com/remote-anywhere): `workplace = 'remote' AND eligible CONTAINS 'anywhere'` ([markdown](https://selectrole.com/remote-anywhere.md), [RSS](https://selectrole.com/feeds/remote-anywhere)) - [Roles where the company pays for AI](https://selectrole.com/ai-paid): `ai = true AND ai_budget >= 100 ORDER BY ai_budget DESC` ([markdown](https://selectrole.com/ai-paid.md), [RSS](https://selectrole.com/feeds/ai-paid)) - [Staff and principal tech roles](https://selectrole.com/staff-plus): `seniority IN ('staff', 'principal') ORDER BY salary DESC` ([markdown](https://selectrole.com/staff-plus.md), [RSS](https://selectrole.com/feeds/staff-plus)) - [Tech roles with equity](https://selectrole.com/equity): `equity = true` ([markdown](https://selectrole.com/equity.md), [RSS](https://selectrole.com/feeds/equity)) - [Roles with a listed salary](https://selectrole.com/salary-listed): `salary_min IS NOT NULL OR salary_max IS NOT NULL` ([markdown](https://selectrole.com/salary-listed.md), [RSS](https://selectrole.com/feeds/salary-listed)) - [Roles paying $100k and up](https://selectrole.com/100k): `currency = 'USD' AND salary_min >= 100000` ([markdown](https://selectrole.com/100k.md), [RSS](https://selectrole.com/feeds/100k)) - [Go tech roles](https://selectrole.com/go): `stack CONTAINS 'Go'` ([markdown](https://selectrole.com/go.md), [RSS](https://selectrole.com/feeds/go)) - [Tech roles that sponsor visas](https://selectrole.com/sponsors-visas): `work_authorization = 'sponsorship_available'` ([markdown](https://selectrole.com/sponsors-visas.md), [RSS](https://selectrole.com/feeds/sponsors-visas)) - [Contract tech roles](https://selectrole.com/contract): `employment_type = 'contract'` ([markdown](https://selectrole.com/contract.md), [RSS](https://selectrole.com/feeds/contract)) - [Roles at remote-first companies](https://selectrole.com/remote-first): `remote_first` ([markdown](https://selectrole.com/remote-first.md), [RSS](https://selectrole.com/feeds/remote-first)) ## Markdown versions - https://selectrole.com/jobs/{slug}.md: one role, its card and the full description - https://selectrole.com/companies/{slug}.md: a company and its live roles as cards - https://selectrole.com/{view}.md: a public view, its query and its first 25 roles ## Optional - [Blog](https://selectrole.com/blog): how the table is built, queried, and read - [Changelog](https://selectrole.com/changelog): new views and queryable columns - [Sitemap](https://selectrole.com/sitemap.xml)