hs_list_companies

Pack: hubspot · Endpoint: https://gateway.pipeworx.io/hubspot/mcp

Browse all companies in your HubSpot workspace. Returns company IDs, names, domains, and properties. Paginate with limit and after parameters.

Parameters

NameTypeRequiredDescription
limitnumbernoMaximum number of companies to return (default 10, max 100)
afterstringnoPagination cursor from a previous response

Example call

Arguments

{
  "limit": 30
}

curl

curl -X POST https://gateway.pipeworx.io/hubspot/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"hs_list_companies","arguments":{"limit":30}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('hs_list_companies', {
  "limit": 30
});

More examples

{
  "limit": 50,
  "after": "next_page_cursor_xyz789"
}

Response shape

FieldTypeDescription
resultsarrayArray of company objects
pagingobjectPagination information
Full JSON Schema
{
  "type": "object",
  "properties": {
    "results": {
      "type": "array",
      "description": "Array of company objects",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Company ID"
          },
          "properties": {
            "type": "object",
            "description": "Company properties (name, domain, industry, etc.)"
          }
        }
      }
    },
    "paging": {
      "type": "object",
      "description": "Pagination information",
      "properties": {
        "next": {
          "type": "object",
          "properties": {
            "after": {
              "type": "string",
              "description": "Cursor for next page"
            },
            "link": {
              "type": "string",
              "description": "Next page link"
            }
          }
        }
      }
    }
  }
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "hubspot": {
      "url": "https://gateway.pipeworx.io/hubspot/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build May 9, 2026