Connect your AI to SourceText

With remote MCP access, your own AI assistant can search and read the texts SourceText holds — Danish and EU law, and scripture — and cite them by their exact address. Your assistant does the thinking; SourceText supplies the text. It works with any assistant that speaks MCP: Claude, ChatGPT, Cursor and others.

Before you start

  1. Sign in to your account.
  2. Top up your wallet, and start Remote MCP access on your account's Remote MCP page. It includes a number of connections — one for each installation of an assistant that signs in.

The address your assistant connects to is:

https://sourcetext.ai/mcp

Claude Code

  1. In a terminal, run:
    claude mcp add --transport http sourcetext https://sourcetext.ai/mcp
  2. Start Claude Code, type /mcp, choose sourcetext and sign in.
  3. A browser page opens on sourcetext.ai. Sign in there if asked, name the connection (for example “Claude on Mette's PC”) and choose Approve.

A project can declare it for everyone who opens it, in .mcp.json:

{
  "mcpServers": {
    "sourcetext": { "type": "http", "url": "https://sourcetext.ai/mcp" }
  }
}

Claude desktop and claude.ai

  1. Open Settings → Connectors and choose to add a custom connector.
  2. Name it SourceText and give it the address above.
  3. Choose Connect, sign in to SourceText if asked, and approve.

ChatGPT

Add SourceText as a connector under Settings → Connectors with the address above, and sign in as with Claude. Deep research can use it too: it searches every collection at once and reads what it finds, each result naming the collection it came from. In an ordinary chat, ChatGPT may need developer mode (Settings → Connectors → Advanced) to use the rest of SourceText's tools, such as reading a provision by its citation.

Cursor and other MCP clients

Any client that supports remote MCP servers with sign-in (OAuth) can connect: give it the address above as a streamable HTTP server. In Cursor, add it to .cursor/mcp.json the same way as the .mcp.json above, then sign in when Cursor asks.

Using it for legal questions

Ask your assistant to look things up in SourceText — for example, “What does bogføringsloven § 10 say? Look it up in SourceText.” A well-behaved assistant works like this, and you can ask it to:

  1. Which collection. dklaw is Danish law and eulaw EU law.
  2. What is held. The tool list_instruments names every act, bekendtgørelse and vejledning SourceText holds, with the number it is cited by — LBK nr 209 af 27/02/2024, or a CELEX number — and its rung of authority. Ask “which vejledninger does SourceText hold?” to see the guidance.
  3. How it is laid out. table_of_contents lists an act provision by provision with its opening words.
  4. The text itself. get_passage reads a provision cited the way you would write it — “momslovens § 37, stk. 1”, “GDPR artikel 6, stk. 1, litra f”, “Vejledning om Bogføringsloven afsnit 5.1” — and cross_references follows the provisions it points to.
  5. Later changes. A consolidated Danish act does not include what was amended after it. SourceText holds those amending acts separately, and amendments lists the ones listed against an act — and, for a §, the changes that name it — so the assistant can read them before treating a provision as the law in force.

Every answer should cite what it read — act, § and stykke — so you can check it. What SourceText does not hold, it has not read: a legal collection is a dated snapshot of consolidated text, without case law or preparatory works, and it does not link an EU directive to the Danish act that implements it. SourceText reports what the texts say; it does not give legal advice.

Connections and places

If it does not work

What is recorded about each lookup, and what is not, is on the privacy page and in the data processing agreement.