telegram_channel_posts

Pack: telegram-channels · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)

No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/telegram_channel_posts for the schema, then POST the same URL with its arguments for the data.

Recent posts from a public Telegram channel, newest first: post id and link, date, text, view count, and whether it carries photo, video or link media. Source: Telegram public channel web preview. About 20 posts per page; pass before_id (a post id) to page back.

Parameters

NameTypeRequiredDescription
channelstringyesChannel username, e.g. “durov”
limitnumbernoMax posts, 1-20 (default 20)
before_idnumbernoOnly posts older than this post id (for paging back)

Example call

Arguments

{
  "channel": "durov",
  "limit": 5
}

curl

curl -X POST https://gateway.pipeworx.io/telegram-channels/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"telegram_channel_posts","arguments":{"channel":"durov","limit":5}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('telegram_channel_posts', {
  "channel": "durov",
  "limit": 5
});

Response shape

FieldTypeDescription
channelstring
countnumber
next_before_idnumber
postsarray
sourcestring
Full JSON Schema
{
  "type": "object",
  "properties": {
    "channel": {
      "type": "string"
    },
    "count": {
      "type": "number"
    },
    "next_before_id": {
      "type": "number"
    },
    "posts": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "post_id": {
            "type": "number"
          },
          "url": {
            "type": "string"
          },
          "date": {
            "type": "string"
          },
          "text": {
            "type": "string"
          },
          "views": {
            "type": "number"
          },
          "has_photo": {
            "type": "boolean"
          },
          "has_video": {
            "type": "boolean"
          },
          "has_link_preview": {
            "type": "boolean"
          },
          "forwarded_from": {
            "type": "null"
          }
        },
        "additionalProperties": true
      }
    },
    "source": {
      "type": "string"
    }
  },
  "additionalProperties": true
}

Connect

Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://pipeworx.io/mcp"
    }
  }
}
Connect to just the telegram-channels pack
{
  "mcpServers": {
    "telegram-channels": {
      "url": "https://gateway.pipeworx.io/telegram-channels/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build November 21, 2026