Context7
Up-to-date docs for AI agents
作者提供的说明(英文原文)
Scraper API for HTML, Markdown, and screenshots, web search, and account usage for AI agents.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
适用于网页版、桌面版和手机版 Claude:
https://mcp.mrscraper.com/mcp在终端中运行这条命令
claude mcp add --transport http mrscraper https://mcp.mrscraper.com/mcp粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"mrscraper": {
"url": "https://mcp.mrscraper.com/mcp"
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"mrscraper": {
"type": "http",
"url": "https://mcp.mrscraper.com/mcp"
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
ChatGPT 只能连接互联网上的服务器:
https://mcp.mrscraper.com/mcp菜单名称可能因套餐和版本不同而略有差异。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
服务器要求先登录,才会列出它的工具。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 mrscraper-com 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
在 495 毫秒内响应(HTTP 401)
声明支持 OAuth 登录,你的 AI 应用可以带你去登录
尚未检查;我们会在检查端点时读取工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 3 项适用的基础检查中通过了 3 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在作者的云端运行。通过互联网连接,无需安装,但你发送的内容会经过作者的服务器。
GitHub 仓库最后更新于–,最新版本(0.3.0)于3天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。它通过 URL 连接,所以接受远程 MCP 服务器的应用也可以使用,例如开启开发者模式的 ChatGPT。
同一分类中有:Context7, Codebase Memory, Exa
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Up-to-date docs for AI agents
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
MrScraper MCP is the official MrScraper server for the Model Context Protocol. It connects AI assistants to page content and web search through two tools, plus an account check. Retrieve HTML, Markdown, or screenshots with scraperAPI, discover pages with webSearch, and check your plan and token usage with status.
Use the hosted server with OAuth sign-in, or run the open-source server locally with the @mrscraper/mcp npm package. See the MrScraper MCP documentation for setup instructions and client configurations.
The server exposes three tools:
scraperAPI webSearch status
| Option | Endpoint or command | Best for |
|---|---|---|
| Hosted | https://mcp.mrscraper.com/mcp | A managed Streamable HTTP connection |
| Local HTTP | TRANSPORT=http npx -y @mrscraper/mcp@latest | A self-managed HTTP service |
| Local stdio | npx -y @mrscraper/mcp@latest | MCP clients that launch a local process |
The hosted server signs you in through your browser with OAuth 2.1, so there is no key to copy. Self-hosted and stdio setups use a MrScraper API key from app.mrscraper.com/api-tokens, which the hosted server also still accepts.
ChatGPT and Codex connect to https://mcp.mrscraper.com/mcp/chatgpt, which uses the same sign-in and tools with fewer scraperAPI options (see ChatGPT and Codex endpoint).
Point your MCP client at https://mcp.mrscraper.com/mcp with no credential. The server answers with an OAuth challenge, your client opens a browser, and you approve the connection on app.mrscraper.com.
claude mcp add --transport http --scope user \
mrscraper https://mcp.mrscraper.com/mcp
For clients configured by file, omit the headers block entirely:
{
"mcpServers": { "mrscraper": { "type": "http", "url": "https://mcp.mrscraper.com/mcp" } } }
Use exactly this URL, including the /mcp path. It is the resource identifier access tokens are issued for, and a token minted for a different spelling of the address will be refused.
| Scope | Grants |
|---|---|
scrape:read | webSearch |
scrape:write | scraperAPI |
account:read | status |
A tool called without its scope is refused with 403 insufficient_scope, and your client will offer to grant the missing permission.
scraperAPI submits a scraping job to the backend with POST /, which requires scrape:write. Connections authorized before this scope was advertised need to authorize again and grant it; scrape:read alone does not grant write access.
Disconnect it later under Connected applications in your MrScraper account. Disconnecting revokes the refresh tokens immediately; an access token already issued stops working within the hour.
An API key still works as a bearer token, which is what self-hosted deployments and non-OAuth clients use:
{
"mcpServers": { "mrscraper": { "type": "http", "url": "https://mcp.mrscraper.com/mcp", "headers": { "Authorization": "Bearer YOUR_MRSCRAPER_API_KEY" } } } }
Use your client's environment-variable or secret-storage feature so the key stays out of project files. An API key carries your full account authority, so no scope is enforced against it.
export MRSCRAPER_API_KEY="YOUR_MRSCRAPER_API_KEY"
codex mcp add mrscraper \ --url https://mcp.mrscraper.com/mcp \ --bearer-token-env-var MRSCRAPER_API_KEY
Start Codex from an environment containing MRSCRAPER_API_KEY. Codex stores the environment-variable name in its MCP configuration.
claude mcp add \
--transport http \ --scope user \ --header "Authorization: Bearer YOUR_MRSCRAPER_API_KEY" \ mrscraper https://mcp.mrscraper.com/mcp
Claude Code also supports project and local scopes. Choose the scope that matches how broadly the connection should be available.
Connect MrScraper MCP to this agent. Detect the current MCP client and configure a Streamable HTTP server named mrscraper at https://mcp.mrscraper.com/mcp with no credential. The server uses OAuth 2.1, so the client will open a browser to sign in. If the client cannot do OAuth, fall back to a MrScraper API key from https://app.mrscraper.com/api-tokens stored through the client's environment-variable or secret-storage mechanism and sent as Authorization: Bearer <key>. Reload the MCP client when required, then list the tools and confirm that scraperAPI, webSearch, and status are the only available tools.
| Tool | Choose it when |
|---|---|
scraperAPI | You have a page URL and need HTML, Markdown, a screenshot, or a combination. |
webSearch | You have a search query and need ranked results with links. |
status | You need the account's plan, token usage, or remaining tokens. |
A discovery workflow is webSearch → scraperAPI. Both web tools advertise readOnlyHint: true, openWorldHint: true, and destructiveHint: false; status is read-only and not open-world. Authentication comes from the MCP connection; no tool takes an API token argument.
Only scraperAPI, webSearch, and status are registered. The other old tool names are removed.
| Previous call | Replacement |
|---|---|
fetch | scraperAPI; uses POST, SDK options, and automatic browser fallback by default. |
serp | webSearch; rename query_or_url to url and client_timeout to timeout. |
status | status for account usage; the domain, from, to, action, and api_token_name inputs are gone. |
scrape, rerun, results, result | Removed from this MCP server. |
super_mode becomes super. home_page now maps to warmStart, and token_cap=0 is accepted. Restart the server and reconnect the MCP client after updating so it refreshes tools/list.
The HTTP server adds a second endpoint, /mcp/chatgpt, for the MrScraper plugin in ChatGPT and Codex. It is described under ChatGPT and Codex endpoint. /mcp is unchanged.
webSearch now calls MrScraper's web search action on the Scraper API host and returns a ranked list of results. It gained num_results, and region must be a two-letter country code. The 0.2 options raw, format, language, page, and render_js are no longer supported: calls that still send them succeed, and the options are ignored. MRSCRAPER_SYNC_BASE_URL is gone; MRSCRAPER_FETCH_BASE_URL now covers both web tools.
The options and defaults of scraperAPI follow the Python SDK's scraper_api method. MCP tool names use camel case; their argument names use snake case.
scraperAPIPOST https://api.mrscraper.com/
Start with a known URL:
{
"url": "https://www.scrapethissite.com/pages/simple/" }
Request HTML, Markdown, and a screenshot together:
{
"url": "https://example.com", "html": true, "markdown": true, "screenshot": true, "super": true, "home_page": true, "geo_code": "ID", "timeout": 120 }
Omit browser_rendering or use null to let the service try without a browser and fall back to browser loading. true forces browser loading and false disables it. A screenshot always forces browser loading, even when browser_rendering=false. super selects real-device routing independently.
The JSON body contains url, maxRetries, and optional tokenCap. Page options are query parameters. For API keys, the request also includes the SDK-compatible token query parameter and Authorization/x-api-token headers. OAuth JWTs are sent only through Authorization.
| Input | Default | API mapping / purpose |
|---|---|---|
url | required | Body url; absolute HTTP(S) page URL. |
html | true | Query html; request HTML. |
markdown | false | Query markdown; request Markdown. |
timeout | 120 | Query timeout; integer from 1 to 300 seconds. Transport allows 30 additional seconds. |
geo_code | "US" | Query geoCode; proxy country code. |
proxy_country | omitted | Query proxyCountry; compatibility country field. |
browser_rendering | omitted | Query browserRendering; true/false, or omit/null for automatic fallback. |
super | false | Query super=true when enabled. |
use_proxy | true | Query useProxy=false when disabled. |
proxy | omitted | Query proxy; custom username:password@host:port proxy. |
wait_for_selector | omitted | Query waitForSelector; CSS selector to wait for. |
home_page | false | Query warmStart=true when enabled. |
screenshot | false | Query screenshot=true; also sets browserRendering=true. |
block_resources | false | Query blockResources=true; block images, CSS, and fonts. |
bypass_proxy | false | Query bypassProxy=true; proxy-bypass/resource-blocking option. |
cookie_jar | omitted | Query cookieJar; cookie configuration string. |
headers | omitted | Query headers; target request headers as an object or JSON string. |
max_retries | 3 | Body maxRetries; nonnegative integer, 0 disables retries. |
token_cap | omitted | Body tokenCap; nonnegative integer retry-token budget. |
stream | omitted | Query stream; response is buffered into the normal MCP envelope. |
discard_token_secret | "" | Optional x-discard-token-secret header. |
webSearch只显示了开头部分;其余内容请在仓库中阅读