Skip to content

Can I use Deep Search from the command line?

Yes. Install the deepsearch-so package from npm with npm install -g deepsearch-so, add an API key and run deepsearch search "Ada Lovelace" --sandbox. Coding agents can also connect to the Deep Search MCP server, and the research workflows can be added as SKILL.md skills.

Is there a Deep Search CLI?

Yes. The Deep Search CLI page covers the deepsearch-so package on npm: searches, reports and follow-up questions, plus company, image, VIN and address lookups and jobs, from your terminal, with JSON output for scripts. It needs Node.js 20.9 or newer.

It uses the same API keys, credits and sandbox as the REST API. To try it first, set DEEPSEARCH_API_KEY to the public sandbox key dsk_test_deepsearch and add --sandbox to a command.

  1. Run npm install -g deepsearch-so.
  2. Set DEEPSEARCH_API_KEY to your API key, or to dsk_test_deepsearch to try the sandbox, or run deepsearch login to save a key.
  3. Run deepsearch search "Ada Lovelace" --sandbox.

What are Deep Search skills?

Skills are research workflows saved as Markdown instruction files. The Deep Search skills page offers six: Report review, Unknown caller, Footprint review, Compare candidates, Verify a seller and Before you meet. Each one tells an agent how to compare candidates, keep same-name people apart and cite its sources.

The same workflows are on the Deep Search AI tools page, where you can copy one as a prompt instead of saving a file.

  1. Download a workflow as a Markdown file.
  2. Save it as SKILL.md where your agent loads skills, such as ~/.claude/skills for Claude Code, ~/.codex/skills for Codex or ~/.cursor/skills for Cursor.
  3. Give the agent your Deep Search results, or connect Deep Search over MCP so it can search when you ask.

What can a skill access?

A skill is only instructions. It never signs in or calls Deep Search by itself. With Deep Search connected over MCP, your agent can search when you ask, using the permissions you approved and your account’s credits; without it, the agent sees only the results you share.

Each search an agent runs uses one credit, the same as in the app, so ask the agent to confirm before it starts one.

How do I use Deep Search from a terminal or coding agent?

Run the CLI yourself, or let a coding agent run it. Coding agents that support MCP, such as Claude Code, Codex, Cursor and Gemini CLI, can also connect to the hosted server and sign in with OAuth. Scripts that don’t use the CLI can call the REST API with an API key over HTTPS.

How to connect Deep Search to an AI assistant and how to get a Deep Search API key cover both routes.