lawruler-mcp
MCP server for LawRuler Legal CRM. Provides 15 tools for lead/intake creation, retrieval, and management.
Setup
pip install lawruler-mcp
lawruler-mcp-setup # prompts for portal URL + API key
lawruler-mcp-verify # test connection
Claude Desktop Config
{
"mcpServers": {
"lawruler": {
"command": "lawruler-mcp"
}
}
}
Credentials
The setup wizard prompts for your portal URL (LAWRULER_BASE_URL) and API key
(LAWRULER_API_KEY). Find your API key in LawRuler:
Setup → 3rd Party Integrations.
By default both values are stored in your operating system's native secret store
via the cross-platform keyring library:
| OS | Backend |
|---|---|
| macOS | Keychain |
| Windows | Credential Manager |
| Linux | Secret Service (GNOME Keyring / KWallet) |
Secrets are saved under the service name lawruler-mcp. Nothing is written to
disk in clear text.
File fallback. On a host with no keyring backend (e.g. a headless Linux box
without Secret Service), or if you set LAWRULER_MCP_USE_KEYRING=0, the values
fall back to a ~/.lawruler-mcp/.env file with 0600 permissions:
LAWRULER_BASE_URL=https://yourfirm.lawruler.com
LAWRULER_API_KEY=your_api_key
Read order. Values resolve in the order OS keyring → process environment →
.env file. So a rotated key in the keyring always wins, and a value exported in
your shell overrides the file fallback without touching the keyring.
Pluggable backend. keyring lets you point at any secret store. For example,
install keyrings.cryptfile for
an encrypted file backend, or a cloud backend, then select it with the standard
PYTHON_KEYRING_BACKEND environment variable or a keyringrc.cfg. See the
keyring configuration docs.
Tools (15)
Create Leads
create_lead— core fields (name, phone, email, case type)create_lead_full— all fields including address, DOB, contact preferencescreate_lead_obo— on-behalf-of (skips duplicate check)
Retrieve
get_lead— retrieve lead by LeadID
Update Status & Assignment
update_lead_status,update_lead_assignee,update_lead_owner,update_lead_case_type
Update Content
update_lead_summary,add_conversation_note,add_tags_to_lead,update_lead_language
Update Contact Info
update_lead_contact_info— phone, email, address
Custom Fields
set_custom_field— single custom field by API nameupdate_lead_fields— bulk update multiple fields + custom fields via JSON
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file lawruler_mcp-0.1.2.tar.gz.
File metadata
- Download URL: lawruler_mcp-0.1.2.tar.gz
- Upload date:
- Size: 107.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.14.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
00e172e5c4e3814ba9d8ba43cb2a87f0889671cb3b1e48c4b10635cb5ba2af3e
|
|
| MD5 |
fba802dc644809abc6235b9831a5ffae
|
|
| BLAKE2b-256 |
13b87e9a31aee28e7ecf7c7998463d68a6e676bb1c1bb052695e438c0410d169
|
File details
Details for the file lawruler_mcp-0.1.2-py3-none-any.whl.
File metadata
- Download URL: lawruler_mcp-0.1.2-py3-none-any.whl
- Upload date:
- Size: 16.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.14.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d69a17d46264139d883f53e20a3fab8ab2b9e8b25b0017ea5300b58447a5272a
|
|
| MD5 |
6bb815bf3799dcc47188cba541e8737d
|
|
| BLAKE2b-256 |
f71bee92f85a8002a4f3ee4810c3544cc123e525b06d50e79c71303ad8b05e57
|