Version 1.1 · public · read-only

Developers

Dhamma data exposes bounded retrieval over its public Pāli/Theravāda corpus, dictionary, concordance, parallel references, passage comparison, evidence analysis, and library. MCP and REST share the same validation, provenance, rights, and privacy boundary.

No account or key is required. Public operations retrieve evidence and do not write to the corpus, personal collections, or unpublished administrative research.

Open interactive developer documentation →

MCP

Endpoint: https://dhamma.fly.dev/mcp

Transport: stateless Streamable HTTP. Authentication: none. Tool discovery returns the current schemas and remains the authority for accepted fields and bounds.

{
  "mcpServers": {
    "dhamma_data": {
      "type": "http",
      "url": "https://dhamma.fly.dev/mcp"
    }
  }
}

Public tool surface

REST API

Base URL: https://dhamma.fly.dev/api/v1

Discovery: https://dhamma.fly.dev/api/v1 · OpenAPI 3.1: https://dhamma.fly.dev/api/v1/openapi.json

GET endpoints cover corpus search, passages and context, dictionary lookup, concordance, browsing, library retrieval, sources, and coverage. Bounded JSON POST endpoints accept structured witness comparison, concept tracing, and evidence analysis inputs.

curl https://dhamma.fly.dev/api/v1
curl https://dhamma.fly.dev/api/v1/openapi.json
curl "https://dhamma.fly.dev/api/v1/search?q=sati&mode=stem&limit=5"

Results and source rules

Errors, privacy, and bounds

Invalid inputs use machine-readable client errors; unknown records return not found; rate limits use HTTP 429 and Retry-After. Temporary bounded retrieval failures must not be interpreted as completed searches or evidence of absence.

Public request and response content is not retained as a user history. Private translations, bookmarks, notes, research dossiers, personal collections, and unpublished research are outside the public gateway.

Respect declared maxima, pagination, backoff, attribution, and source-specific rights. Bulk corpus reconstruction, limit evasion, and stripping provenance are not permitted.