Home / Servers / Intercom API / list_segments

List all segments

An MCP tool from the Intercom API server, hosted on mcp.hjlabs.in.

List all segments You can fetch a list of all segments. [GET /segments]

Name on the gateway: intercom_api__list_segments · read-only.

Parameters

NameTypeDescription
include_countbooleanIt includes the count of contacts that belong to each segment.

How to call it

Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:

call_tool arguments
{
  "name": "intercom_api__list_segments",
  "arguments": {}
}

Or connect the Intercom API server directly, which lists 108 tools including this one:

Run in your terminal
claude mcp add --transport http hj-intercom-api https://mcp.hjlabs.in/mcp/intercom-api \
  --header "Authorization: Bearer YOUR_API_KEY"

Try asking

Use the list all segments tool with include_count set to ….

More from Intercom API