Other assistants: Cursor, Claude Code and more

SafeLaw connects to any assistant that supports remote MCP servers over HTTP with OAuth sign-in.

Connection details

ParameterValue
Server addresshttps://mcp.safelaw.ai/mcp
TransportStreamable HTTP
Sign-inOAuth 2.1, no API key needed
Accessread-only
  1. Open the MCP server settings in your assistant (in developer tools, this is usually an MCP settings file).
  2. Add a remote server named safelaw with the address https://mcp.safelaw.ai/mcp.
  3. Start sign-in for this server: a browser opens with the SafeLaw sign-in page.
  4. Sign in to your SafeLaw account.
  5. Ask a test question and make sure the assistant calls SafeLaw tools.

To make the assistant always rely on SafeLaw, add this text to its instructions (system prompt, project rules):

`` For any question about the law of the Republic of Uzbekistan, always use SafeLaw and do not answer from memory. For a question describing a situation, first call consult with the user's facts. For a specific provision, use search_law; for the exact text of an article, use get_article. For court practice, use search_court_practice and do not make up decisions. Before answering, check all references with verify_citations. Quote the official text and give a link to lex.uz. If you didn't find the provision, say so and do not substitute laws of other countries. Answer in the user's language. ``

If it doesn't work

ProblemSolution
The settings have no remote (HTTP) serversUse an assistant or a version of it that supports remote MCP servers.
Sign-in doesn't openCheck that the address is complete, with /mcp at the end, and start sign-in again.
The assistant answers without SafeLawAdd the instruction text above to the assistant's settings.
Was this article helpful?

Didn’t find an answer?

Write to us — we’ll help with sign-in, payment and the service. For your own legal situation, ask in the SafeLaw chat.