herascrape

io.github.herascrape由 GitHub 账号 herascrape 发布v0.1.0更新于 Oct 24, 2026

Instagram data over MCP: profiles, posts, reels, stories, highlights and search as JSON

已验证Streamable HTTP可网页运行网页搜索与抓取数据与分析

概览

AI 生成的概览

远程 MCP 服务器,让助手以 JSON 形式只读获取公开的 Instagram 个人资料、帖子、Reels、快拍、互动数据和搜索结果。

可以做什么
  • 解析用户名或用户 ID 获取完整资料,并分页查看粉丝与关注列表
  • 读取用户的帖子、Reels、被标记帖子、快拍、精选和转发,或按 ID 获取单条帖子
  • 读取帖子的评论及其回复,查看点赞帖子或评论的用户
  • 探索话题标签、地点、热门音频及使用某音频的片段
  • 搜索用户、话题标签、音频、地点或通用热门搜索
  • 在 shortcode 与媒体 ID 之间转换、对帖子做 oEmbed、查询账户余额
适用场景
适合需要获取 Instagram 当前公开数据的任务:受众研究、竞品与活动跟踪、网红筛选、趋势与话题标签分析,或为某个资料或帖子补充信息。不涉及 Instagram 或需要私密账号数据的任务无需使用。
运行要求
需要可访问 herascrape.com 的远程端点(streamable HTTP);支持远程 MCP 的客户端可在浏览器中通过 OAuth 授权。仅支持本地 stdio 的客户端需 Node.js 18 或更高版本运行 npx 桥接,并提供 herascrape API 密钥,放在 HERASCRAPE_API_KEY 中(以 x-api-key 发送)。可用 HERASCRAPE_MCP_URL 覆盖服务器地址。
安装前请注意
每次成功(2xx)调用按 0.0004 美元计费,使用会产生费用;媒体解析、oEmbed 和余额查询免费。本地桥接会把 API 密钥作为 x-api-key 转发,请勿写入共享配置。虽说明为只读,但所查询的内容和账户信息会发送给第三方服务。

安装

在 SourceWeft 中

  1. 打开 控制台中的 herascrape,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.github.herascrape%2Fherascrape-mcp/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "herascrape": {
      "type": "http",
      "url": "https://herascrape.com/mcp"
    }
  }
}

README

herascrape-mcp: Instagram MCP server

[npm] [License: MIT] [Install MCP Server]

Instagram data for AI agents, over the Model Context Protocol. Point Claude, Cursor, ChatGPT, VS Code, or any MCP client at herascrape-mcp and it can read public Instagram profiles, content, engagement, and search results directly: no scraping code, no browser, no login.

Every endpoint is one tool, generated from the live API, so the tool list never drifts from what the server serves. It is read-only, cursor-paginated, and flat $0.0004 per successful call (only 2xx is billed; the media resolver, oEmbed and the balance check are free). Powered by the herascrape Instagram API; to call it from code instead, use the Python & TypeScript client.

What agents can do with it

  • Profiles & audiences: resolve a username or user id to a full profile; page a user's followers and following; pull the "about" / account details.
  • Content: a user's posts, reels, tagged posts, live stories, highlights, and reposts; fetch any individual post or reel by id.
  • Engagement: read a post's comments and their replies; see who liked a post or a comment.
  • Discovery: hashtag top / recent / reels; a location's top & recent media; trending audio and the clips using a given audio track.
  • Search: users, hashtags, audio, places, and a universal "top" search.
  • Utilities: convert between a shortcode and a media id, oEmbed a post, and check your live balance.

Agents reach for these when a task needs what's actually on Instagram right now: audience research, competitor and campaign tracking, influencer vetting, trend and hashtag analysis, enriching a profile or a post.

One-click install

The button above opens a client picker and installs herascrape-mcp wherever you run agents. For clients with native one-click install:

[Add to Cursor] [Add to VS Code] [Add to VS Code Insiders] [Add to Visual Studio] [Add to LM Studio] [Add to Goose]

Get an API key (or sign in to authorize in-browser) from your herascrape dashboard.

Manual install

Remote (recommended): connect by URL, authorize in the browser

Hosts that support remote MCP connect to the hosted server and authorize with a click (OAuth); no key to copy.

  • Claude Code: claude mcp add herascrape --transport http https://herascrape.com/mcp

  • Cursor / Claude Desktop / ChatGPT:

    json
    {  "mcpServers": {    "herascrape": { "url": "https://herascrape.com/mcp" }  }}

Local (stdio-only hosts): npx, with an API key

For hosts that only run local (stdio) servers (Node ≥ 18). The bridge is a thin stdio-to-HTTP proxy to the hosted server: it forwards your API key as x-api-key and relays the live tool list and calls; it defines no tools of its own. Get a key from your dashboard.

  • Claude Code:

    sh
    claude mcp add herascrape --env HERASCRAPE_API_KEY=your_key -- npx -y herascrape-mcp
  • Claude Desktop / Cursor (claude_desktop_config.json / .cursor/mcp.json):

    json
    {  "mcpServers": {    "herascrape": {      "command": "npx",      "args": ["-y", "herascrape-mcp"],      "env": { "HERASCRAPE_API_KEY": "your_key" }    }  }}

Configuration

VariableDefaultPurpose
HERASCRAPE_API_KEYnoneSent as x-api-key. Required for the local (stdio) bridge.
HERASCRAPE_MCP_URLhttps://herascrape.com/mcpOverride the server URL (e.g. staging).

License

MIT

来源:README.md,提交 3af3b11

工具

0
SourceWeft 尚未读取此服务器的工具。

版本历史

1
  1. v0.1.0最新Oct 23, 2026

评分

已满足适用检查项的 85%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分