Build a KYB agent with Claude and MCP: tools, steps and where a person decides

A business-verification agent is a short sequence of read-only tool calls, a prompt that keeps facts apart from opinions, and a person who makes the decision. These are the steps, with the real tool names, the credits and the answers the live endpoint gave on 26 November 2026.

The agent resolves a company to one record, checks it, reports what it found and what it could not find, and hands the decision to a person. Everything it needs comes from the Prometiam MCP server: companies_search to find the company, company_check for the record, insolvency notices and the sanctions part in one call, insolvency_check for lists, sanctions_screen for a name, and monitor_subscribe to watch the company afterwards. Not legal advice: the agent supports a check, it is not a compliance decision.

Connect the server

The configuration below is the one on the MCP page. With no key the server uses a shared demo key; add your own key for the tools the demo refuses.

Claude Desktop, in claude_desktop_config.json (the same block works in Cursor, in .cursor/mcp.json):

{
  "mcpServers": {
    "prometiam-risk": {
      "command": "npx",
      "args": ["-y", "prometiam-risk-mcp"]
    }
  }
}

Claude Code, in any terminal (add --scope project to write a shared .mcp.json):

claude mcp add prometiam-risk -- npx -y prometiam-risk-mcp

With your own key, add "env": { "PROMETIAM_API_KEY": "rk_live_..." } next to args, or claude mcp add prometiam-risk -e PROMETIAM_API_KEY=rk_live_... -- npx -y prometiam-risk-mcp. Read the key from an environment variable and never paste it into a prompt. The 14-day trial has 500 credits, needs a card and charges nothing during the trial.

What the hosted endpoint answered on 26 November 2026

The same tools are served over Streamable HTTP at https://api.prometiam.com/functions/v1/mcp. Without a key it runs in demo mode: 30 requests a minute and 2,000 calls a day, shared by everyone. Asking for the tool list is JSON-RPC:

curl -s 'https://api.prometiam.com/functions/v1/mcp' \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json, text/event-stream' \
  -d '{"jsonrpc":"2.0","id":2,"method":"tools/list"}'

On 26 November 2026 initialize answered with serverInfo prometiam-risk, version 0.4.82, and tools/list returned 39 tools without a key. Their names, as the server gave them:

companies_search, company_detail, company_financials, company_group, events_search, events_timeline,
event_detail, people_search, person_detail, directors_network, sanctions_screen, sanctions_entity,
insolvency_search, insolvency_notices_search, procurement_awards, procurement_buyer, procurement_buyers,
procurement_relationship, sanctions_watch, sanctions_unwatch, company_by_identifier, company_check,
companies_lookup, sanctions_screen_batch, insolvency_check, insolvency_record, coverage, account,
vat_validate, einvoicing_check, lei_lookup, lei_search, lei_relationships, monitor_list, monitor_get,
monitor_subscribe, monitor_stop, sanctions_changes, sanctions_watchlist

Each tool carries annotations a client can read. companies_search, company_check, sanctions_screen and insolvency_check declare readOnlyHint: true. monitor_subscribe declares readOnlyHint: false and destructiveHint: true: it creates a subscription in your account, so a client that asks before running such a tool will ask here.

The steps, with credits

StepToolWhat it returnsCreditsPlan
1. Find the companycompanies_searchCandidates as one standard company object: identifiers, VAT number, LEI, legal form, status, founding date, address, match_score and match_type1Starter and above, and the demo
2. Check itcompany_checkOne company in one call: the record, officers, owners and group exposure, corporate insolvency notices, the company name against the sanctions lists (beta), and whether it can be monitored. data.checks[] says which parts ran1 to 7, by the parts that ranStarter; the sanctions part needs Professional
3. Check a listinsolvency_checkUp to 100 counterparties; per item found, none, ambiguous, error or timeout, with up to 5 notices2 per itemStarter and above, and the demo
4. Screen a namesanctions_screenFuzzy matches against sanctions and export-control lists with a score; threshold 50 to 100 (default 80); include_pep is beta and Spain only3Professional and above
5. Watch itmonitor_subscribeA monitor and a signed webhook for status changes, dissolution, sanctions matches and corporate events; changes your account0Starter and above

Other tools fit the same loop: company_detail for the full profile by id, company_by_identifier for a VAT number, LEI or company number with no country to work out, vat_validate and lei_lookup, events_timeline for the history, company_group for GLEIF parent records, company_financials (5 credits, Scale plan and above). An error costs nothing.

Step 1: resolve one company

The agent calls tools/call with companies_search. On 26 November 2026 the demo endpoint answered this request for Inditex in Spain; the text content is the same JSON the REST call returns, shortened here:

curl -s 'https://api.prometiam.com/functions/v1/mcp' \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json, text/event-stream' \
  -d '{"jsonrpc":"2.0","id":3,"method":"tools/call","params":{"name":"companies_search","arguments":{"name":"Inditex","country":"ES","limit":1}}}'
{"jsonrpc":"2.0","id":3,"result":{"content":[{"type":"text","text":"{\n  \"data\": [{\n    \"id\": 1741526,\n    \"match_score\": 100,\n    \"match_type\": \"exact\",\n    \"country\": \"ES\",\n    \"company_number\": \"A15075062\",\n    \"company_name\": \"INDUSTRIA DE DISEÑO TEXTIL, S.A\",\n    \"vat_number\": \"ESA15075062\",\n    \"vat_number_source\": \"rule\",\n    \"lei\": \"549300TTCXZOGZM2EY83\",\n    \"legal_form\": \"SA\",\n    \"status\": \"active\",\n    \"founding_date\": \"1985-06-12\",\n    ...\n  }],\n  \"pagination\": ...,\n  \"meta\": { ... }\n}"}]}}

vat_number_source is rule: the number is the law's format of the identifier, built by the rule, and the registration is not confirmed; the agent should say so rather than call it "verified". A name that matches several companies is a decision point: if the match is not exact with a clear score, the agent asks the person which company is meant. It never picks one.

Step 2: check the company in one call

With the register number the agent calls company_check with country ES and company_number A15075062. On 26 November 2026 the demo endpoint ran the record and the insolvency parts and charged 3 credits, 1 for the record and 2 for insolvency. The answer's checks list shows what ran and what did not; shortened to the parts that matter here:

"checks": [
  { "id": "record", "status": "run", "credits": 1 },
  { "id": "officers", "status": "run", "credits": 0 },
  { "id": "owners", "status": "run", "credits": 0 },
  { "id": "group_exposure", "status": "run", "credits": 0 },
  { "id": "insolvency", "status": "run", "credits": 2 },
  { "id": "sanctions_company", "status": "not_run", "reason": "plan", "credits": 0 },
  { "id": "sanctions_people", "status": "not_available", "reason": "not_offered", "credits": 0 },
  { "id": "monitoring_eligibility", "status": "run", "credits": 0 },
  ...
]

Three things in that answer shape the prompt. insolvency.status was none with notice_count 0, and its note says that is not proof of solvency. sanctions_company did not run because the demo key has no sanctions part; the agent must report "not checked", never "clear". And monitoring.eligible was false with the reason shared_demo_key, so the monitor step needs a key of your own. The answer's meta.notice says the check is indicative and nothing in it is a certification, a rating or advice. Officers are listed where the register publishes them; owners are the register's own ownership and GLEIF group records, not a beneficial-ownership register.

Step 3: check a list of counterparties

For a supplier list the agent calls insolvency_check with up to 100 items. One French company by SIREN, on 26 November 2026:

curl -s 'https://api.prometiam.com/functions/v1/mcp' \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json, text/event-stream' \
  -d '{"jsonrpc":"2.0","id":4,"method":"tools/call","params":{"name":"insolvency_check","arguments":{"items":[{"country":"FR","company_number":"552032534"}]}}}'
{ "data": [ { "index": 0, "input": { "country": "FR", "company_number": "552032534" },
    "status": "none", "notices": [], "latest_filing_date": null } ],
  "meta": { "items": 1, "found": 0, "none": 1, "ambiguous": 0, "errors": 0, ...,
    "note": "Each checked item costs 2 credits; ... CORPORATE insolvency only; a \"none\" item has no notice in the covered markets, which is not proof of solvency." } }

Step 4: screen a name, which the demo refuses

The demo mode does not include sanctions screening. On 26 November 2026 sanctions_screen with the name Inditex answered:

{ "error": { "code": "upgrade_required",
    "message": "Sanctions screening is not included in the free plan. Professional (EUR 29.99/month) includes it.",
    "status": 403 } }

So this step is described from the tool's definition, not from an answer: sanctions_screen takes name (at least two characters), optional threshold from 50 to 100 with a default of 80, optional entity_type (person, company, vessel, aircraft or unknown) and include_pep. It costs 3 credits. A match score is a prompt to review, not a determination; screening is beta, and include_pep is beta, Spain only, with no relatives or close associates. sanctions_screen_batch takes up to 50 names at 3 credits each.

Step 5: watch the company

monitor_subscribe takes company_id (the id from companies_search) and an HTTPS webhook_url, and returns a monitor id and a signing secret shown once. It costs 0 credits and counts toward the monitored companies of the plan: 25 on Starter, 250 on Professional, 2,500 on Scale. Alerts cover status change, dissolution, sanctions match and corporate events, with the scope limits of each country. The demo key cannot monitor, so this step is not shown with an answer. Let the agent subscribe only after a person has approved the company.

A system prompt that keeps three things apart

The prompt's main job is to stop the model from turning "not found" into "clear" and from deciding. It asks for three sections in every answer.

You are a business-verification assistant. Use only the Prometiam tools.
Call companies_search first and company_check second. Never guess an identifier.

Every answer has three sections:
1. Verified register facts: only values a tool returned, each with its source field and, where the
   tool gives one, its date. A vat_number_source of "rule" is a format, not a confirmed registration.
2. Unresolved: conflicts between sources, ambiguous name matches, parts that did not run
   (status not_run or not_available) and countries or lists a tool does not cover.
   "None found" is never "clear": no insolvency notice is not proof of solvency, and a sanctions
   result is a prompt to review, not a finding.
3. Decisions for a person: approve or reject the counterparty, any sanctions or PEP match,
   any insolvency notice, a status other than active, and every monitor_subscribe.

Never write that a company is compliant, safe, cleared or approved. Never run monitor_subscribe,
monitor_stop, sanctions_watch or sanctions_unwatch without the person confirming in this chat.
If a tool answers 403 upgrade_required, say which check was not run.

Where a person decides

SituationWhat the agent doesWho decides
The name matches several companies, or match_type is not exactLists the candidates with country, number and statusA person picks the company
An insolvency notice is foundReports the notice, its date and its source link or text, unalteredA person judges what it means for the relationship
No insolvency noticeWrites "no notice found in the sixteen markets on this date"A person; this is not proof of solvency, and a company outside the sixteen markets is not_available
A sanctions or PEP matchReports the entity, the list, the score and why it matched, labelled betaA person reviews and decides; the agent never clears or confirms a match
The status is not active, or the register gives no officersReports the status and says where officers are not publishedA person decides whether to ask for documents
MonitoringAsks before running monitor_subscribeA person approves, and owns the alerts

Limits

  • Sanctions screening is beta and never a certification. PEP screening is beta and Spain only.
  • Insolvency notices are corporate only, in sixteen markets: FR, DE, GB, AT, CH, NO, FI, US, NL, DK, HR, SE, ES, LV, EE and SG. Contains CVR data (Erhvervsstyrelsen), CC BY 4.0.
  • There is no beneficial-ownership register: UK persons with significant control only. Officers are served where the register publishes them (Spain, France, the United Kingdom, Norway, Poland with natural persons masked, the Czech Republic, and the legal representative for Colombia); every other country is company records only.
  • Nothing here makes a customer "compliant". The output supports a person's check and records what was and was not looked at.
  • The agent loop itself needs a model and a client; the tool calls above were run against the live endpoint, the model loop was not.

Related pages

Sign up · API documentation

The free trial lasts 14 days and includes 500 credits. A card is required and nothing is charged during the trial; it then continues as Starter (EUR 9.99/month) unless you cancel.

Frequently asked questions

Which tools does a KYB agent need at minimum?
companies_search to resolve the company and company_check to get the record, insolvency notices and the sanctions part in one call. Add insolvency_check for lists, sanctions_screen for names that are not companies in a register, and monitor_subscribe for ongoing watching.
Does the demo mode work for this?
For the first steps, yes: search, records and insolvency answer on the shared demo key (30 requests a minute). Sanctions screening and corporate events answer 403 upgrade_required, and monitoring needs your own key.
What does one company cost the agent?
companies_search costs 1 credit. company_check costs 1 to 7 credits by the parts that ran: record 1, insolvency 2, sanctions 3, plus 1 for a name search. A successful run with all parts and a register number is therefore 6 credits; errors cost nothing.
Can the agent approve or reject a counterparty?
It should not. The prompt tells it to report verified facts, unresolved items and decisions for a person, and never to say a company is compliant or cleared.
Which clients work with this server?
Claude Desktop, Claude Code, Cursor and VS Code over stdio, and a hosted endpoint for clients that can send a request header. claude.ai, ChatGPT and Claude Code can also connect with a sign-in instead of a key; see the MCP page.