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 分