Skip to main content
Parallel offers three integration paths for developers. The right choice depends on where your agent runs, how it authenticates, and how much control you need.
IntegrationBest forAuth modelDocs
CLI + SkillsCoding agents with terminal accessAPI key or OAuth loginCLI, Agent Skills
MCP ServersChat assistants and LLM-powered appsOAuth or API keyMCP Quickstart, Programmatic Use
SDK / Native Tool CallingProduction agents needing full controlAPI keyPython, TypeScript

Decision guide

Use the CLI with a plugin or Agent Skills.If your agent has terminal access — Claude Code, Cursor, Windsurf, Cline, GitHub Copilot — the CLI is the most capable integration. It exposes all Parallel APIs (search, extract, research, enrich, findall, monitor) and produces structured JSON that agents parse natively.CLI commands are also deeply embedded in LLM training data. Models already know how to compose shell commands, pipe output, and handle JSON — no schema overhead required.Why not MCP? In terminal-based agents, CLI tools consume far fewer context tokens than MCP tool schemas. An MCP server dumps its full tool catalog into the context window upfront. A CLI call like parallel-cli search "query" --json costs only the tokens for the command and its output.
AgentRecommended setup
Claude CodeClaude Code Plugin (installs CLI + slash commands + auto-skills)
CursorCursor Plugin or Agent Skills
Cline, Copilot, WindsurfAgent Skills (uses CLI under the hood)
Other CLI agentsInstall the CLI directly and use --json output

Quick comparison

API coverage

CapabilityCLIMCPSDK
SearchYesYes (Search MCP)Yes
ExtractYesYes (Search MCP web_fetch)Yes
Deep ResearchYesYes (Task MCP)Yes
Data EnrichmentYesYes (Task MCP)Yes
FindAllYesNoYes
MonitorYesNoYes

Authentication

MethodHow it works
CLIparallel-cli login opens a browser for OAuth, or parallel-cli login --device for headless/SSH environments. You can also set PARALLEL_API_KEY as an environment variable. Credentials are stored locally.
MCPIn chat assistants, OAuth is built in — your client handles the browser-based auth flow automatically. For programmatic use, pass your PARALLEL_API_KEY as a Bearer token.
SDKSet PARALLEL_API_KEY in your environment. For multi-user apps, use the OAuth Provider to obtain keys on behalf of users.

Get started

Can I use multiple integration methods?

Yes. Many teams use CLI for local development and coding agents, MCP for chat assistants and LLM-powered apps, and the SDK for custom agent loops that need full control. They all hit the same Parallel APIs with the same API key.