Skip to main content
CornectAPI Docsv1
Sign inGet an API tokenGet started free

API, CLI and MCP

The same actions are available three ways: the REST API directly, the CLI, and the MCP server for Claude and other agents. This is the map between them.

Why the names differ#

They are not three spellings of one scheme — each surface follows the convention its callers expect. An agent picks a tool by reading its name, so MCP tools are verb-first and self-describing (get_credit_balance). A CLI groups subcommands under a noun so related work sits together (cornect export create, … status, … download). REST addresses resources by path (GET /credits).

Renaming any of them to match the others would break published agent configurations and shipped scripts to buy consistency a table provides for free. So: the table.

The map#

ActionRESTMCP toolCLI
Search companiesPOST /companies/searchsearch_companiescornect search
Count matches exactlyPOST /companies/countscount_companiescornect count
Get one companyGET /companies/{company_id}get_companycornect company get
List a company's job postings
REST only for now — a CLI command and an MCP tool are planned.
GET /companies/{company_id}/job-postings——
Check credit balanceGET /creditsget_credit_balancecornect credits
Price an export before payingPOST /exports/previewpreview_exportcornect export preview
Create an exportPOST /exportscreate_exportcornect export create
Check export statusGET /exports/{export_id}get_export_statuscornect export status
Get a download linkPOST /exports/{export_id}/downloaddownload_exportcornect export download
Find new leadsGET /leadsfind_new_leadscornect leads list
Get one company's recent signals
GET /leads with domain and per_company=false.
GET /leadsget_company_signalscornect leads company
Count new leads by kindGET /leads/summaryget_leads_summarycornect leads summary
Count new leads for the narrowing filters
The MCP tool and the CLI command ask for every facet with the summary.
GET /leads/facetsget_leads_summarycornect leads summary
List signals your monitors deliveredGET /signalslist_signalscornect signals list
Count delivered signalsGET /signals/summaryget_signals_summarycornect signals summary
Export signals as CSV
A CSV file is for a person or a script, not an agent: no MCP tool.
GET /signals/export—cornect signals export
List monitorsGET /monitorslist_monitorscornect monitors list
Create a monitorPOST /monitorscreate_monitorcornect monitors create
Get one monitorGET /monitors/{monitor_id}get_monitorcornect monitors get
Update, pause or resume a monitorPATCH /monitors/{monitor_id}update_monitorcornect monitors update
Delete a monitorDELETE /monitors/{monitor_id}delete_monitorcornect monitors delete
Add a company to a monitorPOST /monitors/{monitor_id}/domainsadd_company_to_monitorcornect monitors add
Remove a company from a monitorDELETE /monitors/{monitor_id}/domains/{domain}remove_company_from_monitorcornect monitors remove
List a monitor's runsGET /monitors/{monitor_id}/runslist_monitor_runscornect monitors runs
Get one run, check by checkGET /monitors/{monitor_id}/runs/{run_id}get_monitor_runcornect monitors run
A dash means the surface has no equivalent yet

Not every action exists everywhere. Where a cell is empty the action is reachable through the REST API and the others have not caught up — shown rather than omitted, so a gap is something you can see instead of something you discover.

Which one to use#

REST when you are building software against Cornect. CLI for scripts, CI and one-off work from a terminal — every command speaks JSON and CSV. MCP when you want Claude to do the work for you. All three authenticate with the same cornect_ token and spend credits identically: searching, counting, Find New Leads and reading signals are free; exports charge per new company, and monitors charge per company and signal type on each daily run.