What Google ADK is, and how it reaches outside tools
Agent Development Kit, usually shortened to ADK, is Google's open-source framework for building, debugging and deploying AI agents. Its documentation lists five languages: Python, TypeScript, Go, Java and Kotlin. It also says ADK can work with almost any generative model through adapters, and that you can run agents on your own infrastructure or deploy them to Google Cloud.
An ADK agent gets capabilities from tools. Some are functions you write. Others are loaded from a Model Context Protocol server through a toolset class. In the Python docs that class is McpToolset, imported from google.adk.tools.mcp_tool. The TypeScript docs spell it MCPToolset and import it from @google/adk. The spelling differs by language, so copy it from the docs for the language you use.
SimilarIQ has no ADK-specific package, plugin or listing. None is needed. The hosted MCP server speaks streamable HTTP, and ADK's documentation shows a connection type for exactly that transport.
Why give an ADK agent a look-alike tool
A model asked for a company's competitors answers from memory. You get a short list of well-known names with no score and no way to tell a direct rival from a neighbouring category. An ADK agent that builds target account lists, drafts market maps or screens deals needs rows it can sort, filter and pass to the next step.
SimilarIQ takes one company domain and runs a fresh research pass that cross-validates results across multiple independent intelligence sources. Each result carries rank, company, domain, a matchScore from 0 to 100, a relationship type of Direct, Indirect, Adjacent or Emerging, a confidence score and a likelyCompetitor flag. That is a typed list an agent can threshold in code.
A search costs one credit, $0.25, for up to 100 look-alikes. The same balance covers the web app, the API and MCP tool calls, so whatever your ADK agent finds is also visible to your team in search history at no extra cost.
Setup walkthrough: the MCP route in Python
Create an API key in the SimilarIQ app. It starts with sk-live-, is shown once, and should live in an environment variable or a secrets manager. The API keys page explains creation and revocation.
ADK's MCP tools page shows the pattern for a remote server: construct McpToolset with connection parameters of type StreamableHTTPConnectionParams, imported from google.adk.tools.mcp_tool.mcp_session_manager. The parameters shown in the docs are url, a headers dictionary, timeout and sse_read_timeout. For SimilarIQ, set url to https://similariq.ai/mcp and put the key in headers, either as X-API-Key or as Authorization with a Bearer prefix. Then pass the toolset in your agent's tools list.
The docs' own remote example sets timeout=5 and sse_read_timeout=300. The page does not state what the defaults are when you omit them. A SimilarIQ search takes roughly 30 to 60 seconds, so do not leave timeouts to chance: set both explicitly, give the read timeout several minutes, and run one real search before you trust the configuration.
ADK also documents auth_scheme and auth_credential parameters on the toolset and recommends them over hand-built headers when a server uses OAuth, saying the toolset then manages token refresh. SimilarIQ's server supports OAuth 2.1, but the ADK page gives no code example for those parameters, so this page does not invent one. For a server-side agent, the static key header is the simpler route.
Other languages, and the plain REST route
The TypeScript docs use the same idea with different syntax: a connection object whose type is StreamableHTTPConnectionParams, a url, and headers nested under transportOptions.requestInit. The Kotlin docs show a StreamableHttp connection with a headers map. On the page checked for this write-up, the Java and Go examples use local stdio servers only, so if you work in those languages, confirm remote HTTP support in the current reference before you plan around it.
You do not need MCP at all. Any ADK agent can call a function, and one function is enough: send POST https://similariq.ai/api/v1/search with the body {"domain":"stripe.com","limit":100} and the header X-API-Key: sk-live-..., then return the parsed JSON. In Python, pip install similariq gives you a client with search, balance, results and bulk methods, with no third-party dependencies. In TypeScript, npm install similariq-sdk does the same.
Pick MCP when you want all ten tools without writing wrappers. Pick a single function when the agent only searches and you want the smallest surface to review. The API vs MCP guide compares the two in more detail.
Example prompts and tasks
Once the toolset is attached, these requests map directly onto SimilarIQ's MCP tools. Tool names are the ones the server exposes.
- "Check the balance, then find look-alikes for shopify.com." Calls
get_search_balance(free), thenfind_similar_companies(one credit). - "Only show Direct results with a match score of 80 or higher." The agent filters the returned list; no extra call.
- "Has anyone on the team already searched this domain?" Calls
list_recent_searches, thenget_search_resultsfor the saved search. - "Run these 60 domains overnight." Calls
start_bulk_search, then pollsget_bulk_jobuntil it completes. - "Add the five strongest matches to our watchlist." Calls
save_companyfive times at no cost. - "Which companies show up across several of our searches?" Calls
list_my_companiesand counts repeats. - "Give me a link the partner team can open without logging in." Calls
create_share_link.
Controlling spend
Two tools cost credits: find_similar_companies at one credit, and start_bulk_search at one credit per domain. The other eight are free. ADK's documentation advises always supplying a tool_filter list so an agent only sees the tools it needs, and that advice doubles as a spend control. A reporting agent whose filter contains only list_recent_searches, get_search_results, list_my_companies and get_search_balance cannot spend anything.
For agents that do search, put the rule in the instructions: check get_search_balance first, look in history second, and search only when the domain is new. Re-reading a past search is free and immediate, so a repeated question should never cost a second credit.
Worked numbers: 20 searches cost $5.00, 200 cost $50, and 1,000 cost $250. If an agent loops, the loss is bounded by your balance when auto-refill is off and by your monthly cap when it is on. Both settings are covered under spend controls.
Three workflows worth building
Closed-won expansion agent. Give the agent last quarter's best customer domains. For each, it checks history, searches if needed, and keeps Direct and Indirect results above a score you choose. It writes the surviving domains to a sheet or your CRM import file. SimilarIQ returns company, domain, scores and type only, so headcount, revenue and contacts must come from a separate enrichment tool in the same agent.
Multi-agent market map. ADK supports composing agents. One sub-agent runs searches on three seed domains for $0.75 in total. A second merges results by domain and groups them by relationship type. A third writes the summary. Companies that appear under more than one seed form the core of the category; Emerging results are the watch list.
Scheduled competitor check. Deploy an agent that searches your own domain once a month and compares the new list with the previous saved search using get_search_results. New names in the top 25 are worth a look. Twelve runs a year cost $3.00. The competitor monitoring page describes the comparison logic.
Troubleshooting
No tools appear: confirm the URL is exactly https://similariq.ai/mcp, that you used the streamable HTTP connection type and not the stdio one, and that your tool_filter names match the server's tool names character for character.
A 401 means the key is missing, mistyped or revoked. A 402 means the balance is empty; add funds and retry. A 429 means the rate limiter is smoothing a burst, so back off and retry. A 502 means the search itself failed; the credit is refunded automatically and a retry is safe. The error handling page lists each code.
A timeout on find_similar_companies with every other tool working almost always means the read timeout is shorter than the search. Raise sse_read_timeout and the general timeout, then test again. If a search did complete on the server side, it will be in history, and get_search_results returns it for free.
Security practices
Use one key per agent or per deployment so you can revoke a single key without disturbing the rest. Read it from the environment at start-up; never commit it or paste it into agent instructions, where it could be echoed back in a response.
Narrow the tool list with tool_filter. An agent that cannot call start_bulk_search cannot be talked into a large bulk job by a hostile input.
Treat results as data. Company names and domains come from the open web. Do not let returned text act as instructions to the agent, and validate domains before you pass them to tools that send email or write to a CRM. If you used OAuth for a personal setup, you can disconnect the client from your SimilarIQ account page at any time.
Frequently asked questions
Does SimilarIQ have a native Google ADK integration?
No. There is no SimilarIQ package, plugin or marketplace listing for ADK. You connect through ADK's own MCP toolset pointed at the hosted SimilarIQ MCP server, or by wrapping the REST API or an SDK in a function tool.
Which ADK class connects to a remote MCP server?
In Python the docs use McpToolset with StreamableHTTPConnectionParams. In TypeScript the class is spelled MCPToolset. Check the current ADK docs for your language, because names and import paths differ between them.
How do I pass the SimilarIQ API key from ADK?
Put it in the headers dictionary of the connection parameters, as X-API-Key or as an Authorization bearer value. Read the key from an environment variable. One sk-live- key works for MCP, the REST API, the SDKs and the CLI.
What timeout should I set for SimilarIQ in ADK?
A search takes roughly 30 to 60 seconds. ADK's example uses a 5 second timeout and a 300 second sse_read_timeout, and the docs do not state defaults. Set both explicitly, allow a few minutes for reads, and verify with one real search.
What does it cost when an ADK agent uses SimilarIQ?
One credit, $0.25, per search for up to 100 look-alikes, and one credit per domain in a bulk job. The other eight MCP tools are free, including the balance check and reading past results. New accounts get 2 free searches with no credit card.
Can I stop an ADK agent from spending credits?
Yes. Use tool_filter to expose only the free read tools, or keep auto-refill off so the balance is the ceiling. With auto-refill on, the monthly cap you set is a hard limit on what your card can be charged.