Skip to content

Connect your AI · Works with Claude, ChatGPT and more

Your AI assistant, reading the actual law

Connect srilaws to the assistant you already use. It searches Sri Lanka’s laws and guides, and each result links to the official text.

Server addresshttps://srilaws.com/mcp
  • Free for public law
  • Sign in with a free account
  • Reads the law, never edits it
Your AI assistantsrilaws connected

I asked a government office for some records under the right to information law two weeks ago and haven't heard back. How long do they have to reply, and what can I do now?

Read from the law
  • search_law
  • search_law
  • get_section · Right to Information Act 2016, s 25 (Sri Lanka)

Under section 25 of the Right to Information Act 2016, the information officer must decide within fourteen working days of receiving your request. Two weeks may be just short of that, depending on how many were working days. If the deadline has passed, section 31 lets you appeal to the designated officer within fourteen days of the failure to comply with the time limits. That officer must decide within three weeks. If they don't, or you dislike their decision, section 32 allows an appeal to the Commission within two months. (This is the official English translation; the Sinhala text prevails.)

Example answer, recorded 13 Oct 2026. Recorded in Claude Code 2.1.296, connected to srilaws's MCP server. An example of an AI assistant's answer, not legal advice.

01 — Set it up

Three steps, about a minute

  1. Step 1Open Customize, then ConnectorsIn Claude, open Customize and choose Connectors. Click Add, then Add custom connector.
  2. Step 2Paste the addressGive it a name, paste https://srilaws.com/mcp and click Continue. Claude detects that srilaws asks you to sign in: keep those settings and click Add.
  3. Step 3Sign in, then ask as usualClick Connect. Claude opens srilaws: sign in and choose Allow. When you ask, use the plus button, then Connectors, and switch srilaws on.

Custom connectors are in Claude under Customize, then Connectors. On Team and Enterprise plans, an owner adds the connector first (Organization settings, Connectors) and members then choose Connect. Steps from Anthropic's documentation, read 12 Oct 2026. We have not run this app ourselves yet, so the screens may differ a little.

From the vendor's own documentation: Claude Help Center: Get started with custom connectors using remote MCP (read 12 Oct 2026)

Connectors depend on your AI app and plan. Signing in needs a free srilaws account, and you can disconnect an app at any time in Settings, under Connected AI.

Install research skills with the connector

The srilaws plugin includes workflows for researching legislation, checking citations and inspecting recorded changes. Version 0.1.2.

The downloaded plugin connects to srilaws.com. Sign in there with your free account when your assistant prompts you.

ChatGPT plugin package · ZIP

A portable package for supported plugin tooling and OpenAI submission. A public directory listing is not available yet. To connect in ChatGPT now, follow the connector guide above.

SHA-256 checksum
Claude and Claude Code plugin · ZIP

Upload through Claude's custom plugin option where available. For Claude Code, download the ZIP and run these commands in its folder.

SHA-256 checksum
unzip srilaws-claude-0.1.2.zip -d srilaws
claude --plugin-dir ./srilaws

In Claude Code, open /mcp and connect srilaws-plugin to finish sign-in.

02 — What your AI can do

The same library, in your assistant

Ask in plain words. Your assistant picks the tool.

  • Search the law

    search_law

    Laws and guides, by words or by situation.

  • Read a section

    get_section

    The text of a section, with where it comes from.

  • See what changed

    list_changes

    Amendments, repeals and what comes into force next.

  • Explain a legal word

    define_term

    What a term means, and where the law defines it.

  • Open a guide

    get_guide

    Plain-English guides for life events, with their sources.

  • Send a report

    send_feedback

    A correction or a suggestion, when you ask it to send one. For a removal request it gives you the form.

03 — Privacy

What it can see, and what it can’t

Manage in Settings › Connected AI

It can see

  • Sri Lanka lawEvery law and guide on srilaws. Always.

It can’t

  • Change or delete anythingIt reads the law. The only thing it sends is a report you ask it to file.
  • Your notebooksOr your notes and past questions.
  • Everything else you ask your AIWe only see what it asks srilaws. The rest stays between you and your AI.

04 — For developers

A standard MCP server

Works with any client that supports the Model Context Protocol, including Claude Desktop, Claude Code, ChatGPT, Cursor and VS Code.

Address
https://srilaws.com/mcp
Transport
Streamable HTTP
Sign-in
With your srilaws account
Access
Read-only, plus send_feedback for reports
mcp.json
{  "mcpServers": {    "srilaws-lk": {      "url": "https://srilaws.com/mcp"    }  }}

05 — Questions

Good to know

Does it cost anything?

Using Sri Lanka law in your AI is free. You sign in with a free srilaws account, and it reads public law only, never your notebooks.

Can my AI give me legal advice?

It can explain the law and show where it comes from. For advice on your own case, speak to a lawyer.

Which AI apps work?

Any app that supports connectors, also called MCP, and can sign you in to srilaws. Claude, ChatGPT, Cursor and VS Code all do. Steps differ by app and plan.

How do I switch it off?

Remove it in your AI app, or disconnect it on srilaws in Settings, under Connected AI. It stops straight away.