L'Atlas / Serveurs MCP / CiviCRM MCP by usefulapi

CiviCRM MCP by usefulapi

io.usefulapi/civicrm

Serveur MCP OK

Faire examiner Voir les tarifs

Work with your own CiviCRM: contacts, contributions, memberships, events; log activities.

Fiche technique

Auteur
usefulapi.io (espace de noms du registre)
Dépôt
github.com/m190/usefulapi-mcp
Site
usefulapi.io/civicrm
Version
1.20.4
Transport
Streamable HTTP
Authentification
Aucune (constatée par notre test)
Adresse du serveur
https://civicrm.usefulapi.io/mcp Streamable HTTP
Outils
24
Catégories
Cloud et infrastructure
Dernière mise à jour
18 nov. 2026
Publication
18 nov. 2026

Badge pour votre README

Référencé sur L’Atlas

Gratuit, pour toute fiche. Il renvoie vers cette fiche et affiche « testé OK » tant que notre dernier test est réussi.

MarkdownREADME.md
[![Référencé sur L’Atlas](https://latlas.dev/badge/fiche/io.usefulapi/civicrm.svg)](https://latlas.dev/mcp/io.usefulapi/civicrm)
HTML
<a href="https://latlas.dev/mcp/io.usefulapi/civicrm"><img src="https://latlas.dev/badge/fiche/io.usefulapi/civicrm.svg" alt="Référencé sur L’Atlas" height="20"></a>

Nos tests

Chaque semaine : initialize puis tools/list, sans identifiant, sans jamais appeler d’outil. Méthode

Adresse
https://civicrm.usefulapi.io/mcp
Dernier résultat
OK 28 nov. 2026, 16:26
Temps de réponse
160 ms (initialize + tools/list)
Version du protocole
2025-11-25
Nom annoncé
civicrm-mcp 1.20.4
Outils
24

Historique

DateRésultatRéponseOutils
28 nov. 2026, 16:26OK160 ms24

Outils exposés (24, réponse à tools/list, 28 nov. 2026)

civicrm_whoami

Get current contact

The CiviCRM contact this API key belongs to (contact id, display name, contact type) and how it authenticated. Everything the other tools do is limited to that contact's permissions. GET /civicrm/authx/id, then APIv4 Contact.get.

Aucun paramètre.

civicrm_search_contacts

Search contacts

Find contacts (people, organizations, households) by a word in their name, e-mail address or phone number, optionally of one contact type. Trashed contacts are left out. Returns id, display name, type, primary e-mail and phone. APIv4 Contact.get.

ParamètreTypeRequisDescription
querystringnonText to look for in the display name, primary e-mail or primary phone (partial match). Leave empty to list contacts by name.
contact_typeenum: "Individual" | "Organization" | "Household"nonOnly this contact type.
limitintegernonRecords per call, 1-100 (default 25).
offsetintegernonHow many records to skip (default 0). Pass the previous reply's next_offset.

civicrm_get_contact

Get contact

One contact by id: name, type, job title, source, communication preferences (do not e-mail, opted out, ...), dates, plus all their e-mail addresses, phone numbers and postal addresses. APIv4 Contact.get, Email.get, Phone.get, Address.get.

ParamètreTypeRequisDescription
contact_idintegerouiCiviCRM contact id (the cid in the contact's URL).

civicrm_list_contact_notes

List contact notes

The notes recorded on one contact (subject, text, who wrote it, when), newest first. APIv4 Note.get.

ParamètreTypeRequisDescription
contact_idintegerouiCiviCRM contact id.
limitintegernonRecords per call, 1-100 (default 25).
offsetintegernonHow many records to skip (default 0). Pass the previous reply's next_offset.

civicrm_list_relationships

List contact relationships

The relationships of one contact (employee of, spouse of, volunteer for, ...) with the other contact, start and end date and whether it is active. APIv4 Relationship.get.

ParamètreTypeRequisDescription
contact_idintegerouiCiviCRM contact id.
active_onlybooleannonOnly active relationships (default true).
limitintegernonRecords per call, 1-100 (default 25).
offsetintegernonHow many records to skip (default 0). Pass the previous reply's next_offset.

civicrm_list_contributions

List contributions

Contributions (donations, membership dues, event fees) with contact, amount, currency, financial type, status, payment method, date and source, newest first. Filter by contact, status, financial type, date range and minimum amount. Test contributions are left out. APIv4 Contribution.get.

ParamètreTypeRequisDescription
contact_idintegernonOnly this contact's contributions.
statusstringnonOnly this status by name, e.g. Completed, Pending, Failed, Cancelled, Refunded.
financial_typestringnonOnly this financial type by name, e.g. Donation, Member Dues, Event Fee.
date_fromstringnonReceived on or after this date.
date_tostringnonReceived on or before this date (a plain date includes that whole day).
min_amountnumbernonOnly contributions of at least this amount.
limitintegernonRecords per call, 1-100 (default 25).
offsetintegernonHow many records to skip (default 0). Pass the previous reply's next_offset.

civicrm_list_memberships

List memberships

Memberships with contact, membership type, status (New, Current, Grace, Expired, ...), join, start and end date. Filter by contact, status, type, or those ending before a date (renewal follow-up). Test memberships are left out. APIv4 Membership.get.

ParamètreTypeRequisDescription
contact_idintegernonOnly this contact's memberships.
statusstringnonOnly this status by name, e.g. Current, Grace, Expired, Cancelled.
membership_typestringnonOnly this membership type by name, e.g. General.
ends_beforestringnonOnly memberships that end on or before this date.
ends_afterstringnonOnly memberships that end on or after this date.
limitintegernonRecords per call, 1-100 (default 25).
offsetintegernonHow many records to skip (default 0). Pass the previous reply's next_offset.

civicrm_list_events

List events

Events with title, type, start and end date, whether active and public, maximum participants and summary. Upcoming events first when upcoming_only is set. Template events are left out. APIv4 Event.get.

ParamètreTypeRequisDescription
titlestringnonOnly events whose title contains this text.
upcoming_onlybooleannonOnly events that have not ended yet (start date today or later).
active_onlybooleannonOnly active events (default true).
limitintegernonRecords per call, 1-100 (default 25).
offsetintegernonHow many records to skip (default 0). Pass the previous reply's next_offset.

civicrm_list_participants

List event participants

Event registrations with event, contact, status (Registered, Attended, Cancelled, ...), role, registration date and fee. Filter by event, contact or status. Test registrations are left out. APIv4 Participant.get.

ParamètreTypeRequisDescription
event_idintegernonOnly this event's participants.
contact_idintegernonOnly this contact's registrations.
statusstringnonOnly this participant status by name, e.g. Registered, Attended, Cancelled.
limitintegernonRecords per call, 1-100 (default 25).
offsetintegernonHow many records to skip (default 0). Pass the previous reply's next_offset.

civicrm_list_activities

List activities

Activities (meetings, phone calls, e-mails, follow-ups, ...) with type, subject, status, date and details, newest first. With contact_id: the activities that contact took part in, with their role (source, target or assignee). Otherwise all activities, optionally of one type or status. APIv4 ActivityContact.get / Activity.get.

ParamètreTypeRequisDescription
contact_idintegernonOnly activities this contact is involved in.
activity_typestringnonOnly this activity type by name, e.g. Meeting, Phone Call, Email, Follow up.
statusstringnonOnly this status by name, e.g. Scheduled, Completed, Cancelled.
date_fromstringnonOn or after this date.
date_tostringnonOn or before this date (a plain date includes that whole day).
limitintegernonRecords per call, 1-100 (default 25).
offsetintegernonHow many records to skip (default 0). Pass the previous reply's next_offset.

civicrm_list_cases

List cases

Cases (CiviCase) with subject, case type, status and dates. With contact_id: the cases that contact is a client of. Needs the CiviCase component to be enabled. APIv4 CaseContact.get / Case.get.

ParamètreTypeRequisDescription
contact_idintegernonOnly cases of this client contact.
statusstringnonOnly this case status by name, e.g. Open, Resolved. Applied when no contact_id is given.
limitintegernonRecords per call, 1-100 (default 25).
offsetintegernonHow many records to skip (default 0). Pass the previous reply's next_offset.

civicrm_list_groups

List groups

Contact groups (mailing lists, static groups, smart groups) with title, description, visibility and type. APIv4 Group.get.

ParamètreTypeRequisDescription
titlestringnonOnly groups whose title contains this text.
active_onlybooleannonOnly active groups (default true).
limitintegernonRecords per call, 1-100 (default 25).
offsetintegernonHow many records to skip (default 0). Pass the previous reply's next_offset.

civicrm_list_group_contacts

List group members

The members of one static group (or the groups one contact belongs to): contact, group and membership status (Added, Removed, Pending). Smart groups are computed by CiviCRM and not listed here. APIv4 GroupContact.get.

ParamètreTypeRequisDescription
group_idintegernonMembers of this group (from civicrm_list_groups).
contact_idintegernonThe groups of this contact.
statusenum: "Added" | "Removed" | "Pending"nonMembership status (default Added).
limitintegernonRecords per call, 1-100 (default 25).
offsetintegernonHow many records to skip (default 0). Pass the previous reply's next_offset.

civicrm_get_fields

Describe an entity's fields

The fields of one CiviCRM entity (Contact, Contribution, Event, ...) including custom fields: name, label, data type, whether required, and the allowed options for a pick-list field. Use it to find the right field names for civicrm_query and the right option names for the filters and write tools. APIv4 .getFields.

ParamètreTypeRequisDescription
entitystringouiAPIv4 entity name, e.g. Contact.
fieldstringnonOnly this field, with its options (e.g. contribution_status_id).
actionenum: "get" | "create" | "update"nonThe action the fields are for (default get).

civicrm_list_entities

List API entities

The APIv4 entities this CiviCRM site offers (Contact, Contribution, Event, plus those of installed extensions), with a short description. Use the names with civicrm_get_fields and civicrm_query. APIv4 Entity.get.

ParamètreTypeRequisDescription
searchstringnonOnly entities whose name or title contains this text.

civicrm_query

Query any entity

Read records of ANY CiviCRM entity with APIv4 Entity.get: choose fields, filter, sort and page. Use civicrm_list_entities and civicrm_get_fields for the names. Field names may be joined (`contact_id.display_name`, `email_primary.email`) or ask for an option's text (`status_id:label`). Examples: entity Tag; entity Campaign with where [{field:'is_active',op:'=',value:true}]; entity Contribution with select ['id','total_amount'] and where [{field:'total_amount',op:'>=',value:1000}]. Read-only; credential fields and system entities (settings, payment processors, mailings, users) are refused.

ParamètreTypeRequisDescription
entitystringouiAPIv4 entity name, e.g. Campaign.
selectarray<string>ouiFields to return.
wherearray<object>nonFilters, all of which must match.
order_byarray<object>nonSort order.
limitintegernonRecords per call, 1-100 (default 25).
offsetintegernonHow many records to skip (default 0). Pass the previous reply's next_offset.

civicrm_create_contact

Create contact

WRITE: creates ONE new contact (an individual, organization or household) and optionally its first e-mail address and phone number. Does not check for duplicates: search first with civicrm_search_contacts. Sends nothing. APIv4 Contact.create, Email.create, Phone.create.

ParamètreTypeRequisDescription
contact_typeenum: "Individual" | "Organization" | "Household"ouiIndividual, Organization or Household.
first_namestringnonIndividual: first name.
last_namestringnonIndividual: last name.
organization_namestringnonOrganization: its name.
household_namestringnonHousehold: its name.
job_titlestringnon
sourcestringnonWhere this contact came from (free text).
emailstringnonFirst e-mail address (stored as the primary one).
phonestringnonFirst phone number (stored as the primary one).

civicrm_update_contact

Update contact

WRITE: changes basic fields of ONE existing contact (name, job title, source, preferred language) and/or its communication preferences (do not e-mail, do not phone, do not mail, do not SMS, opted out of bulk mail). Only the fields you give are changed. Setting a do-not flag to false re-enables contact the person may have declined, so only do that on the person's request. APIv4 Contact.update.

ParamètreTypeRequisDescription
contact_idintegerouiCiviCRM contact id.
first_namestringnon
last_namestringnon
organization_namestringnon
household_namestringnon
job_titlestringnon
sourcestringnon
preferred_languagestringnon
do_not_emailbooleannon
do_not_phonebooleannon
do_not_mailbooleannon
do_not_smsbooleannon
is_opt_outbooleannonOpted out of ALL bulk mailings.

civicrm_add_contact_note

Add contact note

WRITE: adds ONE note to a contact's record, written by the contact this API key belongs to. Sends nothing. APIv4 Note.create.

ParamètreTypeRequisDescription
contact_idintegerouiCiviCRM contact id the note is about.
notestringouiThe note text.
subjectstringnonOptional subject line.

civicrm_log_activity

Log activity

WRITE: records ONE activity (a meeting, phone call, e-mail, follow-up, ...) with one or more contacts. It only STORES the record: an activity of type Email does not send an e-mail. Added by the contact this API key belongs to unless source_contact_id is given. APIv4 Activity.create.

ParamètreTypeRequisDescription
activity_typestringouiActivity type by name, e.g. Meeting, Phone Call, Email, Follow up (see civicrm_get_fields Activity, field activity_type_id).
subjectstringouiSubject line.
with_contact_idsarray<integer>ouiThe contact(s) the activity is with.
detailsstringnonDescription.
statusstringnonStatus by name, e.g. Completed (default), Scheduled, Cancelled.
activity_date_timestringnonWhen it happened or will happen (default now).
assignee_contact_idsarray<integer>nonContact(s) assigned to do it.
source_contact_idintegernonWho added it (default: the API key's own contact).

civicrm_record_contribution

Record contribution

WRITE: records ONE contribution (a donation, a payment received elsewhere) for a contact. It only STORES the financial record: no card is charged, no receipt is e-mailed, and the amount shows up in CiviCRM's reports and the contact's giving history. Check civicrm_list_contributions first to avoid a duplicate. APIv4 Contribution.create.

ParamètreTypeRequisDescription
contact_idintegerouiCiviCRM contact id of the donor.
total_amountnumberouiAmount, in the site's currency unless currency is given.
financial_typestringouiFinancial type by name, e.g. Donation, Member Dues, Event Fee, Campaign Contribution.
receive_datestringnonWhen it was received (default now).
statusstringnonContribution status by name: Completed (default), Pending, ...
payment_methodstringnonPayment method by name, e.g. Check, Cash, Credit Card, EFT.
currencystringnonISO currency code (default: the site's default).
sourcestringnonWhere it came from (free text).
trxn_idstringnonYour own reference, e.g. a check number or bank reference.

civicrm_create_membership

Create membership

WRITE: gives ONE contact a membership of a type. CiviCRM works out the dates and status from the type unless you give dates. It does NOT record a payment (use civicrm_record_contribution for that) and sends nothing. APIv4 Membership.create.

ParamètreTypeRequisDescription
contact_idintegerouiCiviCRM contact id.
membership_typestringouiMembership type by name, e.g. General (see civicrm_get_fields Membership, field membership_type_id).
join_datestringnonJoin date (default today).
start_datestringnonStart date (default: calculated by the type).
end_datestringnonEnd date (default: calculated by the type).
sourcestringnonWhere it came from (free text).

civicrm_add_contact_to_group

Add contact to group

WRITE: adds ONE contact to ONE static group. If the group is used as a mailing list, the contact will receive future mailings sent to it, so only add people who agreed. Sends nothing by itself. Adding a contact who is already in the group changes nothing; a contact who was removed from it (or is pending) is set back to Added. APIv4 GroupContact.save matched on group and contact.

ParamètreTypeRequisDescription
group_idintegerouiGroup id (from civicrm_list_groups).
contact_idintegerouiCiviCRM contact id.

civicrm_register_participant

Register participant

WRITE: registers ONE contact for ONE event (a participant record). It does not check the event's capacity or fee, does not take payment and sends no confirmation e-mail. APIv4 Participant.create.

ParamètreTypeRequisDescription
event_idintegerouiEvent id (from civicrm_list_events).
contact_idintegerouiCiviCRM contact id.
statusstringnonParticipant status by name: Registered (default), Attended, Pending from pay later, ...
rolestringnonRole by name: Attendee (default), Volunteer, Host, Speaker.
sourcestringnonWhere it came from (free text).

Compatibilité clients

Selon les transports que chaque client déclare accepter dans sa documentation officielle ; ce n’est pas un essai réel dans le client.

ClientTransports documentésCe serveurSource
Claude Codestdio Streamable HTTP SSEtransport acceptédoc
Claude (claude.ai, Claude Desktop, Cowork)stdio Streamable HTTP SSEtransport acceptédoc
ChatGPT (serveurs MCP personnalisés / plugins)Streamable HTTP SSEtransport acceptédoc
Cursorstdio Streamable HTTP SSEtransport acceptédoc
VS Code (GitHub Copilot)stdio Streamable HTTP SSEtransport acceptédoc
Windsurf (documentation redirigée vers Devin Local / Devin CLI)stdio Streamable HTTP SSEtransport acceptédoc
Gemini CLIstdio Streamable HTTP SSEtransport acceptédoc
OpenAI Codex (CLI, extension IDE, app)stdio Streamable HTTPtransport acceptédoc

Configs prêtes à copier

Adresse distante utilisée : https://civicrm.usefulapi.io/mcp. Formats repris de la documentation de chaque client.

Claude Code
claude mcp add --transport http civicrm https://civicrm.usefulapi.io/mcp
Claude (claude.ai, Claude Desktop, Cowork)
Customize > Connectors > + Add > Add custom connector ; Name : civicrm ; URL : https://civicrm.usefulapi.io/mcp
ChatGPT (serveurs MCP personnalisés / plugins)
chatgpt.com/plugins > + > Add custom MCP server ; Name : civicrm ; Server URL : https://civicrm.usefulapi.io/mcp ; Create as a plugin
Cursor.cursor/mcp.json (projet) ou ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "civicrm": {
      "url": "https://civicrm.usefulapi.io/mcp"
    }
  }
}
VS Code (GitHub Copilot).mcp.json à la racine du workspace, ou ~/.copilot/mcp-config.json ($COPILOT_HOME/mcp-config.json)
{
  "mcpServers": {
    "civicrm": {
      "type": "http",
      "url": "https://civicrm.usefulapi.io/mcp",
      "tools": ["*"]
    }
  }
}
Windsurf (documentation redirigée vers Devin Local / Devin CLI).devin/mcp_config.json (projet), .devin/mcp_config.local.json (local), ~/.config/devin/mcp_config.json (utilisateur)
{
  "mcpServers": {
    "civicrm": {
      "url": "https://civicrm.usefulapi.io/mcp"
    }
  }
}
Gemini CLI~/.gemini/settings.json (utilisateur) ou .gemini/settings.json (projet)
{
  "mcpServers": {
    "civicrm": {
      "httpUrl": "https://civicrm.usefulapi.io/mcp"
    }
  }
}
OpenAI Codex (CLI, extension IDE, app)~/.codex/config.toml (ou .codex/config.toml pour un projet de confiance)
[mcp_servers.civicrm]
url = "https://civicrm.usefulapi.io/mcp"

Source : Registre officiel MCP · relevé le 29 nov. 2026. L’Atlas n’ajoute aucune donnée qui ne vienne de cette source ou de ses propres tests.