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
Gratuit, pour toute fiche. Il renvoie vers cette fiche et affiche « testé OK » tant que notre dernier test est réussi.
[](https://latlas.dev/mcp/io.usefulapi/civicrm)<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
| Date | Résultat | Réponse | Outils |
|---|---|---|---|
| 28 nov. 2026, 16:26 | OK | 160 ms | 24 |
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ètre | Type | Requis | Description |
|---|---|---|---|
| query | string | non | Text to look for in the display name, primary e-mail or primary phone (partial match). Leave empty to list contacts by name. |
| contact_type | enum: "Individual" | "Organization" | "Household" | non | Only this contact type. |
| limit | integer | non | Records per call, 1-100 (default 25). |
| offset | integer | non | How 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ètre | Type | Requis | Description |
|---|---|---|---|
| contact_id | integer | oui | CiviCRM 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ètre | Type | Requis | Description |
|---|---|---|---|
| contact_id | integer | oui | CiviCRM contact id. |
| limit | integer | non | Records per call, 1-100 (default 25). |
| offset | integer | non | How 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ètre | Type | Requis | Description |
|---|---|---|---|
| contact_id | integer | oui | CiviCRM contact id. |
| active_only | boolean | non | Only active relationships (default true). |
| limit | integer | non | Records per call, 1-100 (default 25). |
| offset | integer | non | How 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ètre | Type | Requis | Description |
|---|---|---|---|
| contact_id | integer | non | Only this contact's contributions. |
| status | string | non | Only this status by name, e.g. Completed, Pending, Failed, Cancelled, Refunded. |
| financial_type | string | non | Only this financial type by name, e.g. Donation, Member Dues, Event Fee. |
| date_from | string | non | Received on or after this date. |
| date_to | string | non | Received on or before this date (a plain date includes that whole day). |
| min_amount | number | non | Only contributions of at least this amount. |
| limit | integer | non | Records per call, 1-100 (default 25). |
| offset | integer | non | How 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ètre | Type | Requis | Description |
|---|---|---|---|
| contact_id | integer | non | Only this contact's memberships. |
| status | string | non | Only this status by name, e.g. Current, Grace, Expired, Cancelled. |
| membership_type | string | non | Only this membership type by name, e.g. General. |
| ends_before | string | non | Only memberships that end on or before this date. |
| ends_after | string | non | Only memberships that end on or after this date. |
| limit | integer | non | Records per call, 1-100 (default 25). |
| offset | integer | non | How 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ètre | Type | Requis | Description |
|---|---|---|---|
| title | string | non | Only events whose title contains this text. |
| upcoming_only | boolean | non | Only events that have not ended yet (start date today or later). |
| active_only | boolean | non | Only active events (default true). |
| limit | integer | non | Records per call, 1-100 (default 25). |
| offset | integer | non | How 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ètre | Type | Requis | Description |
|---|---|---|---|
| event_id | integer | non | Only this event's participants. |
| contact_id | integer | non | Only this contact's registrations. |
| status | string | non | Only this participant status by name, e.g. Registered, Attended, Cancelled. |
| limit | integer | non | Records per call, 1-100 (default 25). |
| offset | integer | non | How 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ètre | Type | Requis | Description |
|---|---|---|---|
| contact_id | integer | non | Only activities this contact is involved in. |
| activity_type | string | non | Only this activity type by name, e.g. Meeting, Phone Call, Email, Follow up. |
| status | string | non | Only this status by name, e.g. Scheduled, Completed, Cancelled. |
| date_from | string | non | On or after this date. |
| date_to | string | non | On or before this date (a plain date includes that whole day). |
| limit | integer | non | Records per call, 1-100 (default 25). |
| offset | integer | non | How 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ètre | Type | Requis | Description |
|---|---|---|---|
| contact_id | integer | non | Only cases of this client contact. |
| status | string | non | Only this case status by name, e.g. Open, Resolved. Applied when no contact_id is given. |
| limit | integer | non | Records per call, 1-100 (default 25). |
| offset | integer | non | How 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ètre | Type | Requis | Description |
|---|---|---|---|
| title | string | non | Only groups whose title contains this text. |
| active_only | boolean | non | Only active groups (default true). |
| limit | integer | non | Records per call, 1-100 (default 25). |
| offset | integer | non | How 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ètre | Type | Requis | Description |
|---|---|---|---|
| group_id | integer | non | Members of this group (from civicrm_list_groups). |
| contact_id | integer | non | The groups of this contact. |
| status | enum: "Added" | "Removed" | "Pending" | non | Membership status (default Added). |
| limit | integer | non | Records per call, 1-100 (default 25). |
| offset | integer | non | How 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ètre | Type | Requis | Description |
|---|---|---|---|
| entity | string | oui | APIv4 entity name, e.g. Contact. |
| field | string | non | Only this field, with its options (e.g. contribution_status_id). |
| action | enum: "get" | "create" | "update" | non | The 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ètre | Type | Requis | Description |
|---|---|---|---|
| search | string | non | Only 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ètre | Type | Requis | Description |
|---|---|---|---|
| entity | string | oui | APIv4 entity name, e.g. Campaign. |
| select | array<string> | oui | Fields to return. |
| where | array<object> | non | Filters, all of which must match. |
| order_by | array<object> | non | Sort order. |
| limit | integer | non | Records per call, 1-100 (default 25). |
| offset | integer | non | How 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ètre | Type | Requis | Description |
|---|---|---|---|
| contact_type | enum: "Individual" | "Organization" | "Household" | oui | Individual, Organization or Household. |
| first_name | string | non | Individual: first name. |
| last_name | string | non | Individual: last name. |
| organization_name | string | non | Organization: its name. |
| household_name | string | non | Household: its name. |
| job_title | string | non | |
| source | string | non | Where this contact came from (free text). |
| string | non | First e-mail address (stored as the primary one). | |
| phone | string | non | First 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ètre | Type | Requis | Description |
|---|---|---|---|
| contact_id | integer | oui | CiviCRM contact id. |
| first_name | string | non | |
| last_name | string | non | |
| organization_name | string | non | |
| household_name | string | non | |
| job_title | string | non | |
| source | string | non | |
| preferred_language | string | non | |
| do_not_email | boolean | non | |
| do_not_phone | boolean | non | |
| do_not_mail | boolean | non | |
| do_not_sms | boolean | non | |
| is_opt_out | boolean | non | Opted 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ètre | Type | Requis | Description |
|---|---|---|---|
| contact_id | integer | oui | CiviCRM contact id the note is about. |
| note | string | oui | The note text. |
| subject | string | non | Optional 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ètre | Type | Requis | Description |
|---|---|---|---|
| activity_type | string | oui | Activity type by name, e.g. Meeting, Phone Call, Email, Follow up (see civicrm_get_fields Activity, field activity_type_id). |
| subject | string | oui | Subject line. |
| with_contact_ids | array<integer> | oui | The contact(s) the activity is with. |
| details | string | non | Description. |
| status | string | non | Status by name, e.g. Completed (default), Scheduled, Cancelled. |
| activity_date_time | string | non | When it happened or will happen (default now). |
| assignee_contact_ids | array<integer> | non | Contact(s) assigned to do it. |
| source_contact_id | integer | non | Who 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ètre | Type | Requis | Description |
|---|---|---|---|
| contact_id | integer | oui | CiviCRM contact id of the donor. |
| total_amount | number | oui | Amount, in the site's currency unless currency is given. |
| financial_type | string | oui | Financial type by name, e.g. Donation, Member Dues, Event Fee, Campaign Contribution. |
| receive_date | string | non | When it was received (default now). |
| status | string | non | Contribution status by name: Completed (default), Pending, ... |
| payment_method | string | non | Payment method by name, e.g. Check, Cash, Credit Card, EFT. |
| currency | string | non | ISO currency code (default: the site's default). |
| source | string | non | Where it came from (free text). |
| trxn_id | string | non | Your 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ètre | Type | Requis | Description |
|---|---|---|---|
| contact_id | integer | oui | CiviCRM contact id. |
| membership_type | string | oui | Membership type by name, e.g. General (see civicrm_get_fields Membership, field membership_type_id). |
| join_date | string | non | Join date (default today). |
| start_date | string | non | Start date (default: calculated by the type). |
| end_date | string | non | End date (default: calculated by the type). |
| source | string | non | Where 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ètre | Type | Requis | Description |
|---|---|---|---|
| group_id | integer | oui | Group id (from civicrm_list_groups). |
| contact_id | integer | oui | CiviCRM 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ètre | Type | Requis | Description |
|---|---|---|---|
| event_id | integer | oui | Event id (from civicrm_list_events). |
| contact_id | integer | oui | CiviCRM contact id. |
| status | string | non | Participant status by name: Registered (default), Attended, Pending from pay later, ... |
| role | string | non | Role by name: Attendee (default), Volunteer, Host, Speaker. |
| source | string | non | Where 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.
| Client | Transports documentés | Ce serveur | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepté | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepté | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport accepté | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepté | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepté | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepté | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepté | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepté | doc |
Configs prêtes à copier
Adresse distante utilisée : https://civicrm.usefulapi.io/mcp. Formats repris de la documentation de chaque client.
claude mcp add --transport http civicrm https://civicrm.usefulapi.io/mcpCustomize > Connectors > + Add > Add custom connector ; Name : civicrm ; URL : https://civicrm.usefulapi.io/mcpchatgpt.com/plugins > + > Add custom MCP server ; Name : civicrm ; Server URL : https://civicrm.usefulapi.io/mcp ; Create as a plugin{
"mcpServers": {
"civicrm": {
"url": "https://civicrm.usefulapi.io/mcp"
}
}
}{
"mcpServers": {
"civicrm": {
"type": "http",
"url": "https://civicrm.usefulapi.io/mcp",
"tools": ["*"]
}
}
}{
"mcpServers": {
"civicrm": {
"url": "https://civicrm.usefulapi.io/mcp"
}
}
}{
"mcpServers": {
"civicrm": {
"httpUrl": "https://civicrm.usefulapi.io/mcp"
}
}
}[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.