One address. Every record on the the Atmosphere.
An MCP server and a URL for agents. Put an at:// URI, a handle or a link after atproto.md/ and get the record from its own PDS as raw JSON, exactly as stored.
The response appears here. Paste an address or pick an example.
For agents
The MCP server has seven tools: resolve, get, list_records, backlinks, discover, lexicon and labels. The skill sheet teaches the HTTP routes to any agent that can run curl.
MCP server
Install in Claude Code
claude mcp add --transport http atproto-md https://atproto.md/mcpSkill sheet
Saved as the /atproto command
curl -s https://atproto.md/skill.md > ~/.claude/commands/atproto.mdMCP server URL
For any other MCP client
https://atproto.md/mcpHTTP routes
Every route returns one JSON object as application/json and takes this option. /repo/car and /blob redirect to the file.
pretty- Indent the JSON. It is compact by default.
- Errors
{ "error", "status" }with the same HTTP status.
Records
Read from each account’s own PDS. Values are returned exactly as stored, with direct blob URLs.
GET/{link} A web link in place of the AT URI. Returns the account, collection or record the link shows.
Path parameters
| Name | Type | What it does |
|---|---|---|
link | URL | A link from a Bluesky-style client, an explorer such as pdsls. |
The same response as the matching /at:// route.A link that names no record or account returns a 400 that lists what is supported.
curl "https://atproto.md/https://bsky.app/profile/bsky.app/post/3n2mkgfb4tk2d"GET/at://{actor} The account’s identity and repo in one response.
Path parameters
| Name | Type | What it does |
|---|---|---|
actor | handle or DID | The account, as a handle such as bsky. |
{ did, handle, pds, entryway, active, status, pdsSince, collections, didDoc }active and status come from the PDS: status says deactivated, takendown or suspended when active is false. pdsSince is when the account moved to its PDS. collections is null when the PDS does not answer describeRepo.
curl "https://atproto.md/at://bsky.app"GET/at://{actor}/{collection} Records in one collection, newest first.limitcursorreverseexpandlabelsauthorlabelers
Path parameters
| Name | Type | What it does |
|---|---|---|
actor | handle or DID | The account, as a handle such as bsky. |
collection | NSID | The collection, such as app. |
Query parameters
| Name | Type | Default | What it does |
|---|---|---|---|
limit | 1 to 100 | 25 | Records per page. |
cursor | string | The cursor from the previous page. | |
reverse | flag | Oldest first. | |
expand | flag | Also fetch the records these reference (reply parent and root, quoted post, like or repost subject), one level deep, up to 25, under expanded. | |
labels | flag | Attach each record’s labels, under labels. | |
author | flag | Also attach the labels on each record’s account, under authorLabels. | |
labelers | all, handles or DIDs | Which labelers to ask: all for every known one, or handles and DIDs separated by commas. Bluesky’s moderation labeler when left out. |
{ did, handle, pds, entryway, collection, cursor, records: [{ uri, cid, value, blobs }] }cursor is null on the last page.
curl "https://atproto.md/at://bsky.app/app.bsky.feed.post?limit=5"GET/at://{actor}/{collection}/{rkey} One record.expandlabelsauthorlabelers
Path parameters
| Name | Type | What it does |
|---|---|---|
actor | handle or DID | The account, as a handle such as bsky. |
collection | NSID | The record’s collection. |
rkey | string | The record key, such as self or 3l6oveex3ii2l. |
Query parameters
| Name | Type | What it does |
|---|---|---|
expand | flag | Also fetch the records these reference (reply parent and root, quoted post, like or repost subject), one level deep, up to 25, under expanded. |
labels | flag | Attach each record’s labels, under labels. |
author | flag | Also attach the labels on each record’s account, under authorLabels. |
labelers | all, handles or DIDs | Which labelers to ask: all for every known one, or handles and DIDs separated by commas. Bluesky’s moderation labeler when left out. |
{ uri, cid, value, blobs, expanded }blobs lists a getBlob URL for each image or video in value. expanded is present only with expand.
curl "https://atproto.md/at://bsky.app/app.bsky.actor.profile/self"GET/blob/{actor}/{cid} Redirects to the blob on its PDS, or with transform options, to a resized copy from the co/infra image CDN.
Path parameters
| Name | Type | What it does |
|---|---|---|
actor | handle or DID | The account, as a handle such as bsky. |
cid | CID | The blob, as listed in a record’s blobs. |
params | optional | Transform options for the co/infra image CDN, such as p=avatar or w=400,f=webp. With them, the response redirects to the CDN. |
A redirect to the PDS, or to img.infra.coopThe CDN’s options and presets are listed at github.com/co-infra/co-infra-img.
curl "https://atproto.md/blob/bsky.app/bafkreihwihm6kpd6zuwhhlro75p5qks5qtrcu55jp3gddbfjsieiv7wuka"GET/repo/car/{actor} Redirects to the whole repo as a CAR file, streamed by the account’s PDS.
Path parameters
| Name | Type | What it does |
|---|---|---|
actor | handle or DID | The account, as a handle such as bsky. |
A redirect to the PDS’s getRepoThe PDS’s own rate limits apply. Large repos take a while.
curl "https://atproto.md/repo/car/pds.rip"GET/get Up to 25 records in one call, fetched in parallel.uriexpandlabelsauthorlabelers
Query parameters
| Name | Type | What it does |
|---|---|---|
uri | repeatable | An at:// record URI or a link to the record: a Bluesky-style client, an explorer such as pdsls. |
expand | flag | Also fetch the records these reference (reply parent and root, quoted post, like or repost subject), one level deep, up to 25, under expanded. |
labels | flag | Attach each record’s labels, under labels. |
author | flag | Also attach the labels on each record’s account, under authorLabels. |
labelers | all, handles or DIDs | Which labelers to ask: all for every known one, or handles and DIDs separated by commas. Bluesky’s moderation labeler when left out. |
{ records, errors, expanded }Each account is looked up once per call. An address that fails goes into errors as { address, error }, and the rest still come back.
curl "https://atproto.md/get?uri=https://bsky.app/profile/bsky.app/post/3n2mkgfb4tk2d&expand"Identity
Handles and DIDs both work. The PLC routes need a did:plc.
GET/resolve/{actor} The same response as /at://{actor}.
Path parameters
| Name | Type | What it does |
|---|---|---|
actor | handle or DID | The account, as a handle such as bsky. |
{ did, handle, pds, entryway, active, status, pdsSince, collections, didDoc }curl "https://atproto.md/resolve/bsky.app"GET/did/doc/{actor} The DID document, as plc.directory or the did:web domain serves it.
Path parameters
| Name | Type | What it does |
|---|---|---|
actor | handle or DID | The account, as a handle such as bsky. |
{ id, alsoKnownAs, verificationMethod, service }curl "https://atproto.md/did/doc/bsky.app"GET/did/trace/{actor} Every step of resolving the account, with what each one returned.
Path parameters
| Name | Type | What it does |
|---|---|---|
actor | handle or DID | The account, as a handle such as bsky. |
{ did, handle, handleVerified, pds, entryway, ok, steps: [{ step, request, ok, ms, status, result, error }] }Runs the DNS and HTTPS handle lookups, the DID document fetch and a PDS check itself. A handle needs only one of the two lookups to work.
curl "https://atproto.md/did/trace/bsky.app"GET/plc/data/{actor} The current PLC state, as plc.directory serves it.
Path parameters
| Name | Type | What it does |
|---|---|---|
actor | handle or DID | The account, as a handle such as bsky. |
{ did, verificationMethods, rotationKeys, alsoKnownAs, services }rotationKeys are in priority order. did:web accounts get a 400.
curl "https://atproto.md/plc/data/bsky.app"GET/plc/audit/{actor} Every PLC operation, dated.
Path parameters
| Name | Type | What it does |
|---|---|---|
actor | handle or DID | The account, as a handle such as bsky. |
{ did, operations: [{ operation, cid, nullified, createdAt }] }Compare consecutive operations to date PDS migrations, handle changes and key rotations.
curl "https://atproto.md/plc/audit/bsky.app"GET/plc/last/{actor} The latest PLC operation.
Path parameters
| Name | Type | What it does |
|---|---|---|
actor | handle or DID | The account, as a handle such as bsky. |
{ did, operation }curl "https://atproto.md/plc/last/bsky.app"Labels
Asked of each labeler directly. Bluesky’s moderation labeler unless labelers names others.
GET/labels/{target} The labels on a record or an account.labelersauthor
Path parameters
| Name | Type | What it does |
|---|---|---|
target | at:// URI, handle, DID or link | A record, or an account by handle, DID or profile link. |
Query parameters
| Name | Type | What it does |
|---|---|---|
labelers | all, handles or DIDs | Which labelers to ask: all for every known one, or handles and DIDs separated by commas. Bluesky’s moderation labeler when left out. |
author | flag | For a record, also return the labels on its account. |
{ target, labels: [{ val, uri, cts, exp, labeler }], authorLabels, labelers: [{ did, handle, ok, error }] }Negated and expired labels are left out. A labeler that fails is listed in labelers, and the rest still answer.
curl "https://atproto.md/labels/bsky.app?labelers=all"GET/labelers The known labelers that labelers=all asks.
{ default, labelers: [{ did, handle, name }] }curl "https://atproto.md/labelers"Network
Answers no single PDS can give, from the Bluesky relay, DNS and Constellation.
GET/discover/{collection} Every repo with at least one record in a collection.limitcursor
Path parameters
| Name | Type | What it does |
|---|---|---|
collection | NSID | The collection, such as site. |
Query parameters
| Name | Type | Default | What it does |
|---|---|---|---|
limit | 1 to 2000 | 100 | Repos per page. |
cursor | string | The cursor from the previous page. |
{ collection, cursor, repos: [did] }curl "https://atproto.md/discover/site.standard.document?limit=20"GET/lexicon/{nsid} The published Lexicon schema, found through the NSID’s _lexicon DNS record.
Path parameters
| Name | Type | What it does |
|---|---|---|
nsid | NSID | The lexicon, such as app. |
{ nsid, authority, did, uri, cid, schema }curl "https://atproto.md/lexicon/app.bsky.feed.post"GET/backlinks/{target} Records anywhere on the network that link to a record, account or URL.sourcehydratelimitcursor
Path parameters
| Name | Type | What it does |
|---|---|---|
target | at:// URI, DID or URL | What the records link to. |
Query parameters
| Name | Type | Default | What it does |
|---|---|---|---|
source | collection:path | One source from the summary, such as app. | |
hydrate | flag | With source, return the linking records instead of their URIs. | |
limit | 1 to 100 | 50 | Records per page with source. At most 25 with hydrate. |
cursor | string | The cursor from the previous page. |
Without source: { target, total, sources: [{ source, records, dids }] }. With source: { target, source, total, cursor, records }curl "https://atproto.md/backlinks/at://did:plc:z72i7hdynmk6r22z27h6tvur/app.bsky.feed.post/3n2opitxdyc2j?source=app.bsky.feed.post:reply.parent.uri&hydrate&limit=5"XRPC
Set your SDK’s service URL to atproto.md and read any account without resolving it first. Each call goes to the server that answers it, for Bluesky and any other app. Public calls only.
Service URL
For any SDK or XRPC client
https://atproto.mdXRPC
Standard XRPC calls, each sent to the server that answers it, for Bluesky and any other app. Calls with an Authorization header are refused.
GET/xrpc/com.atproto.repo.* Sent to the account’s PDS. repo takes a handle or a DID.repoparams
Query parameters
| Name | Type | What it does |
|---|---|---|
repo | handle or DID | The account. A handle is resolved, and the PDS gets the DID. |
params | per method | The method’s own parameters, exactly as its lexicon defines them. |
The PDS’s response, unchangedgetRecord, listRecords and describeRepo. The X-Upstream-Host header names the PDS that answered.
curl "https://atproto.md/xrpc/com.atproto.repo.getRecord?repo=bsky.app&collection=app.bsky.actor.profile&rkey=self"GET/xrpc/com.atproto.sync.* With did, sent to the account’s PDS. Without, to the relay.didparams
Query parameters
| Name | Type | What it does |
|---|---|---|
did | handle or DID | The account. A handle is resolved, and the PDS gets the DID. |
params | per method | The method’s own parameters, exactly as its lexicon defines them. |
The response unchanged, or for getBlob and getRepo a redirect to the PDSBlobs and whole repos redirect to the PDS, which streams them.
curl "https://atproto.md/xrpc/com.atproto.sync.getLatestCommit?did=bsky.app"GET/xrpc/com.atproto.identity.* Answered by atproto.md: resolveHandle, resolveDid and resolveIdentity.params
Query parameters
| Name | Type | What it does |
|---|---|---|
params | per method | The method’s own parameters, exactly as its lexicon defines them. |
{ did }, { didDoc } or { did, handle, didDoc }resolveIdentity returns handle.invalid when the handle does not point back at the DID.
curl "https://atproto.md/xrpc/com.atproto.identity.resolveHandle?handle=bsky.app"GET/xrpc/app.bsky.* Sent to Bluesky’s public app view.params
Query parameters
| Name | Type | What it does |
|---|---|---|
params | per method | The method’s own parameters, exactly as its lexicon defines them. |
The app view’s response, unchangedcurl "https://atproto.md/xrpc/app.bsky.actor.getProfile?actor=bsky.app"GET/xrpc/{nsid} Any other app’s methods, sent to that app’s app view.params
Query parameters
| Name | Type | What it does |
|---|---|---|
params | per method | The method’s own parameters, exactly as its lexicon defines them. |
The app view’s response, unchangedThe app view is found on the app’s own domain: social.grain.* goes to did:web:grain.social. An atproto-proxy header, such as did:web:grain.social#grain_appview, names the service for any method. Procedures that need no sign-in are forwarded with POST. com.atproto procedures are refused.
curl "https://atproto.md/xrpc/social.grain.actor.getProfile?actor=grain.social"- blacksky.app
- eurosky.social
- certified.one
- selfhosted.social
- bsky.network
- tngl.sh
- npmx.social
- pds.rip