Docs · Guides
Guides
48 guides for building an agent that uses Strale tools. Each has a working example and says what the tool does not do.
Payment details
Check IBANs, SWIFT codes, EORI and VAT numbers before an agent moves money.
- How do I add IBAN validation to a CrewAI workflow? Give a CrewAI agent the Strale IBAN validation tool and let a crew check payment details. Code included.
- How do I build a payment-details validation pipeline with an AI agent? Combine IBAN, SWIFT and VAT checks as tools in a Pydantic AI agent that validates payment details. Code included.
- How do I validate an IBAN in a LangChain Python agent? Give a LangChain agent the Strale IBAN validation tool and run the call the model chooses. Code included.
- How do I validate EU EORI numbers in an AI agent? Check an EORI number against the European Commission's EORI system with the Strale Python SDK. Code included.
- How do I validate EU VAT numbers in a Python AI agent? Check VAT numbers against the EU VIES register from a LangChain agent with the Strale VAT validation tool. Code included.
- How do I validate IBANs from several countries in one agent run? Loop over IBANs from different countries with the Strale Python SDK and read the country and bank code for each. Code included.
- How do I validate IBANs through MCP in Claude Desktop or Cursor? Add the Strale MCP server to Claude Desktop or Cursor and ask for an IBAN check. Free tools need no key.
- How do I validate SWIFT/BIC codes in an AI agent pipeline? Validate SWIFT/BIC codes with the Strale Python SDK and read the bank code, country code and head-office flag. Code included.
- VAT number validation API: EU, UK, Norway and Switzerland Validate VAT numbers across the EU (VIES), the UK, Norway and Switzerland with one call. Providers, answers, caching and limits.
Company checks
Look up and verify companies from official records.
- How do I build a business verification (KYB) workflow with CrewAI? Chain a company lookup, a VAT format check and sanctions screening in one CrewAI task. Code included.
- How do I check whether a company's VAT registration is valid in an AI agent? Check a VAT number against the EU VIES register from a CrewAI agent with the Strale VAT validation tool. Code included.
- How do I fetch German company registration data in an AI agent? Look up a German company by name or register number from a LangChain agent with the Strale German company data tool. Code included.
- How do I look up beneficial ownership data for a UK company in a Python agent? Find the persons with significant control of a UK company with the Strale beneficial ownership tool. Code included.
- How do I look up LEI codes for legal entities in an AI agent? Look up a Legal Entity Identifier at GLEIF from a LangChain agent with the Strale LEI lookup tool. Code included.
- How do I look up Swedish company data in a LangChain agent? Look up a Swedish company at Bolagsverket by organisation number from a LangChain agent. Code included.
- How do I run a company check in Claude Desktop through MCP? Add the Strale MCP server to Claude Desktop and ask Claude to look up a company and screen it. No code.
- How do I verify a UK company in a Python AI agent? Look up a UK company at Companies House by company number from a Pydantic AI agent with the Strale Python SDK. Code included.
- How do I verify companies in several countries with one agent? Route a company lookup to the right country's Strale tool from a Pydantic AI agent, using an explicit country-to-tool map. Code included.
- Norwegian company registry API: look up a company at Brønnøysundregistrene Query Norway's official company register, Brreg, by organisation number or company name with one REST call, with board and CEO roles included.
- Swedish company registry API: look up a company by organisation number Query Sweden's official company register, Bolagsverket, by organisation number with one REST call. Inputs, output fields, limits and a comparison.
Screening and compliance
Sanctions, politically exposed persons, adverse media and regulation checks.
- How do I add adverse media screening to an AI agent workflow? Search news coverage for a company or person from a CrewAI agent with the Strale adverse media tool. Code included.
- How do I add sanctions screening to a LangChain agent? Screen a name against consolidated sanctions lists from a LangChain agent with the Strale sanctions check tool. Code included.
- How do I check a website for common GDPR signals with an AI agent? Scan a website for a cookie consent banner, a privacy policy link, tracking scripts and HSTS from a LangChain agent. Code included.
- How do I check for politically exposed persons (PEPs) in an AI agent? Search a person against a consolidated database of politically exposed persons from a LangChain agent. Code included.
- How do I get an EU AI Act risk classification for an AI system with an agent? Send a description of an AI system to the Strale EU AI Act classification tool and read the risk level and the articles it matched. Code included.
- How do I make a screening agent resilient with a fallback source? Fall back to the Strale sanctions check when your primary screening provider fails, and tag the result so it can be reviewed. Code included.
- How do I run PEP, sanctions and adverse media checks together in Python? Register PEP, sanctions and adverse media checks as tools on a Pydantic AI agent and collect their results. Code included.
- How do I run PEP, sanctions and media checks in Cursor with the Strale MCP server? Add the Strale MCP server to Cursor and ask the assistant to run PEP, sanctions and adverse media searches on a name.
- How do I screen a person against sanctions, PEP and media lists in a CrewAI workflow? Give a CrewAI agent the sanctions, PEP and adverse media tools and have it report what each search found. Code included.
- Sanctions, PEP and adverse media screening APIs: what Strale does and where it sits What Strale's sanctions, PEP and adverse media tools do, where the data comes from, and how they differ from calling the database or running your own.
Web, domains and data
Read pages, check domains and clean up what an agent gets back.
- How do I automate SEO audits with a Python AI agent? Check a page's meta tags, headings, structured data and robots.txt from a LangChain agent with the Strale SEO audit tool. Code included.
- How do I automatically repair malformed JSON in an AI agent? Fix trailing commas, single quotes and unquoted keys in model output with the Strale JSON repair tool. Code included.
- How do I check a domain's basic health in an AI agent pipeline? Score a domain on whether it resolves, serves HTTPS and has MX, SPF and DMARC records, from a CrewAI agent. Code included.
- How do I check SSL certificates automatically in an AI agent? Read a domain's TLS certificate, its expiry and its issuer from a Pydantic AI agent with the Strale SSL check tool. Code included.
- How do I convert web pages to Markdown in a LangChain agent? Turn a web page into clean Markdown for a model from a LangChain agent with the Strale URL to Markdown tool. Code included.
- How do I detect the technology behind a website in an AI agent? Identify the frameworks, CMS, analytics and hosting behind a URL from a LangChain agent. Code included.
- How do I fetch and convert web pages to Markdown through MCP? Add the Strale MCP server to your client and ask the assistant to turn a URL into Markdown. Free tools need no key.
- How do I run DNS lookups in a Python AI agent? Query a domain's DNS records with the Strale Python SDK, including whether SPF and DMARC are set up. Code included.
- How do I validate email addresses in a LangChain agent? Check an email address for syntax, MX records and disposable or role-address signals from a LangChain agent. Code included.
Build and connect agents
Patterns for calling Strale reliably from an agent.
- Free tools for AI agents: no signup, no API key The Strale tools an agent can call without an account, how the monthly allowance works, and which tools are not free.
- How do I add an automatic API fallback to an AI agent? Wrap a primary data source in a try/except and call a Strale tool when it fails, tagging the result so you can see how often. Code included.
- How do I add the Strale MCP server to Claude Code? One command adds Strale as an MCP server in Claude Code. Free tools work without a key.
- How do I call Strale with a plain-language task instead of a tool name? Send a task description instead of a tool slug to POST /v1/do, and see how the match works and when to name the tool instead. Code included.
- How do I connect the Strale MCP server to Cursor? Add a .cursor/mcp.json file and Cursor's assistant can search and call Strale tools.
- How do I keep a record of each Strale call in an AI agent? Store the transaction ID and your own context for every Strale call so you can retrieve the record later. Code included.
- How do I make an AI agent resilient when external APIs fail? Combine a price ceiling, freshness and latency guards and typed error handling around Strale calls. Code included.
- How do I run a multi-step company check with a bundled check from an agent? Call a bundled check from a CrewAI tool so one call runs the registry, VAT, screening and media steps and returns one record. Code included.
- x402 for AI agents: pay per call without an API key How x402 works with Strale: an HTTP 402 quote in USDC, a signed payment and a repeated request.