Skip to main content
The Clustr MCP server lets an AI assistant such as Claude run CRM Cleaning for you: read the queue, apply or dismiss changes, work the findings report, start scans and change settings. Set it up once from the MCP server page, with sign-in or an API key. The tools below need the CRM Cleaning add-on. MCP server v1.44.1 or later has every tool below. When each tool arrived: Your assistant asks before it does anything that writes to your CRM or spends budget: starting a scan or an enrichment pass, applying or accepting changes, merging records, reverting or retrying a change, and turning on a rule, enrichment or the schedule.

The tools

The queue

History

Findings and duplicates

Scans and enrichment

Settings

update_crm_cleaning_settings takes: The tool does not edit exclusions, enrichment fields or the rest of survivorship. Use the API for those.

Progress

The API page describes each call’s answers and errors.

Example prompts

”Clean my CRM phone numbers, but ask me first”

  1. get_crm_cleaning_settings to read the current mode of format_normalize.
  2. update_crm_cleaning_settings with rule_modes: { format_normalize: "review" } (Ask me).
  3. start_crm_cleaning_scan to find the phone numbers to fix, after you confirm.
  4. get_crm_cleaning_run until the scan is done.
  5. list_crm_cleaning_changes with action: format_normalize and property: phone to show you a few before and after values.
  6. apply_crm_cleaning_group with action: format_normalize, object_type: contact and property: phone once you say yes.
The formatting rule covers every format fix, not only phones, so emails, websites, names, countries and states wait in the queue too. Apply those groups whenever you are ready.

”What is waiting for me, and apply the safe ones”

  1. get_crm_cleaning_queue to list the groups and counts.
  2. The assistant summarises them and proposes the groups in the auto bucket.
  3. apply_crm_cleaning_group with bucket: auto for each group you approve.
  4. dismiss_crm_cleaning_group with suppress: false for the ones you want to clear for now.

”Merge my duplicate companies”

  1. get_crm_cleaning_capabilities to check your CRM can merge (HubSpot only).
  2. get_crm_cleaning_queue for the merges waiting in the queue, then apply_crm_cleaning_group with action: merge_companies and object_type: company to apply the certain ones.
  3. list_crm_cleaning_changes with action: merge_companies to show you the Likely pairs side by side, and accept_crm_cleaning_change for each pair you approve.
  4. list_crm_cleaning_findings with kind: duplicate_companies for groups that are only reported, and merge_crm_duplicates with a finding’s id for each one you approve.
  5. list_crm_cleaning_history later, to show the merges that were applied.

”Fill missing data, and tell me what it will cost”

  1. get_crm_enrichment_budget to show the cap and what is left this month.
  2. get_crm_completeness to show which fields are most often empty.
  3. update_crm_cleaning_settings with enrichment_enabled: true, after you confirm.
  4. start_crm_enrichment to run the enrichment pass.
  5. get_crm_cleaning_summary after the next scan, to report the fields filled. The fills land on the scan after the enrichment pass.

”Undo every phone format change from last Tuesday’s scan”

  1. list_crm_cleaning_runs to find last Tuesday’s scan and its id.
  2. The assistant tells you which rule and run it will revert, and asks you to confirm.
  3. revert_crm_cleaning_batch with action: format_normalize, property: phone and that run_id.
  4. While the answer says has_more: true, the same call again with cursor set to next_cursor.
  5. The assistant adds up reverted, and reports the changes it left: expired ones, and conflicts where someone had edited the phone in your CRM since.

”Can any of my rules run on their own?”

  1. get_crm_cleaning_suggestions to list the rules your team always accepts.
  2. The assistant shows each suggestion and asks which ones to switch.
  3. update_crm_cleaning_settings with rule_modes: { format_normalize: "auto" } for each rule you approve.

”Undo what cleaning did to Northwind yesterday”

  1. list_crm_cleaning_history with state: applied and q: Northwind.
  2. The assistant lists the changes and which ones can still be reverted.
  3. revert_crm_cleaning_change for each one you pick.