AskNicely MCP by usefulapi
v1.2.1Read NPS scores, survey responses and contacts; add contacts and send surveys in AskNicely.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
asknicely_get_nps Get NPS score
Get the Net Promoter Score for the last N days, optionally filtered by custom fields (e.g. country_c = Canada). Returns the score as text. AskNicely API: GET /api/v1/getnps/{days}.
| Parameter | Type | Description |
|---|---|---|
days | integer | Days back from today to cover (default 30). |
filters | array | Filters on custom fields. Each entry pairs a field name with the value to match. |
asknicely_get_historical_stats Get email statistics
Get statistics of the surveys AskNicely sent, for a day, month or year, optionally by segment or time range. AskNicely API: GET /api/v1/stats.
| Parameter | Type | Description |
|---|---|---|
day | integer | Day of the month (1-31). |
end_time | integer | Unix timestamp: responses sent at or before this time. |
month | integer | Month (1-12). |
segment | string | Only count this customer segment, e.g. "VIP Customer". |
start_time | integer | Unix timestamp: responses sent at or after this time. |
year | integer | Year, e.g. 2026. |
asknicely_get_contact Get a contact
Get one contact (name, segment, last emailed time, active flag, unsubscribe time) by email, id or a custom field. AskNicely API: GET /api/v1/contact/get/{search}/{key}.
| Parameter | Type | Description |
|---|---|---|
search * | string | The value to find, e.g. schrodinger@example.com. |
key | string | Field to search by: "email" (default), "id", or a custom field name such as "customer_id_c". |
asknicely_list_responses List survey responses
List survey responses (score, comment, responder, question type) since a unix time, newest or oldest first. Use filter=raw to include surveys not answered yet. Up to 50,000 per call; follow the page numbers for more. AskNicely API: GET /api/v1/responses/{...}.
| Parameter | Type | Description |
|---|---|---|
since_time * | integer | Unix timestamp: only responses after this time (0 = all). |
end_time | integer | Unix timestamp: only responses before this time (default now). |
filter | string | answered (default): responses only; raw: all surveys sent; published: testimonials only. |
page_number | integer | Page number, starting at 1 (default 1). |
page_size | integer | Rows per page (default 50, max 50,000). |
sort_by | string | Sort by send date or response date (default responded). |
sort_direction | string | Sort order (default asc). |
asknicely_list_unsubscribed List unsubscribed contacts
List every contact who unsubscribed from AskNicely emails. Check this before you send a survey by another route. AskNicely API: GET /api/v1/contacts/unsubscribed.
asknicely_add_contacts Add or update contacts
Add or update up to 500 contacts in one call (email is required; name, segment and custom fields are optional). By default no survey is sent. Set obeyrules=true to send surveys to eligible contacts. A contact who unsubscribed stays unsubscribed. AskNicely API: POST /api/v1/contacts/add.
| Parameter | Type | Description |
|---|---|---|
contacts * | array | Contacts. Extra keys must be custom fields named in snake_case ending in "_c". |
obeyrules | boolean | true: send a survey to eligible contacts under the account's contact rules (default false). |
asknicely_send_survey Send a survey
Send one NPS survey email to a customer, if the account's contact rules allow it. This emails a real customer. Use asknicely_add_contacts with obeyrules=false to add a contact without sending. AskNicely API: POST /api/v1/contact/trigger.
| Parameter | Type | Description |
|---|---|---|
email * | string | The customer's email address. |
custom_fields | object | Extra custom data, keyed by field name. Names must end in "_c", e.g. {"branch_location_c": "Portland"}. |
delay_minutes | integer | Send the survey after this many minutes (0 = now). |
name | string | Full name. |
segment | string | Customer segment. |
asknicely_remove_contact Deactivate a contact
Deactivate a contact so they get no more surveys. The contact is kept, not deleted, and asknicely_add_contacts re-activates them. For a GDPR erasure, use the AskNicely dashboard. AskNicely API: GET /api/v1/contact/remove/{search}/{key}.
| Parameter | Type | Description |
|---|---|---|
search * | string | The value to find, e.g. schrodinger@example.com. |
key | string | Field to search by: "email" (default), "id", or a custom field name such as "customer_id_c". |