Allooloo Counterparty
v0.29.1Licence status of capital markets firms, read from the regulator's own register.
The regulator's record of every licensed capital markets firm, read by any agent in one call. get_counterparty is a Model Context Protocol (MCP) server from Allooloo for artificial intelligence (AI) agents. Before an agent deals, it has to know who is on the other side. get_counterparty returns the regulator's own record of a firm: whether it is licensed, authorised or registered, by which regulator, for what. Every field names its source and the date it was read. Each record is signed by the market that holds it, and every read leaves a signed receipt. get_issuer says what the security is.
Summary extracted from the README.
get_counterparty — the Counterparty MCP
The regulator's record of every licensed capital markets firm, read by any agent in one call.
get_counterparty is a Model Context Protocol (MCP) server from Allooloo for artificial intelligence (AI) agents. Before an agent deals, it has to know who is on the other side. get_counterparty returns the regulator's own record of a firm: whether it is licensed, authorised or registered, by which regulator, for what. Every field names its source and the date it was read. Each record is signed by the market that holds it, and every read leaves a signed receipt.
get_issuer says what the security is. get_counterparty says who is licensed to deal in it. Both are on the same MCP.
- MCP:
https://mcp.getcounterparty.ai/mcp - Site: https://getcounterparty.ai/
- Documentation: https://getcounterparty.ai/docs
Read-only, public record only, no authentication.
Add it
Claude Code, one line:
claude mcp add --transport http getcounterparty https://mcp.getcounterparty.ai/mcp
Any MCP client that speaks Streamable HTTP (Hypertext Transfer Protocol):
{
"mcpServers": {
"getcounterparty": {
"type": "http",
"url": "https://mcp.getcounterparty.ai/mcp"
}
}
}
A call is routed to the MCP of the firm's market, which signs the answer. Each market also has its own MCP; the list is on the documentation page.
The tools
| Tool | What it takes | What comes back |
|---|---|---|
get_counterparty |
lei: a Legal Entity Identifier (LEI, 20 characters); or market (two letters, for example uk) and firm_number (the regulator's firm number, exactly as the register writes it). Optional version: a version of the record; the default is the current version. |
Licence status of a capital markets counterparty. 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. Every field carries its source page and the date it was read. The record is signed; the read leaves a receipt. Where one identifier covers licences in several markets, the answer is a list of its records. |
resolve_counterparty |
name: a firm name, or part of one (required). Optional market. |
The 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; read the one you mean with get_counterparty. |
list_counterparties |
market. Optional grouping (Bank, Broker-dealer, Investment firm, Fund manager, Venue, Other), status (exactly as the register writes it; the answer's statuses list names them) and page. |
The firms of one market, by grouping or by status in the register's own words, paged. |
verify_counterparty |
record: a record exactly as get_counterparty served it (required). |
Whether the record's signature verifies against the published keys. Nothing is read; anyone can do the same offline with the key in the answer. |
On a market's own MCP, market may be left out.
Calls
{"name":"get_counterparty","arguments":{"market":"<market>","firm_number":"<the regulator's firm number>"}}
{"name":"get_counterparty","arguments":{"lei":"<Legal Entity Identifier>"}}
{"name":"resolve_counterparty","arguments":{"name":"<name>","market":"<market>"}}
{"name":"list_counterparties","arguments":{"market":"<market>","grouping":"Bank","page":1}}
{"name":"verify_counterparty","arguments":{"record":{}}}
For verify_counterparty, record is the whole record as served.
What a record holds
A record states its regulator, and gives the source and the date read for every field.
| Field | Rule |
|---|---|
| Legal name | As the register writes it, in its own script, with the register's Latin-script form where it gives one |
| Market | The roster market whose regulator holds the register |
| Regulator | The regulator's name, from the Book of Markets |
| Regulator's firm number | The register's own identifier for the firm; the firm's key within the market |
| Licence class and permissions | In the register's own words |
| Plain grouping | Bank · Broker-dealer · Investment firm · Fund manager · Venue · Other |
| Status | In the register's own words, with the date the register gives for it where it gives one |
| Legal Entity Identifier | Only where the match to the open global file is certain. Otherwise empty |
| Registered country | Where the register gives it |
| Web domain | Where the register gives it |
| Parent or group | Only where the register states it |
| Source and date read | For every field: the register page it was read from and the date it was read |
One plain grouping sits beside the register's own licence class. It is assigned from the register's class by a fixed table for each register. A class that does not fit is Other.
In the answer, the regulator is the regulator member; each sourced field carries source (the register page) and read (the date read); each licence line names its register.
A change to a firm's record is a new version. Earlier versions stay readable: give version to get_counterparty.
How the signature is checked
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: https://allooloo.ai/.well-known/jwks.json
To check a record offline:
- Remove its
signatureandreceiptmembers. - Write the rest as JavaScript Object Notation (JSON) with keys sorted at every level and no spaces.
- Verify the Ed25519 signature over
base64url(protected) + '.' + base64url(that JSON).
verify_counterparty does the same.
Where the receipt for a read is found
Every read through the MCP is receipted at https://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, in the receipt member, with the receipt's page and the verify_receipt call that checks it.
The receipt standard is RCO-10060 (RCO: Record of Cleared Orders): https://github.com/allooloo/rco-records
A worked example
A real call to the live MCP and its real answer, for a firm whose record is read from its regulator's own register: the Australian Securities and Investments Commission's Australian Financial Services licensee dataset.
The call (examples/get_counterparty/request.json):
curl -s https://mcp.getcounterparty.ai/mcp \
-H 'Content-Type: application/json' \
-H 'Accept: application/json, text/event-stream' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_counterparty","arguments":{"market":"au","firm_number":"237502"}}}'
The answer, in full and as served, is examples/get_counterparty/answer.json. Shortened here (the permissions list is cut):
{
"schema": "ECO-10060 · subject type counterparty · record cp-0.1",
"subject_type": "counterparty",
"id": "au:237502",
"firm_number": "237502",
"legal_name": {
"value": "MACQUARIE BANK LIMITED",
"latin": null,
"source": "https://data.gov.au/data/dataset/asic-afs-licensee",
"read": "2026-11-25"
},
"regulator": "Australian Securities and Investments Commission (ASIC)",
"licences": [
{
"register": "ASIC - Australian Financial Services Licensee Dataset",
"licence_class": ["AFS Licence"],
"status": "Current",
"status_date": "2004-03-01",
"source": "https://data.gov.au/data/dataset/asic-afs-licensee",
"on_register": true,
"read": "2026-11-25"
}
],
"status": {
"value": "Current",
"date": "2004-03-01",
"source": "https://data.gov.au/data/dataset/asic-afs-licensee",
"read": "2026-11-25"
},
"lei": {
"value": "4ZHCHI4KYZG2WVRT8631",
"match": "legal name and national business-register number agree",
"source": "https://www.gleif.org/en/lei-data/gleif-golden-copy/download-the-golden-copy",
"read": "2026-11-25"
},
"page": "https://au.getcounterparty.ai/237502",
"version": 4,
"signature": {
"alg": "EdDSA",
"kid": "allooloo-cmr-2026-10",
"jwks": "https://allooloo.ai/.well-known/jwks.json"
},
"receipt": {
"id": "rco:ob7w62he4ew3q4hhgavu",
"page": "https://rco-records.ai/receipts/rco:ob7w62he4ew3q4hhgavu"
}
}
The signature of the answer in the file verifies offline by the three steps above. A record changes when the register does, so a call made today may return a later version and a later read date; give "version": 4 to read this one.
Markets and figures
The markets on the roster, the number of firms held in each and the latest read date are on the live site: https://getcounterparty.ai/
A firm's page is the market host followed by the regulator's firm number, percent-encoded: https://<market>.getcounterparty.ai/<firm number>. No firm name is in any address.
Machine files
Copied as the site serves them:
| File here | Served at |
|---|---|
| .well-known/agent-card.json | https://agent.getcounterparty.ai/.well-known/agent-card.json |
| mcp.json | https://getcounterparty.ai/mcp.json (the MCP server card) |
| llms.txt | https://getcounterparty.ai/llms.txt |
Registry: io.github.allooloo/getcounterparty
Six rules for an agent relying on a record
From https://provenance-guidelines.org/
- Use the official source for each fact, and keep the page, filing or notice that supports it.
- Check that the source covers the right company, security and market before relying on it.
- Check the dates: when the source was published, when it was read, and whether a later notice replaces it.
- Say so when evidence is missing, unavailable or in conflict. A missing filing is a gap, not a finding.
- Finding a record is not permission to act. Check what a clearance covers first.
- Where a record is signed, check the signature, and keep the receipt for each cleared read.
What it is not
- Not a statement by any firm.
- Not a rating, a recommendation or a view on any firm.
- Not the regulator's register: the register is the source, and the source is linked on every record.
Artificial intelligence makes mistakes; read the source.
Contact
counterparty@allooloo.ai · Allooloo Technologies Corp. · https://allooloo.io/
MIT licence. © 2027 Allooloo Technologies Corp.