Guides · database · Everyday developer services

Turso database and auth token

Sign up with the Turso CLI, create a database, and create a database auth token; the app reads TURSO_DATABASE_URL and TURSO_AUTH_TOKEN.

Researched · not yet run liveLast researched 25 October 2026 · Turso · provider site

Researched, not yet run live. Built from the provider’s official pages (linked below). A person hasn’t walked this flow end to end yet, so check each step against the source.

Steps

Steps marked “human step” are ones only you can do: verapli never signs in, submits, pays or accepts terms for you.

  1. Sign up with the Turso CLI

    Install the Turso CLI and run turso auth signup (or turso auth login); the person completes sign-up in the browser.

    • Guided by hand
    • Human step: You press submit
  2. Create the database

    Run turso db create <name> (add --tursodb for a Turso database, omit for libSQL).

    • Guided by hand
    • After: Sign up with the Turso CLI
  3. Get the database URL

    Run turso db show <name> --url and store the result as TURSO_DATABASE_URL.

    • Guided by hand
    • After: Create the database
  4. Create a database auth token

    Run turso db tokens create <name> with --expiration (e.g. 30d) rather than never, and --read-only if the app only reads. Store it as TURSO_AUTH_TOKEN.

    • Guided by hand
    • After: Create the database

What you end up with

Env varSecretFormatWhat it is
TURSO_DATABASE_URLnot secretDatabase URL used by the Turso/libSQL client.
TURSO_AUTH_TOKENsecretDatabase auth token.

Renewals

  • Database auth token, if created with an expiration: every the chosen --expiration period [3]

Pricing

  • Free tier: 100 databases, 5 GB storage, 500 million rows read and 10 million rows written per month, 3 GB syncs; no credit card required.
  • Costs: Developer plan from $4.99/month.

Source [5]

For agents

The same entry as JSON: /api/v1/entries/turso/database · requirements /api/v1/requirements/turso/database · terms /api/v1/terms/turso/database.

Remote MCP (read-only, no auth)
claude mcp add --transport http verapli https://verapli.com/mcp

> "What do I need for Turso database and auth token, and how long will it take?"
  → tools/call requirements { "provider_id": "turso/database" }

Sources

  1. Turso quickstart Install CLI (brew or get.tur.so script); turso auth signup / turso auth login open the browser; turso db create <name> --tursodb (omit flag for libSQL); turso db show; turso db shell. · accessed 25 October 2026 · official
  2. Turso TypeScript quickstart Store credentials as environment variables TURSO_DATABASE_URL and TURSO_AUTH_TOKEN. · accessed 25 October 2026 · official
  3. turso db tokens create turso db tokens create <database-name>; --expiration never or days (e.g. 7d); --read-only. · accessed 25 October 2026 · official
  4. turso db show --url shows the URL for the database HTTP API. · accessed 25 October 2026 · official
  5. Turso pricing Free plan 100 databases, 5 GB storage, 500 million rows read and 10 million rows written per month, 3 GB monthly syncs; no credit card required; Developer plan from $4.99/month. · accessed 25 October 2026 · official
  6. Stripe Projects provider catalogue Turso is listed in the Stripe Projects catalogue as turso/database (Database). · accessed 25 October 2026 · official

Provider rules change. This page is generated from verapli registry version 2026.1025.387; spotted something out of date? Tell us. Turso is not affiliated with verapli.