Pagination

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://api-reference.usecommune.dev/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
{
  "REST API MCP server": {
    "url": "https://api-reference.usecommune.dev/mcp"
  }
}

Close

Collections are cursor paginated. A response carries data plus a pagination object holding an opaque next_cursor. Pass it back as ?cursor= to fetch the following page. There is no offset, limit-offset or page number, and a cursor is not a durable identifier.

Example
curl "https://api.usecommune.com/newsletters/the-weekly/articles?limit=10" \
  -H "Authorization: Bearer $COMMUNE_API_KEY" \
  -H "Commune-Version: 2026-08-26"

The page arrives as data, and after it the cursor to the next:

"pagination": {
  "has_more": true,
  "next_cursor": "Y3Vyc29yOjE3NTY0MjM2MDAwMDA6MDE5MmM4"
}

Pass the cursor back, with the same filters, for the page after it:

curl "https://api.usecommune.com/newsletters/the-weekly/articles?limit=10&cursor=Y3Vyc29yOjE3NTY0MjM2MDAwMDA6MDE5MmM4" \
  -H "Authorization: Bearer $COMMUNE_API_KEY" \
  -H "Commune-Version: 2026-08-26"