What Langflow is, and how it uses MCP
Langflow's documentation describes it as an open-source, Python-based, customizable framework for building AI applications, with a visual editor for prototyping workflows. You place components on a canvas, connect their ports, and test the flow in a built-in playground.
Langflow works with the Model Context Protocol in both directions. It can expose your flows as an MCP server, and it can act as an MCP client that connects to external servers. The client side is the MCP Tools component. Its docs say it connects to an MCP server so that an agent can use that server's tools.
SimilarIQ publishes no Langflow component and has no bundle in Langflow. That is fine. The MCP Tools component accepts any remote server, and SimilarIQ's MCP server is hosted, so there is no package to install and no process to run next to Langflow.
Why connect them
Langflow is where many teams prototype research agents before turning them into services. The moment a flow needs "companies like this one", a model alone falls short. It lists the famous names, cannot rank them, and gives the same answer whether the seed is a payments giant or a regional niche vendor.
SimilarIQ is built for that one job. Give it a company domain and it returns up to 100 look-alikes ranked by a matchScore from 0 to 100. Each row also has a relationship type (Direct, Indirect, Adjacent or Emerging), a confidence score that reflects agreement between multiple independent intelligence sources, and a likelyCompetitor flag.
The same account balance pays for searches from Langflow, the web app and the API. A search started by your flow shows up in the app's history, where a colleague can open and export it without spending anything.
Setup walkthrough: register the server
Create a SimilarIQ API key in the app; it starts with sk-live- and is shown only once. In Langflow, save it as a global variable, for example SIMILARIQ_API_KEY. Langflow's MCP docs say you can enter a global variable name as a header value and Langflow resolves it before the request.
The docs give two entry points for servers: Settings then MCP Servers, or the MCP item in the flow editor's left sidebar. Click Add MCP Server. Langflow offers three connection types: JSON, STDIO and HTTP/SSE. Choose HTTP/SSE. The form asks for a Name, a URL, Headers and Environment Variables.
Enter similariq as the name and https://similariq.ai/mcp as the URL. Add one header with the key X-API-Key and the value set to your global variable name. Leave environment variables empty; they are for local servers. Click Add Server. Langflow's page documents headers but not an OAuth sign-in for external servers, so the API key header is the route this page verified.
Setup walkthrough: wire it to an Agent
From the MCP sidebar, drag the server onto the canvas. Langflow adds an MCP Tools component for it, with the server already selected in the MCP Server field. The component has a Tool field. The docs say leaving it blank allows all of the server's tools, and selecting one restricts the component to that tool.
Open the component's header menu and enable Tool mode. Then connect the component's Toolset port to the Agent component's Tools port. Add Chat Input and Chat Output to the Agent if the flow lacks them, open the Playground, and send a prompt that needs the tool, such as a request for companies similar to a domain.
One detail from the docs is useful for teams: headers set on the component override headers set on the server. That lets you register the server once and still give two flows two different SimilarIQ keys, so each flow's usage can be revoked on its own.
The API Request route
For a fixed step with no agent, use Langflow's API Request component. Its documented parameters include Mode, URL, Method, Query Parameters, Body, Headers and Timeout. Set the method to POST and the URL to https://similariq.ai/api/v1/search. Put X-API-Key in headers and a body with domain and limit, for example {"domain":"stripe.com","limit":100}.
The component also has a curl mode, where you paste a complete curl command and Langflow fills the other fields from it. The curl walkthrough on this site has a command you can adapt.
The component has a Timeout parameter, and the docs page does not state its default. A SimilarIQ search takes roughly 30 to 60 seconds, so set the timeout yourself to 120 seconds or more. The MCP Tools page documents no timeout setting at all. If searches fail there after a wait while free tools work, the API Request route gives you a timeout you control.
Example prompts and tasks
In the Playground, with all tools allowed, try these.
- "Find look-alikes for airtable.com and list the top 15 with their types."
find_similar_companies, one credit. - "How many credits are left?"
get_search_balance, free. - "Show the searches we have already run."
list_recent_searches. - "Reload the airtable.com results and keep only rows with confidence over 80."
get_search_results, then filtering. - "Start a bulk job for these 25 domains and check on it."
start_bulk_search, thenget_bulk_job. - "Put the top three on the watchlist, then show the watchlist."
save_company,list_saved_companies. - "Create a link to this search for someone without an account."
create_share_link.
Controlling spend
A search is one credit, $0.25, whatever limit you choose. A bulk job is one credit per domain. The eight other tools are free. In Langflow the Tool field is your lever: add one MCP Tools component per tool you want to grant, each restricted to a single tool, and simply do not add find_similar_companies or start_bulk_search to a read-only agent.
For agents that do search, write the order of operations into the Agent's instructions: balance first, history second, search last. Results are saved automatically and re-reading them costs nothing, so there is no reason to pay twice for one domain. The search history page explains what is kept.
Account limits are set in SimilarIQ. If auto-refill is off, searches stop with a 402 when the balance reaches zero. If it is on, the monthly cap you set is a hard ceiling on card charges. For scale: 20 searches cost $5.00, 200 cost $50, and a 500-domain bulk file costs $125.
Flows worth building
Seed-to-shortlist agent. Chat Input, an Agent with SimilarIQ tools, Chat Output. The instruction tells the agent to return only Direct and Indirect companies above a match score of 70, sorted by score, as a table. Use it to turn one good customer into a list of accounts to qualify. The guide on finding companies like your best customers covers seed selection.
Research flow exposed as a tool. Because Langflow can also serve flows over MCP, you can build a flow that searches, filters and summarises, then expose that flow to another assistant. The outer assistant sees one high-level tool; the SimilarIQ key stays inside Langflow.
Batch run from a file. Read a list of domains, call start_bulk_search once, poll get_bulk_job, and pass the finished results to a parser. SimilarIQ returns company, domain, scores and type. Join headcount, location or contacts from your own data afterwards, because SimilarIQ does not supply them.
Troubleshooting and security
If the component shows no tools, re-check the URL and the header key spelling, and confirm the global variable holds the full key. A 401 response means the key is wrong or revoked. A 402 means the balance is empty. A 429 means the rate limiter wants a pause before the next call. A 502 means the search failed and the credit came back, so retry.
The MCP Tools component has a use_cache option that the docs say is off by default, and an SSL verification option that is on by default. Leave verification on; SimilarIQ is served over public HTTPS.
Keep keys in global variables, not in prompts or exported flow files. Use separate keys per flow or per environment. Restrict tools to what each agent needs, and treat company names in results as data from the open web, never as instructions.
Frequently asked questions
Is there a SimilarIQ component for Langflow?
No. SimilarIQ has no native Langflow component or bundle. You register its hosted MCP server in Langflow and use the standard MCP Tools component, or call the REST API with the API Request component.
Which connection type do I pick when adding SimilarIQ to Langflow?
Choose HTTP/SSE. Enter a name, the URL https://similariq.ai/mcp, and a header named X-API-Key with your key or a global variable that holds it. STDIO is for local servers and does not apply.
How do I let a Langflow agent call SimilarIQ tools?
Drag the server onto the canvas, enable Tool mode on the MCP Tools component, and connect its Toolset port to the Agent's Tools port. Leave the Tool field blank to allow all ten tools or select one to restrict it.
Does Langflow time out during a SimilarIQ search?
A search takes roughly 30 to 60 seconds. Langflow's MCP Tools docs do not document a timeout, and the API Request docs list a Timeout parameter without a stated default. Set the API Request timeout to at least 120 seconds, and test the MCP route with one real search.
What does it cost to run SimilarIQ from Langflow?
$0.25 per search for up to 100 look-alikes and one credit per domain in bulk. History, saved results, the watchlist, share links and the balance check are free. New accounts get 2 free searches without a credit card.
Can two flows use different SimilarIQ keys?
Yes. Langflow's docs say headers set on the MCP Tools component override the server-level headers. Set a different X-API-Key on each component and you can revoke one flow's key without affecting the other.