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
Metadata
Release files for lawruler-mcp 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| lawruler_mcp-0.1.2.tar.gz | 107.1 kB | Without provenance | Details for lawruler_mcp-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| lawruler_mcp-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for lawruler_mcp-0.1.2-py3-none-any.whl |
Total release size: 124.0 kB
Release files / lawruler_mcp-0.1.2.tar.gz
| Download URL | lawruler_mcp-0.1.2.tar.gz |
|---|---|
| Size | 107.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
00e172e5c4e3814ba9d8ba43cb2a87f0889671cb3b1e48c4b10635cb5ba2af3e
|
|
BLAKE2b-256 checksum How to use checksums |
13b87e9a31aee28e7ecf7c7998463d68a6e676bb1c1bb052695e438c0410d169
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.6
|
Release files / lawruler_mcp-0.1.2-py3-none-any.whl
| Download URL | lawruler_mcp-0.1.2-py3-none-any.whl |
|---|---|
| Size | 16.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d69a17d46264139d883f53e20a3fab8ab2b9e8b25b0017ea5300b58447a5272a
|
|
BLAKE2b-256 checksum How to use checksums |
f71bee92f85a8002a4f3ee4810c3544cc123e525b06d50e79c71303ad8b05e57
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.6
|
Security for lawruler-mcp 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.