# Use SimilarIQ with Cline

> Cline connects to SimilarIQ as a remote MCP server. In the Cline panel open MCP Servers, choose the Remote Servers tab, enter https://similariq.ai/mcp, pick Streamable HTTP and add it, or write a JSON entry with "type": "streamableHttp" and an X-API-Key header. Cline then has ten look-alike tools. A search costs $0.25; reads are free.

Source: https://similariq.ai/integrations/cline · Updated 2026-11-25

## What Cline is and how it handles MCP

Cline is an open-source coding agent. Its documentation describes it as running in IDE extensions and as a CLI, and says MCP lets Cline use external tools and data sources through MCP servers. In practice you give it a task, it plans, edits files, runs commands and calls tools, and you approve the steps.

The Cline docs list three transports. STDIO runs a local process. Streamable HTTP is marked as recommended for remote servers. SSE is labeled legacy, for older hosted servers. SimilarIQ runs a hosted streamable HTTP server at `https://similariq.ai/mcp`, so nothing is installed on your machine: no local process, no npx, no Docker.

SimilarIQ has no native Cline integration and no marketplace listing we can point you to. The connection on this page is the generic remote-server path that Cline documents for any hosted MCP server, plus the SimilarIQ API key.

## Why give Cline look-alike data

A SimilarIQ search takes one domain and returns up to 100 ranked look-alike companies, each with a `matchScore` from 0 to 100, a relationship `type` (Direct, Indirect, Adjacent or Emerging), a `confidence` score from 0 to 100 and a `likelyCompetitor` flag. A coding agent can use that in two ways: as data for the thing it is building, or as the research step in a longer task.

The first case is common. You ask Cline to build a prospecting script, an internal dashboard or a [similar-companies feature](https://similariq.ai/guides/how-to-build-a-similar-companies-feature), and it can pull one real response, shape types around it and test against it. The second case is a research chore: refresh a competitor table, build a seed list, or check which of your customers resemble each other.

The limits matter for planning. A result is a company name, a domain and four signals. There are no contacts, no revenue or headcount, no funding data and no in-search filters. Cline can filter the list by score, type and confidence, and you join everything else from your own sources.

## Setup in the IDE extension

The Cline docs describe a form for remote servers. Click the MCP Servers icon in the top toolbar of the Cline panel, open the Remote Servers tab, and fill in three things: a Server Name, the Server URL and a Transport Type. For SimilarIQ the name can be `similariq`, the URL is `https://similariq.ai/mcp`, and the transport is Streamable HTTP. Then click Add Server.

The form covers the URL. To send an API key header, edit the JSON. The docs say to open the Configure tab and click Configure MCP Servers, which opens the settings file, then add an entry under `mcpServers`. A SimilarIQ entry looks like `"similariq":{"type":"streamableHttp","url":"https://similariq.ai/mcp","headers":{"X-API-Key":"sk-live-..."},"disabled":false,"autoApprove":[]}`.

One detail in the docs is easy to miss: if you leave out `type`, Cline falls back to the legacy `sse` transport for backward compatibility. SimilarIQ's endpoint is streamable HTTP, so write `"type": "streamableHttp"` explicitly. Tab and button labels change between releases; the JSON keys are the stable part.

- Create an API key in the SimilarIQ app. It is shown once. New accounts get 2 free searches when they [register](https://similariq.ai/register).
- Open MCP Servers in the Cline panel, then Configure, then Configure MCP Servers.
- Add the `similariq` entry with `type`, `url` and the `X-API-Key` header, and save.
- Confirm the server shows as connected and lists ten tools.
- Ask Cline to check your SimilarIQ balance. That call is free and proves the key works.

## Setup in the Cline CLI

The CLI has its own path. The docs say running `cline mcp` opens a wizard, and that a remote server can be added in one line: `cline mcp add similariq https://similariq.ai/mcp --transport http --header "X-API-Key: sk-live-..." --yes`. The CLI stores servers in `~/.cline/data/settings/cline_mcp_settings.json`, and the `CLINE_MCP_SETTINGS_PATH` environment variable overrides that location.

On OAuth, the docs are specific about one place only. The CLI wizard has an Authorize OAuth action, described as running or rerunning browser authorization for a remote server. SimilarIQ supports OAuth 2.1 with PKCE, so that route should send you to the SimilarIQ sign-in and consent screen. The docs we read do not describe an OAuth flow for the IDE extension, so for the extension we recommend the API key header, which is documented.

## Example prompts to try

Cline sees ten SimilarIQ tools. `find_similar_companies` costs 1 credit. `start_bulk_search` costs 1 credit per domain. The other eight cost nothing: `get_bulk_job`, `list_recent_searches`, `get_search_results`, `list_my_companies`, `save_company`, `list_saved_companies`, `create_share_link` and `get_search_balance`.

- "Before anything else, tell me my SimilarIQ balance."
- "Find look-alikes of notion.so and write the top 25 by matchScore to research/notion.csv."
- "Run a single search on twilio.com, save the raw JSON as a fixture, and build a TypeScript type from it."
- "Read my last three SimilarIQ searches and list companies that appear in more than one. Do not run new searches."
- "Start a bulk search on the 30 domains in customers.txt, poll the job, and save the combined file."
- "From that result keep only Direct and Indirect rows with confidence of at least 60."
- "Save the five highest-scoring Emerging companies to my watchlist."
- "Create a share link for the search and paste it into NOTES.md."

## Controlling spend

Pricing is pay-as-you-go: $0.0025 per look-alike, so $0.25 for a search that returns up to 100, whatever limit you request. Twenty searches are $5.00. A bulk file of 500 domains is $125. The minimum deposit is $10, there is no subscription, and MCP calls use the same balance as the app and API.

Cline's `autoApprove` array is the control to think about. The docs advise limiting `autoApprove` to safe tools and reviewing tool calls before approval. A sensible split: auto-approve the free read tools such as `get_search_balance` and `get_search_results` if you want less friction, and leave `find_similar_companies` and `start_bulk_search` out of the array so each paid call needs your click.

Add the SimilarIQ controls on top. A monthly cap is a hard ceiling on what your card can be charged. Auto-refill is optional; leave it off while you experiment and the balance itself is the limit. The guide on [controlling agent spend](https://similariq.ai/guides/how-to-control-ai-agent-spend) walks through the pattern.

## End-to-end workflows

**Build against a real response.** Ask Cline for one search, have it save the JSON, then build the feature: a route that takes a domain, calls the REST endpoint and returns rows above a score threshold. Development costs one search because every later read of the saved result is free. The [developers page](https://similariq.ai/roles/developers) covers the API side.

**Refresh a competitor table in a docs repo.** Give Cline four seed domains and a Markdown file. It runs four searches, merges and deduplicates, groups by relationship type and commits the diff for review. Cost: 4 credits, $1.00.

**Look-alikes of your best customers.** Put 20 customer domains in a file and ask for a bulk job. Cline polls the free job tool, downloads the result and ranks companies by how many customers they resemble. Cost: 20 credits, $5.00. Contacts and firmographics still come from your CRM or data provider.

## Troubleshooting

If the server connects but no tools load, check the `type`. An entry without it uses legacy SSE and will not talk to a streamable HTTP endpoint properly. If you see timeouts, the docs say MCP settings let you set request timeouts and suggest increasing the MCP timeout. A search runs roughly 30 to 60 seconds; the Cline docs we read do not state the default, so raise the setting above a minute to be safe.

The docs also list restart, enable or disable, and remove actions in MCP settings, and `cline mcp remove` in the CLI. Restarting an unresponsive server is the first thing to try after a config change.

From SimilarIQ: 401 means the key is missing or wrong, often a pasted key with a trailing space. 402 means you are out of credits. 429 means the rate limiter is smoothing a burst; pause or switch to a bulk job. 502 means the search failed, the credit came back automatically and retrying is safe.

## Security practices

The settings file holds the header value in plain text. Keep it out of version control, and do not paste it into a shared project file. Create a dedicated SimilarIQ key for Cline so you can revoke it without touching your production key. Keys can be revoked in the app, and one key works across the API, SDKs, CLI and MCP server, so scope by creating separate keys per use.

Review tool calls as the docs recommend, especially `create_share_link`, which produces a public read-only URL. If Cline should stop using SimilarIQ, set `"disabled": true` on the entry or remove it. SimilarIQ publishes no security certifications; assess it under your own review process.

## Frequently asked questions

### How do I add SimilarIQ to Cline?

Open MCP Servers in the Cline panel, go to the Remote Servers tab, enter a name and `https://similariq.ai/mcp`, choose Streamable HTTP and click Add Server. To use an API key, edit the JSON through Configure MCP Servers and add an `X-API-Key` header.

### What transport type should I pick in Cline?

Streamable HTTP, written as `"type": "streamableHttp"` in JSON. Cline's docs say an entry with no `type` defaults to legacy SSE, which is the wrong transport for SimilarIQ.

### Does Cline support OAuth for SimilarIQ?

The Cline docs describe an Authorize OAuth action in the CLI wizard for remote servers. They do not describe OAuth in the IDE extension, so we recommend the API key header there.

### Is there a native SimilarIQ integration for Cline?

No. SimilarIQ offers a hosted MCP server, a REST API, SDKs and a CLI. Cline connects through its standard remote MCP server support. See the [MCP page](https://similariq.ai/mcp) for the server details.

### Can I stop Cline from spending credits without asking?

Yes. Leave `find_similar_companies` and `start_bulk_search` out of `autoApprove` so each paid call needs approval, and set a monthly cap in SimilarIQ as a hard ceiling.

### What does a search cost through Cline?

$0.25 per search, the same as the web app and the API. Eight of the ten tools, including the balance check and reading past results, are free.
