Counterparty · documentation

Documentation

COUNTERPARTY · DOCUMENTATION

How an agent reads the firm record, what a record holds, and how to check it.

The tools

toolwhat comes back
get_counterpartyLicence status of a capital markets counterparty. Returns the regulator's record of one firm: whether it is licensed, authorised or registered, by which regulator, for what, and since when the register says so. Give a Legal Entity Identifier, or a market and the regulator's firm number. Every field carries its source page and the date it was read. The record is signed; the read leaves a receipt.
resolve_counterpartyThe candidate firms for a name and, if given, a market: each with its identifiers, market, grouping and status. Never a guess at which one is meant.
list_counterpartiesThe firms of one market, by grouping or status, paged.
verify_counterpartyWhether a record's signature verifies against the published keys. Anyone can do the same offline.

Calls

2.1
One firm, by market and the regulator's firm number:
{"name":"get_counterparty","arguments":{"market":"<market>","firm_number":"<the regulator's firm number>"}}
2.2
One firm, by Legal Entity Identifier. Where one identifier covers licences in several markets, the answer is a list of its records:
{"name":"get_counterparty","arguments":{"lei":"<Legal Entity Identifier>"}}
2.3
Candidates for a name:
{"name":"resolve_counterparty","arguments":{"name":"<name>","market":"<market>"}}
2.4
The firms of a market, paged:
{"name":"list_counterparties","arguments":{"market":"<market>","grouping":"Bank","page":1}}

What a record holds

fieldrule
Legal nameAs the register writes it, in its own script, with the register's Latin-script form where it gives one
MarketThe roster market whose regulator holds the register
RegulatorThe regulator's name, from the Book of Markets
Regulator's firm numberThe register's own identifier for the firm; the firm's key within the market
Licence class and permissionsIn the register's own words
Plain groupingBank · Broker-dealer · Investment firm · Fund manager · Venue · Other
StatusIn the register's own words, with the date the register gives for it where it gives one
Legal Entity IdentifierOnly where the match to the open global file is certain. Otherwise empty
Registered countryWhere the register gives it
Web domainWhere the register gives it
Parent or groupOnly where the register states it
Source and date readFor every field: the register page it was read from and the date it was read

The plain grouping

One plain grouping sits beside the register's own licence class: Bank · Broker-dealer · Investment firm · Fund manager · Venue · Other. It is assigned from the register's class by a fixed table for each register. A class that does not fit is Other.

Signature and receipt

5.1
Each record is signed by its market under that market's record key (key id allooloo-cmr-2026-10), by the same rule as an issuer record. Keys: allooloo.ai/.well-known/jwks.json.
5.2
To check a record offline: remove its signature and receipt members, write the rest as JSON with keys sorted at every level and no spaces, and verify the Ed25519 signature over base64url(protected) + '.' + base64url(that JSON). verify_counterparty does the same.
5.3
Every read through the MCP is receipted at mcp.rco-records.ai/mcp, subject type counterparty. The receipt's answer hash binds it to the exact signed record served. The receipt id is on every answer.
5.4
A change to a firm's record is a new version. Earlier versions stay readable: give version to get_counterparty.

Six rules for an agent relying on a record

  1. Use the official source for each fact, and keep the page, filing or notice that supports it.
  2. Check that the source covers the right company, security and market before relying on it.
  3. Check the dates: when the source was published, when it was read, and whether a later notice replaces it.
  4. Say so when evidence is missing, unavailable or in conflict. A missing filing is a gap, not a finding.
  5. Finding a record is not permission to act. Check what a clearance covers first.
  6. Where a record is signed, check the signature, and keep the receipt for each cleared read.

From provenance-guidelines.org.

Access

Any MCP client that speaks Streamable HTTP:

{
 "mcpServers": {
  "getcounterparty": {
   "type": "http",
   "url": "https://mcp.getcounterparty.ai/mcp"
  }
 }
}

Claude Code:

claude mcp add --transport http getcounterparty https://mcp.getcounterparty.ai/mcp
7.1
MCP: mcp.getcounterparty.ai/mcp — the same router as mcp.getissuer.ai/mcp; a call is routed to the MCP of the firm's market, which signs the answer.
7.2
Agent card: agent.getcounterparty.ai/.well-known/agent-card.json
7.3
Tools: get_counterparty · resolve_counterparty · list_counterparties · verify_counterparty
7.4
Receipts: every read through the MCP is receipted at mcp.rco-records.ai/mcp; the receipt id is on the answer.
7.5
Registry: io.github.allooloo/getcounterparty

Each market's own MCP

marketmarket pagethe market's MCP
Canadaca.getcounterparty.aimcp.ca-cm-kg.ai/mcp
United Kingdomuk.getcounterparty.aimcp.uk-cm-kg.ai/mcp
Australiaau.getcounterparty.aimcp.au-cm-kg.ai/mcp
Singaporesg.getcounterparty.aimcp.sg-cm-kg.ai/mcp
Switzerlandch.getcounterparty.aimcp.ch-cm-kg.ai/mcp
Germanyde.getcounterparty.aimcp.de-cm-kg.ai/mcp
Francefr.getcounterparty.aimcp.fr-cm-kg.ai/mcp
Netherlandsnl.getcounterparty.aimcp.nl-cm-kg.ai/mcp
Hong Konghk.getcounterparty.aimcp.hk-cm-kg.ai/mcp
Japanjp.getcounterparty.aimcp.jp-cm-kg.ai/mcp
South Koreakr.getcounterparty.aimcp.kr-cm-kg.ai/mcp
United Statesus.getcounterparty.aimcp.us-cm-kg.ai/mcp
Italyit.getcounterparty.aiit.eu-cm-kg.ai/mcp
Spaines.getcounterparty.aies.eu-cm-kg.ai/mcp
Swedense.getcounterparty.aise.eu-cm-kg.ai/mcp
Denmarkdk.getcounterparty.aidk.eu-cm-kg.ai/mcp
Norwayno.getcounterparty.aino.eu-cm-kg.ai/mcp
Finlandfi.getcounterparty.aifi.eu-cm-kg.ai/mcp
Belgiumbe.getcounterparty.aibe.eu-cm-kg.ai/mcp
Irelandie.getcounterparty.aiie.eu-cm-kg.ai/mcp
Austriaat.getcounterparty.aiat.eu-cm-kg.ai/mcp
Polandpl.getcounterparty.aipl.eu-cm-kg.ai/mcp
Portugalpt.getcounterparty.aipt.eu-cm-kg.ai/mcp
Luxembourglu.getcounterparty.aimcp.lu-cm-kg.ai/mcp
Greecegr.getcounterparty.aigr.eu-cm-kg.ai/mcp
Czech Republiccz.getcounterparty.aicz.eu-cm-kg.ai/mcp
Cayman Islandsky.getcounterparty.aimcp.ky-cm-kg.ai/mcp
Bermudabm.getcounterparty.aimcp.bm-cm-kg.ai/mcp
Jerseyje.getcounterparty.aimcp.je-cm-kg.ai/mcp
Taiwantw.getcounterparty.aimcp.tw-cm-kg.ai/mcp
United Arab Emiratesae.getcounterparty.aimcp.ae-cm-kg.ai/mcp
Brazilbr.getcounterparty.aimcp.br-cm-kg.ai/mcp
Mexicomx.getcounterparty.aimcp.mx-cm-kg.ai/mcp
Indiain.getcounterparty.aimcp.in-cm-kg.ai/mcp

Questions