Tools & Features

Lexicon Garden indexes AT Protocol lexicon schemas from the network and offers a few tools for working with them.

Search and browse

The search field on the home page and at the top of every page suggests indexed NSIDs as you type. Search lists exact and partial NSID matches and lexicons that match by meaning; a complete NSID that isn't indexed yet is resolved from the network on the spot. Browse walks the namespace one segment at a time.

Lexicon pages

Each lexicon has three views. Documentation lays out every definition with its properties and constraints, the publisher's own documentation, similar lexicons and what references it. Schema shows the JSON with a download. Analytics shows how many records were written each day for the last week and how often each declared field appears. Compare shows what changed between two revisions, or between two publishers' copies, and whether the change is backward compatible.

Validate

The validator checks a set of schemas, resolves their references against the pasted set and the index, and checks records against the first schema.

OAuth scope builder

The scope builder explains an OAuth scope string token by token and builds one from parts, including permission sets.

XRPC API

Lexicon Garden exposes public XRPC endpoints for programmatic access:

  • com.atproto.identity.resolveIdentity — resolve a DID or handle to an identity document
  • com.atproto.lexicon.resolveLexicon — fetch a lexicon schema by NSID, with conditional request support (ETags)
  • com.atproto.lexicon.validate — validate one record against one schema
  • garden.lexicon.validateSet — validate several schemas and check records against the first
  • garden.lexicon.resolveTrace — resolve an NSID from the network and report each step
  • garden.lexicon.search, garden.lexicon.suggest and garden.lexicon.browse — find indexed lexicons

Documentation records

Publishers can add localized documentation for a lexicon with a garden.lexicon.documentation record; the Documentation view shows it in the language chosen. See Documenting Lexicons.

MCP integration

Lexicon Garden provides a Model Context Protocol endpoint for AI assistants. See the MCP Integration help page.