自定义连接器
任何 MCP 客户端把一个 URL 粘贴到任何支持远程 MCP 的客户端,并在 X-API-Key 请求头中发送你的 Scrapier API 密钥。
https://mcp.scrapier.io/mcp- ClaudeSettings → Connectors → Add
- ChatGPTSettings → Apps → Developer mode → Create
- CursorSettings → MCP → Add new server
为 Claude、Cursor 和 ChatGPT 提供读取任意 Telegram 公开帖子的工具。一条命令即可连接;每次调用都返回类型化 JSON。每条帖子 10 积分。
免费 API 密钥 · 每条帖子 10 积分 · 失败的调用免费
claude mcp add -t http scrapier \ https://mcp.scrapier.io/mcp \ --header "X-API-Key: YOUR_API_KEY"
{ "mcpServers": { "scrapier": {
"command": "npx", "args": ["-y", "mcp-remote", "https://mcp.scrapier.io/mcp",
"--header", "X-API-Key: YOUR_API_KEY"] } } }
{ "mcpServers": { "scrapier": {
"url": "https://mcp.scrapier.io/mcp",
"headers": { "X-API-Key": "YOUR_API_KEY" } } } }
{ "mcpServers": { "scrapier": {
"serverUrl": "https://mcp.scrapier.io/mcp",
"headers": { "X-API-Key": "YOUR_API_KEY" } } } }
# Settings → Connectors → Add custom connector Name: Scrapier URL: https://mcp.scrapier.io/mcp Auth: API key → YOUR_API_KEY
用一个 URL 和你的 API 密钥连接任何支持远程 MCP 的客户端。
把一个 URL 粘贴到任何支持远程 MCP 的客户端,并在 X-API-Key 请求头中发送你的 Scrapier API 密钥。
https://mcp.scrapier.io/mcp选择你的客户端。三步,不到一分钟。
/mcp 查看这些工具。claude mcp add -t http scrapier https://mcp.scrapier.io/mcp --header "X-API-Key: YOUR_API_KEY"
claude_desktop_config.json。{ "mcpServers": { "scrapier": { "command": "npx", "args": ["-y", "mcp-remote", "https://mcp.scrapier.io/mcp", "--header", "X-API-Key: YOUR_API_KEY"] } } }~/.cursor/mcp.json。{ "mcpServers": { "scrapier": { "url": "https://mcp.scrapier.io/mcp", "headers": { "X-API-Key": "YOUR_API_KEY" } } } }search_endpointsrun_scrapemcp_config.json。{ "mcpServers": { "scrapier": { "serverUrl": "https://mcp.scrapier.io/mcp", "headers": { "X-API-Key": "YOUR_API_KEY" } } } }URL: https://mcp.scrapier.io/mcp Auth: API key → YOUR_API_KEY
问一句 "列出你的 Telegram 工具"。代理应能找到 run_scrape 和 search_endpoints。
用 search_endpoints 发现,用 run_scrape 调用。
| 工具 | 返回 | 输入 | 关键字段 | 积分 |
|---|---|---|---|---|
run_scrape | 运行帖子爬虫 | endpoint="telegram-single-post", urls="..." | input_url, success, id, channel_handle, url | 10 |
{
"success": true,
"data": {
"urls": "https://t.me/durov/543",
"post": {
"input_url": "https://t.me/durov/543",
"success": true,
"id": "543",
"channel_handle": "durov",
"url": "https://t.me/durov/543",
"author_name": "Pavel Durov",
"author_url": "https://t.me/durov",
"text": "Telegram has applied for the .gram domain zone...",
"published_at": "2026-08-18T17:37:31+00:00",
"view_count": 3600000,
"view_count_text": "3.6M",
"reactions": [
{
"emoji": "⭐",
"emoji_id": null,
"count": 17300,
"count_text": "17.3K"
}
],
"reaction_count": 111800,
"forwarded_from": null,
"media": [],
"link_preview": null,
"scraped_at": "2026-09-24T13:45:36.376Z"
},
"next_cursor": null
}
}
提示词、工具调用、JSON 和回答。
{
"input_url": "https://t.me/durov/543",
"success": true,
"id": "543",
"channel_handle": "durov"
}输入一个列表,逐条获取帖子,按条件筛选,导出结果。
| Scrapier Telegram MCP本页 | Telegram 官方 API | 通过 MCP 的 Apify actor | |
|---|---|---|---|
| 返回的数据 | 任何公开帖子,类型化 JSON | 你自己的账户和洞察数据 | 因 actor 而异 |
| 所需认证 | 一个 Scrapier 密钥 | Telegram 应用 + 商家账户 | Apify 令牌 |
| 计费模式 | 每次调用 10 积分 | 获批后免费 | 每次运行消耗计算单元 |
| 速率限制 | 每个密钥 3 个并行 | 每用户每小时配额 | 按 actor |
| 最适合 | 研究、数据补全、监控 | 自有账户分析 | 定制的一次性抓取 |
编辑客户端配置后重启客户端。在 Claude Code 中运行 /mcp;在 Cursor 中检查服务器开关是否已打开。
密钥缺失或输错了。请从控制台重新复制。
你超出了套餐的并行请求数。智能体应等待 Retry-After。
分成更小的批次,或把客户端超时提高到 210 秒。
有。Scrapier's MCP 服务器向 Claude、Cursor、Windsurf 和 ChatGPT 提供 Telegram 帖子工具。一条命令即可连接,每次调用都返回类型化 JSON。
用你的 API 密钥运行 <code>claude mcp add -t http scrapier https://mcp.scrapier.io/mcp</code>,然后让 Claude 获取任何公开帖子。它会调用 <code>run_scrape</code> 并直接读取 JSON。
不需要。该服务器只读取公开数据,不使用 Telegram 账户或 Cookie。
每次调用 10 积分,按 Pro 套餐约合每 1,000 条帖子 $1.58。失败的调用免费。
可以。在 ChatGPT 的开发者模式中把 Scrapier 添加为自定义连接器,同样的工具就会出现在对话中。