Skip to main content

lacrm-mcp

An MCP (Model Context Protocol) server that lets AI assistants such as Claude work with a Less Annoying CRM account: search contacts, read notes and tasks, look at pipelines, and (optionally) add notes, tasks and contacts or move pipeline items.

Independent, unofficial project. lacrm-mcp is built by Northkeel Labs against LACRM's public API v2 documentation. It is not affiliated with, endorsed by, or supported by Less Annoying CRM. "Less Annoying CRM" and "LACRM" are names of their respective owner and are used only to describe compatibility.

60-second quickstart

  1. In LACRM go to Settings > Programmer API and create an API key. Give it only the permissions you need (read-only is enough for the six read tools).
  2. Install uv. uvx fetches lacrm-mcp from PyPI on first run (or use pip install lacrm-mcp).

Claude Desktop (claude_desktop_config.json):

{
  "mcpServers": {
    "lacrm": {
      "command": "uvx",
      "args": ["lacrm-mcp", "--read-only"],
      "env": { "LACRM_API_KEY": "your-api-key" }
    }
  }
}

Claude Code:

claude mcp add lacrm --env LACRM_API_KEY=your-api-key -- uvx lacrm-mcp --read-only

Drop --read-only when you want the write tools. Then ask, for example: "Find contacts at Acme and show their latest notes" or "What tasks are due this week?"

Tools

Tool LACRM function Writes?
search_contacts GetContacts no
get_contact GetContact no
list_contact_notes GetNotesAttachedToContact no
list_tasks GetTasks no
list_pipelines GetPipelines no
list_pipeline_items GetPipelineItems no
create_contact CreateContact (+ GetUser for the default owner) yes
add_note CreateNote yes
create_task CreateTask yes
update_pipeline_item_status EditPipelineItem yes

There are no delete tools. List tools return at most 50 results per page and report has_more_results; long text fields are truncated at 2,000 characters.

Tested against a live Less Annoying CRM account on 2026-11-10: all 10 tools, in normal and read-only mode, over a real MCP stdio connection.

Read-only mode

Set LACRM_READ_ONLY=1 or pass --read-only. The four write tools are then not registered at all (the model never sees them), and a second check refuses writes if one is somehow called. Combine this with a read-only API key for defence in depth.

Configuration

Variable Default Meaning
LACRM_API_KEY required API key; read only from the environment
LACRM_READ_ONLY off 1/true disables write tools
LACRM_TIMEOUT_SECONDS 20 per-request timeout (1-120)
LACRM_MAX_RETRIES 3 retries for 429 (and, for reads only, 5xx/timeouts); 0-6

How it talks to LACRM

POST to https://api.lessannoyingcrm.com/v2/ with an Authorization: <key> header and a JSON body {"Function": "...", "Parameters": {...}}, per the API v2 documentation. HTTP 400 responses carry ErrorCode and an error description, which are surfaced (with secrets redacted). The docs do not describe rate limits, so on HTTP 429 the client retries with exponential backoff (honouring Retry-After if sent, capped at 30 s) and reports the wait in the final error. Writes are never retried on 5xx or timeout, to avoid duplicate records.

Security notes

See SECURITY.md. In short: CRM text is untrusted input to the model, so results are size-bounded and labelled as data; write access is opt-in and narrow; the key never leaves the environment or appears in logs or errors. Review what an assistant proposes before approving write actions in your client.

Development

uv sync --extra dev      # or: python -m venv .venv && pip install -e '.[dev]'
uv run pytest            # all HTTP is mocked; no network or API key needed

Requires Python 3.11+ and the MCP Python SDK 1.x (mcp<2, which provides FastMCP).

Licence

MIT. See LICENSE.

Metadata

Release files for lacrm-mcp 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lacrm-mcp 0.1.1
File Size Uploaded Provenance Actions
lacrm_mcp-0.1.1.tar.gz 68.5 kB With provenance Details for lacrm_mcp-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for lacrm-mcp 0.1.1
File Interpreter ABI Platform Actions
lacrm_mcp-0.1.1-py3-none-any.whl Python 3 none any Details for lacrm_mcp-0.1.1-py3-none-any.whl

Total release size: 81.8 kB

Release files / lacrm_mcp-0.1.1.tar.gz

Download URL lacrm_mcp-0.1.1.tar.gz
Size 68.5 kB
Tags Source
SHA-256 checksum
How to use checksums
43f1cc3bb23c27eda866d0bb4f3be57613e3faaf2e7db945d9e3a1b74defa428
BLAKE2b-256 checksum
How to use checksums
a303e790a24a3887d6655ce4e1bae13a3ddbf53ed5ae36025326905c20b416ae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 10, 2026.

Transparency log

Release files / lacrm_mcp-0.1.1-py3-none-any.whl

Download URL lacrm_mcp-0.1.1-py3-none-any.whl
Size 13.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d54d80b05cebc83f8c901b650e35ea1d31457fb8a7f18b74fd73a59a2b0dbf22
BLAKE2b-256 checksum
How to use checksums
f663f6c35fc5dd872d98b71ddabbd369fda05008b70352f80a6bd73278104825
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 10, 2026.

Transparency log

Security for lacrm-mcp 0.1.1

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for lacrm_mcp-0.1.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 10, 2026.

Transparency log

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.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page