# Agent tools and SDKs

Connect your agent to the signed record of a prescription medicine and get a card on the first call.


## What Dosidal holds

Dosidal holds the regulator's own record of each prescription medicine (prescription drug) as a signed card. Fetch a card by its address or by any one of three codes: the barcode on the pack (Global Trade Item Number, GTIN), the national pack code, or the authorisation number. You get the card; or a list of cards where several share the code; or an empty list. Every card shows a stamp: the date it was last checked against the regulator. Every fetch leaves a signed receipt. Dosidal identifies a medicine; it does not advise on its use. Cards follow the open standard DOSE-10060.

## The address

`https://mcp.dosidal.ai/mcp`

- Model Context Protocol (MCP), streamable Hypertext Transfer Protocol (HTTP), server name `dosidal`
- **Sign-in** — none
- **Tools** — `fetch`, `verify_card`, `changes`

## Setup

**Claude Code**

```
claude mcp add --transport http dosidal https://mcp.dosidal.ai/mcp
```

**Cursor** (`.cursor/mcp.json`)

```
{
  "mcpServers": {
    "dosidal": {
      "url": "https://mcp.dosidal.ai/mcp"
    }
  }
}
```

**VS Code** (`.vscode/mcp.json`)

```
{
  "servers": {
    "dosidal": {
      "type": "http",
      "url": "https://mcp.dosidal.ai/mcp"
    }
  }
}
```

Any other client that speaks MCP over streamable HTTP takes the same address. Plain HTTP works too:

```
curl -s https://mcp.dosidal.ai/mcp -H 'content-type: application/json' -H 'accept: application/json, text/event-stream' -d '{"jsonrpc": "2.0", "id": 2, "method": "tools/call", "params": {"name": "fetch", "arguments": {"code": "00300020152018"}}}'
```

## Fetch: one example and its card

There is one way to get a card: the fetch. Give the card's address or any one of the three codes. You do not say which kind of code you hold.

```
fetch {"code": "00300020152018"}
```

| Part of the card | In this card |
|---|---|
| Address | `https://dosidal.ai/pack/us/00300020152018` |
| Level, market | pack, US |
| Codes | barcode `00300020152018` · national pack code `0002-0152-01` · authorisation number `NDA217806` |
| Standing | status as the regulator publishes it, with its source and the date it was read |
| Signature | elliptic-curve signature on the P-256 curve with SHA-256 (ES256) over the card (JSON Canonicalization Scheme (JCS) form), key `dosidal-record-1.9dbf5d53` |
| Stamp | `checked`: the date the US market was last checked against the regulator |

The card also carries the name, substance, strength, form, pack size and holder as the regulator publishes them, each with the regulator's page it was read from and the date it was read.

- **One card** — the signed card itself, with its stamp. Nothing around it.
- **Several cards share the code** — all of them, as a plain list of signed cards.
- **No card** — an empty list.

## Three codes

A card is found by the barcode on the pack (a Global Trade Item Number, GTIN, with a valid check digit), by the regulator's own number for the pack (the national pack code), or by the regulator's number for the authorised medicine (the authorisation number), whichever the regulator publishes. All three are on the card. A code the regulator publishes that is none of the three stays on the card under the regulator's own label; a card is not found by it.

## The stamp

Every card shows a stamp: the date it was last checked against the regulator. Dosidal reads every market once a day. Each full read of a market gives that market one signed stamp, and every card of the market shows it. The stamp is a date. Nothing expires.

## changes and verify_card

- **changes** — List the real changes to a country's cards since a date.
- **verify_card** — Check a card's signature against Dosidal's public keys.

## Web API

The same cards over plain web requests and the JavaScript Object Notation (JSON) format, for any agent or system that does not speak the Model Context Protocol (MCP).

```
curl -s 'https://dosidal-api.ai/v1/fetch/00300020152018'
```

- [OpenAPI](https://dosidal-api.ai/openapi.json)
- [Docs](https://dosidal.ai/docs#routes)

## Receipts

Each fetch leaves a signed receipt: which card was read, and when. The answer carries the receipt's id, in the header `x-dosidal-receipt` and, over the Model Context Protocol, in `_meta.receipt`. The receipt is written after the answer has gone; read it by its id on the receipts server.

Every fetch leaves a signed receipt. Read one, and check its hash, its signature and its place in the chain, with no key: `https://mcp.rco-dosidal.ai/mcp`, tools `get_receipt` and `verify_receipt`.

## How an agent pays

Voluntary test payment: one small payment, machine to machine, to try the payment flow. It is voluntary. It unlocks nothing, raises no limit and is never required.

- **Address** — `https://dosidal-api.ai/v1/test-payment`
- **Standard** — x402, inside the call: the address answers 402 Payment Required with its offer, and the agent's x402 client pays and sends the same request again
- **Currencies** — USDC first, Open USD second, on Base

## Links

- [The repository: dosidal-agents](https://github.com/Dosidal/dosidal-agents)
- [The skill: skills/dosidal/SKILL.md](https://github.com/Dosidal/dosidal-agents/blob/main/skills/dosidal/SKILL.md)
- [Agent card](/.well-known/agent-card.json)
- [llms.txt](/llms.txt)
- [Signing keys](https://dosidal-registry.ai/.well-known/jwks.json)
- [The standard: DOSE-10060](https://dose-10060.org/)
- [The Library: the Book of DOSE](https://book-of-dose.org/)

## Contact

Contact: the form at the bottom of https://dosidal.ai/#contact

---
Dosidal powers the agentic era of pharma.
The centre beam of pharmaceutical data for AI.

Dosidal is a product record. It identifies a medicine and its regulatory status. It does not advise on use.
Artificial intelligence makes mistakes. Dosidal is an information source, not a recommendation. Read the regulator.

FOR AGENTS: [llms.txt](/llms.txt) · [MCP server card](/.well-known/mcp/server-card.json) · [Agent card](/.well-known/agent-card.json) · [Keyring](https://dosidal-registry.ai/.well-known/jwks.json) · [security.txt](/.well-known/security.txt)
FOR BUILDERS: [Agent tools and SDKs](https://dosidal.ai/agent-tools) · [fetch](https://dosidal.ai/docs#tool-fetch) · [verify_card](https://dosidal.ai/docs#tool-verify_card) · [changes](https://dosidal.ai/docs#tool-changes)
FOR HUMANS: [Contact](#contact) · [Standard](https://dose-10060.org/) · [Library](https://book-of-dose.org/) · [Docs](https://dosidal.ai/docs) · [Setup](https://dosidal.ai/setup) · [Status](https://dosidal.ai/status) · [Terms of Use](https://dosidal.ai/terms) · [Privacy](https://dosidal.ai/privacy) · [Disclaimer](https://dosidal.ai/disclaimer) · [Legal](https://dosidal.ai/legal)
Dosidal AI Corp. · 260-4611 Viking Way, Richmond, BC V6V 2K9, Canada · © 2027 Dosidal AI Corp.
