localscreenshot

com.localscreenshot由 localscreenshot.com 发布官方发布者v1.0.3更新于 Oct 24, 2026

Screenshot API for AI agents. Any public page as image or PDF, banners hidden, 227 countries.

已验证Streamable HTTP可网页运行网页搜索与抓取浏览器自动化

概览

AI 生成的概览

托管截图服务的免费 MCP 端点,让助手截取示例页面、列出可截图国家并查询价格。

可以做什么
截取三个示例页面之一的真实截图,可选两种设备(仅演示,不能截取自选页面)。列出可截图的国家及其两位字母代码。查询价格:每月免费额度、免费账户限制、单张截图消耗的额度以及付费方案起点。在主端点使用免费 API 密钥后,同一服务器还可将任意公开页面截为图片或 PDF,支持设备、视口、国家、点击和隐藏等选项,并可查询剩余额度。
适用场景
适合在不注册的情况下试用服务、了解截图结果的样子,以及在决定使用前查看国家覆盖和费用。若要截取自己的页面,应安装带密钥的主端点。
运行要求
远程 HTTP 端点,无需本地运行时。免费端点不需要账户或密钥。截取自选页面需要免费账户,并在主端点以 Authorization Bearer 请求头发送 API 密钥。需要能访问该服务的网络。
安装前请注意
免费端点不能截取自选页面,只返回示例截图、国家列表和价格。带密钥端点会把目标页面地址发送给第三方服务并消耗额度:每张截图 1 点,指定国家 2 点,每次点击再加 1 点。失败的截图不计费,每月未用额度不结转。它无法登录网站、破解验证码或绕过付费墙。

安装

在 SourceWeft 中

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

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

交给智能体安装

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

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

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

其他 MCP 客户端

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

{
  "mcpServers": {
    "localscreenshot": {
      "type": "http",
      "url": "https://api.localscreenshot.com/mcp/free"
    }
  }
}

README

localscreenshot - Screenshot API & MCP Server

Take a screenshot of any public web page from 227 countries, with cookie banners and ads hidden. Use it from your code with the REST API, or from your AI assistant through the Model Context Protocol.

This repository is the public documentation of the hosted service: the MCP endpoint, the tools, the client setups and the registry manifest. The service itself runs at localscreenshot.com, the command line client lives in localscreenshot-cli.

Quick start, no API key

Any HTTP MCP client can connect to the free endpoint. Real screenshots, no sign-up:

json
{  "mcpServers": {    "localscreenshot": {      "type": "http",      "url": "https://api.localscreenshot.com/mcp/free"    }  }}

It answers initialize, tools/list, prompts/list and resources/list without credentials, and gives three tools: a real screenshot of one of three example pages, the list of countries, and the prices. It cannot capture a page of your choice.

As a plugin

The repository follows the Open Plugins standard, so directory scans find it: plugin.json carries the identity, mcp.json declares the connection. Both point at the free endpoint above, which means an install works immediately and gives the three demo tools listed below.

To capture a page of your choice through the same plugin, replace the url and add the headers block in mcp.json with the keyed setup in the next section. Nothing else changes, the tools are the same ones, they just stop being limited to the example pages.

With your own key

A free account gets 50 credits every month, no card: localscreenshot.com/signup. Create the key in the dashboard, under Connect.

json
{  "mcpServers": {    "localscreenshot": {      "type": "http",      "url": "https://api.localscreenshot.com/mcp",      "headers": {        "Authorization": "Bearer YOUR_API_KEY"      }    }  }}

Claude Code, in one line:

bash
claude mcp add --transport http localscreenshot https://api.localscreenshot.com/mcp --header "Authorization: Bearer YOUR_API_KEY"

Setups for each tool, written from that tool's own documentation: localscreenshot.com/mcp and docs.localscreenshot.com/agent.

Tools

With a key:

ToolWhat it does
take_screenshotTakes the screenshot. Returns the image, the page title, its final address and status, and the credits left.
list_countriesLists the countries a screenshot can be taken from.
get_creditsSays how many credits are left.

On the free endpoint:

ToolWhat it does
take_demo_screenshotA real screenshot of one of three example pages, in one of two devices.
list_countriesThe same country list, no key needed.
get_pricingThe credit costs of the service.

take_screenshot accepts the same options as the API, except async and response: the server waits for the picture and decides how to hand it back. The image is scaled down to 1,568 pixels wide unless you ask for another width, which keeps it readable for a vision model without spending tokens for nothing. A PDF, or an image over 4 MB, comes back as a short-lived download link instead of an attachment. Errors arrive as a plain sentence with their code.

Options

take_screenshot exposes the 28 parameters of the API, minus async and response: the server waits for the picture and decides how to hand it back.

ParameterTypeWhat it does
urlstringThe public http or https page to capture.
countrystringLoad the page from this country, an ISO 3166-1 alpha-2 code. Costs 2 credits instead of 1. The response reports the country actually observed. If it cannot be obtained, the request fails and is not charged.
viewportstringScreen size as WIDTHxHEIGHT, for example 1440x900. Shortcut for the two below.
viewport_widthintegerWidth of the browser window, in pixels.
viewport_heightintegerHeight of the browser window, in pixels. With full_page, the image is taller than this.
full_pagebooleanCapture the whole scrollable page instead of the visible part.
devicestringCapture as this device, meaning screen size, pixel density and mobile browser. One of desktop, desktop_hd, laptop, ipad, ipad_pro, ipad_mini, iphone_15, iphone_15_pro_max, iphone_se, pixel_8, galaxy_s24.
orientationstringHold a phone or a tablet upright (portrait) or on its side (landscape). Needs a phone or tablet device.
device_scale_factornumberPixel density. 2 gives a sharper, larger image.
formatstringpng, jpeg, webp, or pdf which saves the whole page as a document.
qualityintegerQuality for jpeg and webp. Ignored for png and pdf.
selectorstringCapture only the first element matching this CSS selector.
max_widthintegerScale the image down to this width. Useful to keep it small for a vision model.
click_textstringClick one visible button, tab or other clickable element, pointed at by the text a visitor reads, for example "Show all". One click, no typing. Costs 1 more credit.
click_selectorstringThe same click, pointed at by a CSS selector matching exactly one element. Use it when you know the code of the page. One click, no typing. Costs 1 more credit.
wait_forstringWait until an element matching this CSS selector is visible.
delay_msintegerExtra wait before the capture, in milliseconds.
block_cookie_bannersbooleanRemoves most cookie banners. A banner the filters do not know stays in the picture.
block_adsbooleanBlocks ads.
block_chat_widgetsbooleanHides chat bubbles.
close_popupsbooleanCloses pop-ups and newsletter overlays.
hide_sticky_elementsbooleanHides headers, bars and buttons that stay fixed on screen.
hide_selectorsarrayHides every element matching these CSS selectors.
disable_animationsbooleanFreezes animations and transitions.
color_schemestringAsk the page for its light or dark theme.
languagestringBrowser language, for example fr or fr-FR. Without it, a screenshot from a country uses the main language of that country.
timezonestringBrowser time zone, for example Europe/Paris. Without it, a screenshot from a country uses the main time zone of that country.
user_agentstringUser-Agent the page receives. A preset (googlebot, googlebot_mobile) or your own string. Useful to compare what a site shows to a crawler and to a visitor. A site that checks the crawler's address is not fooled.

Full details: Take a screenshot.

What it costs

  • 1 credit for a screenshot, 2 from a chosen country. A failed screenshot is not charged.
  • 50 free credits every calendar month, no card. Unused credits do not carry over.
  • A free account can send 10 requests a minute and run 2 screenshots at a time.
  • Plans and credit packs: localscreenshot.com/pricing.

Countries

227 countries, from AD Andorra onward. The list is served by GET https://localscreenshot.com/v1/countries, documented on Countries and attestation. The response of a country-specific capture reports the country actually observed, and a capture that could not be obtained from that country fails and is not charged.

REST API

bash
curl -H "Authorization: Bearer YOUR_API_KEY" \  "https://localscreenshot.com/v1/screenshot?url=https://example.com"

The response is the image. Add response=json for a link to the image plus the page details and the attestation. POST with a JSON body works the same way. Background captures return an id, read it at /v1/screenshots/{id}.

Command line

bash
npx localscreenshot https://example.com --full-pagepipx run localscreenshot https://example.com --country BR

Both packages are built from localscreenshot-cli, with no dependency and no telemetry. The key comes from LOCALSCREENSHOT_API_KEY or from localscreenshot login.

What it does not do

It cannot sign in to a website, solve a CAPTCHA or get past a paywall. It captures public pages only.

Links

License

MIT. See LICENSE.

来源:README.md,提交 2f4d0fc

工具

3

take_demo_screenshot

Take a demo screenshot

See what a localscreenshot result looks like: a real screenshot of one of our example pages. It does not capture a page of your choice. For that, create a free account and use the main MCP server with an API key.

输入参数page必填device

list_countries

List countries

List the countries a screenshot can be taken from, with their two-letter codes. Choosing a country needs an account: this free endpoint only lists them.

无需输入参数。

get_pricing

Get pricing

What localscreenshot costs: the free credits every account gets each month, the limits of a free account, what a screenshot costs in credits, and where paid plans and credit packs start.

无需输入参数。

版本历史

3
  1. v1.0.3最新Oct 16, 2026
  2. v1.0.2Oct 13, 2026
  3. v1.0.0Oct 12, 2026

评分

已满足适用检查项的 100%

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

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分