Cursor, Claude Code and other MCP clients

twyn is a remote MCP server (Streamable HTTP, OAuth 2.1 with dynamic client registration and PKCE). Any client that supports remote servers can use it with one URL.

Before you start

  • A twyn account with at least one source. New accounts include 14 days of Coach with no card; after that, the Connect or Coach plan.
  • An MCP client that supports remote servers.
  • For clients without OAuth: a personal token from twyn → Settings → AI assistant.

Set it up

  1. Cursor: open Settings → MCP → Add new MCP server, or add this to mcp.json:

    {
      "mcpServers": {
        "twyn": {
          "url": "https://twyn.life/api/mcp"
        }
      }
    }
  2. Claude Code: run claude mcp add --transport http twyn https://twyn.life/api/mcp, then type /mcp and sign in.

    claude mcp add --transport http twyn https://twyn.life/api/mcp
  3. Other clients: add a remote MCP server with the URL https://twyn.life/api/mcp. The client discovers the OAuth endpoints from the server.

    https://twyn.life/api/mcp
  4. Sign in to twyn in the window that opens and choose Allow.

Try asking

  • Export my lab results for the last three years as a CSV table.

  • Plot my HRV against training strain for the last 90 days.

  • List my DNA variants in the vitamin D category with the evidence level for each.

Good to know

Every new twyn account starts with 14 days of Coach — AI assistant access included — with no card. After that, reading your data from an AI assistant is part of the Connect plan ($7/month or $60/year) and the Coach plan ($12/month or $108/year).

Your assistant can only read your data unless you switch write access on in twyn → Settings → AI assistant. You can revoke access at any time.

twyn shows your data and model estimates. It is not a medical device and does not give diagnoses or medical advice.

Questions

Is there a rate limit?

Yes, per account, generous for personal use. Tools return compact results so they fit an agent's context.

Can an agent write data?

Only if you switch write access on in twyn. Then tools like record_note and record_lab_result appear.

Is twyn in the MCP Registry?

Yes, as life.twyn/twyn in the official MCP Registry.

Start freeSee all guides

Choose your data

Use your health data in Cursor, Claude Code and other MCP clients — twyn