One consent. Your agent is cleared to act.
Build agents that arrive with the records, the person and the proof.
Context. AllClear gathers your user’s health records from each data holder, by legal right, with provenance on every record.
Authorization. Your user authorizes your agent for exactly the scopes you request, and can revoke it in one tap.
Sign-in. Proof a business can check: who your agent is, who it acts for and what it may do.
Live production API
Free to build today
No API keys
No approval to start
No SDK
An agent that can’t finish the job just slows your user down.
Your user delegates a job. Your agent comes back with a question, or the business turns it away. Three things are missing, and they are the same three every time.
Your user
Refill my prescription.
Your agent
What’s the prescription number? Which pharmacy?
Missing
Context
Your user
Send my records to my new doctor.
Your agent
What’s your patient portal username and password?
Missing
Authorization
Your user
Appeal my health insurance denial.
Your agent
Your insurer can’t verify I act for you. Can you call them yourself?
Missing
Sign-in
A business can’t verify who the agent is, who it acts for, or what it may do. So it says no.
Delegation is a chain of trust. AllClear makes every link verifiable.
Every link runs on open standards you already use: OAuth, OIDC and MCP. The first two links are live today, and business verification is coming on the same standards. AllClear’s agent gathers. Your agent acts.
1 · Context
Live
AllClear gathers the verified records.
AllClear’s agent works for your user
It requests records from each data holder, by right
Kept current in an account your user owns
Provenance tracked on every record, with a link to its source document
Provenance is live on the Partner API, for verified businesses. Over MCP, coming soon. Request access →
2 · Authorization
Live
Your user connects and authorizes your agent.
For the exact scopes you request over OAuth
Any agent they pick
Revoked in one tap
3 · Sign-in
Coming soon
The business will verify.
Who your agent is
Who it acts for
What it may do
Every record names its source.
Each condition, medication and result comes back with the healthcare organization, the clinician and the date it came from. Your agent can say where a fact came from, and a business can check it. The same API lets you pull the original source document behind each record.
Partner API · sample response
{
“patient”: {
“name”: “Alex Johnson”,
“dob”: “1966-03-14”,
“source”: “AllClear · Patient Profile”
},
“conditions”: [{
“name”: “Essential Hypertension”,
“status”: “active”,
“source”: “Austin Heart Clinic · Dr. Sarah Chen · Jul 21, 2023”
}],
“medications”: [{
“name”: “Lisinopril 10mg”,
“status”: “active”,
“source”: “Austin Heart Clinic · Dr. Sarah Chen · Nov 12, 2024”
}]
}
Point your coding agent at AllClear and tell it to build.
Send your coding agent one line. It fetches the instructions itself, then registers your app and wires up OAuth and MCP. There is nothing long to copy and nothing to keep in sync.
1 · Give your coding agent this line
Read https://allclearid.com/developers/agent.md and follow it to add AllClear to this app, so it can read a user’s health records with their consent.
Paste it into Cursor, Claude Code, Codex or any coding agent. If yours cannot fetch a URL, copy the full instructions below.
2 · Test against your own account
Optional. You’ll need the AllClear app and a verified account. Add this MCP server to your tool, approve it in the app, then ask your agent to list your medications.
https://mcp.app.allclearid.com/mcp
No account yet? Join free, or create one when you approve the connection.
Not building an app? Paste the same line into your chat app and it will walk you through connecting your own records.
Who does what
You
Paste the line into your coding agent. Review the code it writes before you ship it.
Your coding agent
Registers your app with one request. No secret, no key.
Runs the OAuth handshake with PKCE and stores the tokens.
Reads the user’s records over MCP.
Handles refresh, disconnect and revocation.
AllClear
Registers your app instantly, on the live production API. No key to request, no approval to wait for.
Authorization, recorded as a signed consent.
Every action your agent takes traces back to a verified person who said yes. Today that consent governs what your agent can reach. Soon a business will be able to check it too.
Consent signed · Active
Who
A verified person, to your named agent
What
A defined scope of the picture, no more
Purpose
Only what the person allows
Coming soon
When
Issued, expires, every use logged
Revocable
One tap, pushed to every connected app over webhooks
Signed by AllClear · business verification coming soon
Coming soon
With verification, a business can let your agent sign in, onboard, qualify, act and approve for your user.
Your agent connects once. AllClear does the rest.
Your agent self-registers with AllClear.
The user signs in and agrees to share their records with your agent.
Over MCP, AllClear gathers the user’s records on their behalf.
Over MCP, your agent gets the user’s records.
One connection. Four capabilities.
One OAuth connection, opened once, is all it takes. Identity, context, and the APIs around them all run through it. It’s one integration, not four.
OAuth 2.1
Authorization
Scoped access, granted by the person it’s about.
See how it works →
OIDC
Identity
A verified person behind every request.
See how it works →
MCP
Context over MCP
Their whole record, over one connection.
See how it works →
REST
Consumer APIs
From context to action.
See how it works →
Authorization
Scoped access, granted by the person it’s about.
The consent and control you would otherwise build yourself. The user approves exactly the scopes you asked for, on a screen they actually finish, and you get a short-lived, scoped token instead of a standing key. When they revoke it, it stops working everywhere at once. And it will extend: as your relationship with the user deepens, you’ll be able to ask them to step up and approve something new on the same connection.
What’s in it
A consent screen people finish
The wording and the per-scope flow, done for you and signed off on.Short-lived, scoped tokens
Exactly what was approved, nothing more, and no standing key to leak.Revocation that propagates
The user ends it once, and the token stops working everywhere it was used.An audit trail
Every grant and every access, logged as evidence security will sign.Step-up when it matters (Coming)
Ask the user to approve something new, mid-relationship and on the same connection, the moment your app needs it.
How it works
Ask for scopes
Send the user to authorize with exactly the scopes you need, nothing more.They approve
One consent screen, granted per scope, that they finish.Use the token
Short-lived and scoped; refresh while it lasts, dead the moment they revoke.
POST https://oauth.app.allclearid.com/token
grant_type=authorization_code&code=...&code_verifier=...
{
"token_type": "Bearer",
"access_token": "<token, 1 hour>",
"expires_in": 3600,
"refresh_token": "<token, 30 days>",
"refresh_token_expires_in": 2592000
}
// treat both as opaque. send the access token as
// Authorization: Bearer ... to the MCP server.
// when it expires, POST /token with grant_type=refresh_token.
// when the user disconnects, both stop working at once.
// a refresh token unused for 30 days expires too; each refresh issues a fresh 30 days.
Good for Least-privilege access · Consent you don’t design · Instant revocation · Step-up authorization
Identity
A verified person behind every request.
Every session opens with a signed id_token that proves who the person is, rather than relying on a form or a self-attested profile. Their details come from the userinfo endpoint, limited to whatever scopes you’ve been granted. Identity is established once and reused everywhere they authorize.
What’s in it
Verified attributes
Name, date of birth, contact, from userinfo: proven rather than typed into a form.Identity proofing
A government ID and a liveness check, done once.Reusable identity
Proven once, then reused across every app the person authorizes.Standard OIDC
Discovery, JWKS, id_token, userinfo. Drops into the auth you already run.
How it works
Send them to authorize
Add openid, and profile or email for the details you need, to the OAuth call you already make.Get a signed id_token
The token response carries a JWT alongside the access token: who they are, verified.Verify, then ask userinfo
Check it against the JWKS, then call userinfo with the access token for the claims your scopes allow.
What your app receives · sample values
Priya Williams
Verified · ID and liveness check, once
name
Priya Williams
birthdate
1967-06-13
gender
female
priya.williams@example.com · verified
phone_number
+1 949 555 0142 · verified
address
Newport Beach, CA
GET /userinfo · as far as your scopes reach: profile, email, phone, address
// add openid to the same authorize call
GET https://oauth.app.allclearid.com/authorize
?response_type=code
&scope=openid%20records%3Aread
&client_id=...&redirect_uri=...&code_challenge=...&state=...
// the token response now carries a signed ID token
POST https://oauth.app.allclearid.com/token
{
"token_type": "Bearer",
"access_token": "<token>",
"id_token": "<JWT>", // OpenID Connect
"expires_in": 300
}
// verify it against the JWKS, then read the claims
GET https://oauth.app.allclearid.com/.well-known/jwks.json
// id_token: registered claims only. Who they are, not their data.
// sub is per client by default; it can be configured to be the same across clients linked to one organization.
{
"iss": "https://oauth.app.allclearid.com",
"sub": "<stable per-client subject>",
"aud": "<your client_id>",
"azp": "<your client_id>",
"auth_time": 1788854719,
"at_hash": "<hash of the access token>",
"token_use": "id",
"iat": 1788854719,
"exp": 1788855019
}
// their details live behind userinfo, gated by your scopes
// (profile, email, address, phone)
GET https://oauth.app.allclearid.com/userinfo
Authorization: Bearer <access_token>
{
"sub": "<the same subject>",
"name": "Priya Williams",
"birthdate": "1967-06-13"
}
Good for Passwordless onboarding · KYC-lite · Age and identity checks · Trust before any data
Context over MCP
Their whole record, over one connection.
The user’s records reach your agent over one MCP server, with no per-source integrations to build or maintain. Health is live today, with more domains arriving on the same connection.
What’s in it
One connection
Point your client at the server. Nothing proprietary, nothing custom to maintain.The tool catalog
Medications, conditions, labs, visits, documents, and search.Structured and as-written
Structured where the source had it; the note itself where it didn’t.More domains next (Coming)
Health today. Finance, insurance and more, over the same connection.
How it works
Point your client
Aim any MCP client at the AllClear server. No SDK.Discover the tools
tools/list returns the current set for the live domain.Call a tool
tools/call returns records, structured or as-written.
// tools/call
POST https://mcp.app.allclearid.com/mcp
Authorization: Bearer <access_token>
{
"jsonrpc": "2.0", "id": 2,
"method": "tools/call",
"params": {
"name": "get_medications",
"arguments": { "status": "active" }
}
}
// the envelope every clinical tool returns
<tool_output>
<fhir_output>
<fhir_records source="fhir"
format="columnar-json">...</fhir_records>
</fhir_output>
<document_output>
<retrieved_context>...</retrieved_context>
</document_output>
<pagination>
<page>1</page><page_size>20</page_size>
<has_more>false</has_more>
</pagination>
</tool_output>
Good for Care assistants · RAG over records · Prefilled intake · Anything needing real history
The tools: Health, live today
Medications · Conditions · Allergies · Lab Results · Vital Signs · Immunizations · Visits · Procedures · Care Plans · Profile · Insurance · Documents · Summarize Document · Search Health Records · Search FAQs · Connected Providers · Connect a Provider
tools/list gives the current set.
Consumer APIs
From context to action.
MCP hands your agent the context. The Consumer APIs go further: pull originals, write records back, message the user, and get told the moment something changes. Partners have them today through a partner agreement, with Partner API credentials from our integration team. Calling them with a user’s OAuth token is coming; the event stream is addressed to your app, so it runs on your app’s own credential.
What’s in it
Source documents
Fetch the original file, the actual PDF, over a signed URL. Today with Partner API credentials; on the user’s token is coming.Contribute records
Write records back to the user’s account. Today with Partner API credentials; on the user’s token is coming.Messaging
Send the user a notification; they see it in AllClear. Today with Partner API credentials; on the user’s token is coming.Change events
A signed notification the moment a record or connection changes, fetched with your app’s credential.
How it works
Use your partner credentials
Partners call originals, contributions and messages with Partner API credentials today. Calling them with the user’s token is coming.Subscribe for events
Register a webhook. Thin signed notifications arrive as things change: an event id and type, no user.Fetch the event
Your app’s own credential fetches it, and the event names the patient it is about.
// Today partners reach these with Partner API credentials (see /partners).
// Calling them with a user's access token is coming; the shapes below show that path.
// The event stream is addressed to your app, so it runs on yours.
// ---- On the user's access token (coming) -------------------
// A source document in its original form (signed download URL):
GET https://api.app.allclearid.com/patients/<id>/records/<record id>
Authorization: Bearer <access_token>
{
"file_name": "discharge-summary.pdf",
"file_type": "application/pdf",
"download": { "url": "<signed URL>", "expires_at": "<ISO 8601>" }
}
// ---- On your app's own credential --------------------------
// The notification is thin and signed: an event id and type, and
// your client id as the audience. No user, by design.
POST <your webhook> Content-Type: application/jwt
{ "type": "event_notification",
"event": { "id": "<uuid>", "type": "record.added" },
"iss": "partner.allclearid.com",
"aud": "<your client_id>" }
// Fetch it with a token your app signs. The event names the
// patient it is about, so you learn the user from the event.
GET https://api.app.allclearid.com/events/<event id>
Authorization: Bearer <client access token>
Good for Ongoing engagement · Staying in sync · Document verification · Two-way workflows
Build a request.
Pick a preset, or customize the scopes yourself. The consent screen reflects your choices, and access follows directly from what’s consented.
1 · Your agent asks for
Identity
openid
Sign-in: a signed id_token
profile
Name, date of birth, gender
needs openid
email
Email address
needs openid
address
Home address
needs openid
phone
Phone number
needs openid
Records and actions
records:read
Read their records
records:add
Write records back
messages:send
Message the user
account:assist
Act for the account: connect providers, order records
Connection
offline_access
Standing connection: a refresh token
2 · Your user sees
Connect with Your Agent. I authorize continuous access to:
Consent
Share a sign-in ID
Lets this app recognize you when you return.
View my profile
Read my name, date of birth and gender.
View my email address
Read my email address.
View my address
Read my home address.
View my phone number
Read my phone number.
View my records
Access my current records and updates.
Add records to my account
Upload medical records and other data to my account.
Send communications
Send me messages and notifications through AllClear.
Provide assistance
Connect with providers, share my records and order records on my behalf.
You can update these settings at any time.
3 · Your agent gets
records:read, records:add, messages:send and account:assist open the MCP tools on the user’s token today, and the REST endpoints on it when that ships.
One connection. Everything that follows.
One user, one agent, one token she granted once. Identity, context, and the APIs all run on that same connection. Here’s what that looked like over the following ten days.
She signs in. Your agent knows who she is.
Day 0 · 9:02
Signed in with AllClear → POST /token → GET /userinfo → a verified person
Your agent Hi Priya. You’re verified and your records are connected. What do you need?
She asks a question. Your agent answers from her record.
Day 0 · 9:03
What am I taking for my blood pressure?
tools/call get_medications → 1 record, 1 note excerpt
Your agent Amlodipine, 5 mg once a day. Your progress note from January 15 says: BP 148/92 at last visit; continue current regimen.
AllClear keeps collecting. Her record fills in.
Between sessions
Portals and logins · Fax-only offices · Phone trees · Mailed paper · Identity checks · Denials
Riverside Family Medicine Fax-only office. Records request sent, verified identity attached.
Riverside Family Medicine Phone follow-up. Records released, structured on intake.
Northgate Labs Portal connected. New results arrive as they post.
tools/call list_connections → 3 providers, up from 2
New labs land. Your agent notices before she asks.
Day 2 · 16:40
AllClear record.added → GET /events/{id} → tools/call get_lab_results → the new results
Your agent Your new labs from Riverside came in overnight. Everything is in range except the blood pressure reading, which is still high. Want me to flag it for your next visit?
Yes, please.
She asks for the original. Your agent pulls the PDF.
Day 3 · 11:15
Can you send me the actual lab report? My new doctor wants it.
GET /records/{id} → the original PDF
Your agent Here’s the original PDF from Riverside, exactly as they released it. Want me to forward it to Dr. Okafor’s office too?
Her appointment is tomorrow. Your agent follows up.
Day 9 · 18:00
tools/call get_medications → tools/call get_lab_results → POST /records → a summary in her account
Your agent Your appointment with Dr. Okafor is tomorrow at 10. I put a one-page summary of the new labs and your current medications in your AllClear account, ready to share.
Everything she needed came from the one connection she granted on day zero: nothing new to integrate, nothing new to ask her.
No custom code. Nothing to install.
Standard OAuth and MCP, so the client libraries you already use work as they are. Your app registers itself with one request. MCP clients such as Claude connect to AllClear this way today.
Built on OAuth 2.1 · MCP · No SDK required
// register once, no secret, RFC 7591
POST https://oauth.app.allclearid.com/register
{
"client_name": "Your Agent",
"redirect_uris": ["https://yourapp.example/callback"],
"token_endpoint_auth_method": "none",
"grant_types": ["authorization_code", "refresh_token"],
"response_types": ["code"]
}
HTTP/2 201
{
"client_id": "mcp_1Ie1Ws4pfIUqzS_1aUmBnw",
"client_name": "Your Agent",
"redirect_uris": ["https://yourapp.example/callback"],
"token_endpoint_auth_method": "none",
"client_id_issued_at": 1788854719
}
What your user sees.
It is OAuth. Your web page or native app sends the user to AllClear. There, they see plainly what you’re asking for — not a technical scope list, but a plain-language sentence like “This app wants to see your medications” — and they approve it with one tap. We redirect them back to your app, and your server exchanges the code for an access token behind the scenes. They can revoke that authorization any time from the AllClear app; when they do, your next call is refused.
Your web page or app sends the user to AllClear
AllClear they sign in and authorize
Your web page or app exchanges the code for tokens. Connected.
At AllClear, in order:

On a computer, the request is a code to scan. On a phone, it opens the app directly.

Your scopes, as sentences the user can switch. All four on one screen.

The user reads it back and taps Authorize. Done.
Real screens. The client shown is Claude, which connects this way today.
No account yet? Same flow.
A first-time user is guided to create their AllClear account and verify their identity, a government ID and a liveness check, right inside the same handoff, once. Every session after is one tap, and every request you get carries that verified person.
What you don’t build.
Capability
What you don’t have to build
With AllClear
Identity verification
A vendor, and the fallbacks when it fails
✓ Included
A consent screen people finish
The wording, and legal sign-off on it
✓ Included
Getting records out of institutions
A connector per source you add
✓ Included
Revocation that actually works
Propagation to everything downstream
✓ Included
An audit trail security will sign
The log, and the evidence for it
✓ Included
A guarantee behind every consent
The liability, on your balance sheet
✓ Included
You keep your agent and one connection.
Frequently Asked Questions.
Do I need an SDK?
No. Standard OAuth and MCP; the libraries you already use work as they are.
What happens when the user disconnects, or the connection goes idle?
Your tokens stop working at once and your next call is refused. You reconnect only if they say yes again. A connection you don’t refresh for 30 days expires the same way; each refresh gives it a fresh 30 days.
Can I build against test users?
Test accounts are coming to production. Until then, connect your own account. Registration is open and immediate either way: your agent registers itself.
Doesn’t my identity provider do this?
It lets your agent into your tools. It can’t get your user’s records, and it can’t take permission back everywhere at once. Keep it. We handle the user’s side.
Is this a wall between me and my user?
No. One screen, inside your flow. To your user it reads as handing their own agent a key.
Where does your control end?
At your edge. Past it, the developer terms take over: what you cache, you clear when the user disconnects. Training on this data needs a separate consent under the terms.
What about competitors? Who else is doing this?
Other companies do pieces of this — identity verification here, health records there, insurance eligibility somewhere else — usually working for the business. AllClear works for the user, exercising their legal right on their behalf under one consent model, live in production.
Do my users need the AllClear app?
Today, yes — it’s where they review and approve access. That requirement is going away: a browser-based flow is coming, and the app will become optional, not required.
What does it cost?
Nothing today. AllClear is free to build on and free to run in production. We will give you 60 days’ notice before any pricing applies.