AskNicely MCP by usefulapi

Read NPS scores, survey responses and contacts; add contacts and send surveys in AskNicely.

使うべきか

品質と安全性

A
説明の品質
100%
スキーマの完全性
89%
命名の品質
80%
ポイズニングのリスク
100%
権限の一致
100%
プロトコルへの準拠
100%

ツール定義とプロトコルへの準拠に関する自動分析に基づいています。

コンテキストコスト

~2,018トークン数(ツール定義)
~1.8 KB一般的なレスポンスサイズ
注意への影響は中程度(128k コンテキストの 1.58%)

これは、サーバーのツールがモデルのコンテキストに読み込まれるたびに消費されるおおよそのトークン数です。数が多いほど、ほかのタスクに使える注意が減ります。

インストール

ワンクリックインストール

これを `claude_desktop_config.json` ファイルに追加してください:

{
  "mcpServers": {
    "asknicely": {
      "url": "https://asknicely.usefulapi.io/mcp"
    }
  }
}

リモートエンドポイント

https://asknicely.usefulapi.io/mcpstreamable-http

できること

ツール一覧

ツール(8)

🟢 読み取り専用🟡 書き込み🔴 削除⚪ 不明
🟢asknicely_get_nps(days, filters)

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}.

入力スキーマ

{
  "type": "object",
  "properties": {
    "days": {
      "description": "Days back from today to cover (default 30).",
      "type": "integer",
      "minimum": 1,
      "maximum": 3650
    },
    "filters": {
      "description": "Filters on custom fields. Each entry pairs a field name with the value to match.",
      "maxItems": 10,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "field": {
            "type": "string",
            "pattern": "^[a-z][a-z0-9_]{0,63}$"
          },
          "value": {
            "type": "string"
          }
        },
        "required": [
          "field",
          "value"
        ]
      }
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢asknicely_get_historical_stats(year, month, day, segment, start_time, ...)

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.

入力スキーマ

{
  "type": "object",
  "properties": {
    "year": {
      "description": "Year, e.g. 2026.",
      "type": "integer",
      "minimum": 2000,
      "maximum": 2100
    },
    "month": {
      "description": "Month (1-12).",
      "type": "integer",
      "minimum": 1,
      "maximum": 12
    },
    "day": {
      "description": "Day of the month (1-31).",
      "type": "integer",
      "minimum": 1,
      "maximum": 31
    },
    "segment": {
      "description": "Only count this customer segment, e.g. \"VIP Customer\".",
      "type": "string"
    },
    "start_time": {
      "description": "Unix timestamp: responses sent at or after this time.",
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    },
    "end_time": {
      "description": "Unix timestamp: responses sent at or before this time.",
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢asknicely_get_contact(search, key)

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}.

入力スキーマ

{
  "type": "object",
  "properties": {
    "search": {
      "type": "string",
      "minLength": 1,
      "maxLength": 320,
      "description": "The value to find, e.g. [email protected]."
    },
    "key": {
      "description": "Field to search by: \"email\" (default), \"id\", or a custom field name such as \"customer_id_c\".",
      "type": "string",
      "pattern": "^[a-z][a-z0-9_]{0,63}$"
    }
  },
  "required": [
    "search"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢asknicely_list_responses(since_time, sort_direction, page_size, page_number, filter, ...)

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/{...}.

入力スキーマ

{
  "type": "object",
  "properties": {
    "since_time": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991,
      "description": "Unix timestamp: only responses after this time (0 = all)."
    },
    "sort_direction": {
      "description": "Sort order (default asc).",
      "type": "string",
      "enum": [
        "asc",
        "desc"
      ]
    },
    "page_size": {
      "description": "Rows per page (default 50, max 50,000).",
      "type": "integer",
      "minimum": 1,
      "maximum": 50000
    },
    "page_number": {
      "description": "Page number, starting at 1 (default 1).",
      "type": "integer",
      "minimum": 1,
      "maximum": 9007199254740991
    },
    "filter": {
      "description": "answered (default): responses only; raw: all surveys sent; published: testimonials only.",
      "type": "string",
      "enum": [
        "answered",
        "raw",
        "published"
      ]
    },
    "sort_by": {
      "description": "Sort by send date or response date (default responded).",
      "type": "string",
      "enum": [
        "sent",
        "responded"
      ]
    },
    "end_time": {
      "description": "Unix timestamp: only responses before this time (default now).",
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    }
  },
  "required": [
    "since_time"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢asknicely_list_unsubscribed

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.

入力スキーマ

{
  "type": "object",
  "properties": {},
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🔴asknicely_add_contacts(contacts, obeyrules)

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.

入力スキーマ

{
  "type": "object",
  "properties": {
    "contacts": {
      "minItems": 1,
      "maxItems": 500,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "email": {
            "type": "string",
            "format": "email",
            "pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$",
            "description": "Contact email (required)."
          },
          "name": {
            "description": "Full name.",
            "type": "string",
            "maxLength": 200
          },
          "segment": {
            "description": "Customer segment, e.g. \"VIP Customer\".",
            "type": "string",
            "maxLength": 200
          }
        },
        "required": [
          "email"
        ],
        "additionalProperties": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          ]
        }
      },
      "description": "Contacts. Extra keys must be custom fields named in snake_case ending in \"_c\"."
    },
    "obeyrules": {
      "description": "true: send a survey to eligible contacts under the account's contact rules (default false).",
      "type": "boolean"
    }
  },
  "required": [
    "contacts"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🔴asknicely_send_survey(email, name, segment, delay_minutes, custom_fields)

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.

入力スキーマ

{
  "type": "object",
  "properties": {
    "email": {
      "type": "string",
      "format": "email",
      "pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$",
      "description": "The customer's email address."
    },
    "name": {
      "description": "Full name.",
      "type": "string",
      "maxLength": 200
    },
    "segment": {
      "description": "Customer segment.",
      "type": "string",
      "maxLength": 200
    },
    "delay_minutes": {
      "description": "Send the survey after this many minutes (0 = now).",
      "type": "integer",
      "minimum": 0,
      "maximum": 525600
    },
    "custom_fields": {
      "description": "Extra custom data, keyed by field name. Names must end in \"_c\", e.g. {\"branch_location_c\": \"Portland\"}.",
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {
        "type": "string"
      }
    }
  },
  "required": [
    "email"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🔴asknicely_remove_contact(search, key)

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}.

入力スキーマ

{
  "type": "object",
  "properties": {
    "search": {
      "type": "string",
      "minLength": 1,
      "maxLength": 320,
      "description": "The value to find, e.g. [email protected]."
    },
    "key": {
      "description": "Field to search by: \"email\" (default), \"id\", or a custom field name such as \"customer_id_c\".",
      "type": "string",
      "pattern": "^[a-z][a-z0-9_]{0,63}$"
    }
  },
  "required": [
    "search"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}

コミュニティ

このサーバーを評価する

エビデンス

最近の観測

検証済みバージョンは記録されていませんツール 8 件