anysite MCP Server
Any website as MCP tools: a real Chrome signed in as you, and shortcuts the agent saves as tools.
anysite scores 67 (Good), licensed MIT and written in JavaScript. It installs as a local process. It declares 8 tools. Filed under Uncategorized. GitHub shows 1 stars. Package registries report about 172 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
67 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade A
90/100 for listing completeness. Lost points: short summary, no docs link.
How quality is graded
Where the 67 comes from
22 + 20 + 1 + 10 + 4 + 10 = 67. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 1 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 10 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "dwytmcl-anysite-mcp": { "command": "npx", "args": [ "-y", "anysite-mcp@0.8.0" ], "env": { "ANYSITE_HEADLESS": "", "ANYSITE_CHROME": "", "ANYSITE_HOME": "", "ANYSITE_CHROME_ARGS": "", "ANYSITE_DOWNLOADS": "", "ANYSITE_LIBRARY": "" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
ANYSITE_HEADLESS | Optional | Set to 1 to run Chrome without a window (sign-in still opens one) |
ANYSITE_CHROME | Optional | Path to the Chrome or Chromium binary |
ANYSITE_HOME | Optional | Where profiles, saved shortcuts and settings.json live (default ~/.anysite-mcp) |
ANYSITE_CHROME_ARGS | Optional | Extra Chrome flags, e.g. --no-sandbox when running as root in a container |
ANYSITE_DOWNLOADS | Optional | Folder for files saved by web_download (default ~/Downloads/anysite) |
ANYSITE_LIBRARY | Optional | A folder or URL to read the shortcuts library from instead of the public one |
Tools8Tool docs quality grade C
All capabilitiesweb_extracttoolRows as JSON, one per matching element (role: "row", "listitem", "article"…), with optional fields looked up in each
web_logintoolOpen a plain window so you can sign in
web_opentoolGo to a URL (absolute or relative to the site)
web_readtoolText of the page or of one element
web_recordtoolWatch the user do a job in the site's window and save it as a shortcut
web_screenshottoolPNG of the page, for when the tree is not enough
web_snapshottoolThe page's accessibility tree: roles, names, text, and a ref per element ([ref=e12]). Give ref or role/name to see only part of it, depth for an outline.
web_waittoolWait, or wait until some text appears
About
anysite-mcp
Your agent learns a website once, then keeps it as a tool.
A real Chrome, signed in as you, on your own computer.
claude mcp add anysite -- npx -y anysite-mcp
No API keys. No cloud browser. No extra LLM. Your logins never leave your machine.
Quick start · Why it's different · Tools · Shortcuts · Shortcut Library · Packs · Safety · Docs · FAQ
What it is
anysite-mcp is an MCP server that drives a real Chrome on your computer. Every site gets its own browser profile that you sign in to once, by hand. The agent then works the site the way a screen reader does, by role and name, so small redesigns don't break it.
When the agent gets a job done, it can save the steps as a shortcut, and that shortcut becomes a new tool it can call in one step next time.
Your accounts, kept apart One Chrome profile per site, signed in by hand once. Google sign-in works.
Gets faster with use A job the agent has figured out becomes a one-call tool that's there next session. Shortcuts are tested before they're saved and fail loudly if a page stops looking right.
Repairs itself When a site renames a button or swaps it for a link, the shortcut finds the new one and updates itself. No extra LLM needed.
Learns by watching
Run anysite-mcp record github.com my_job, do the job by hand, and it's a tool.
You set the limits Per site: read-only, ask before sending, buying or deleting, and which domains it may open.
Light on tokens
After each action the agent sees only what changed, and points at elements by ref. web_extract turns lists and
tables into JSON.
A shared, health-checked library Community shortcuts are tested against the live sites every week, and you can search them from the terminal.
Packs for popular sites Gemini and NotebookLM are included. A new pack is one file.
See it in action
You: Ask Gemini to summarise this PDF, then add the summary as a source to my "Thesis" notebook in NotebookLM.
Claude: gemini_ask { prompt: "Summarise this PDF in 10 bullet points", files: ["~/Downloads/paper.pdf"] }
→ - The study compares … (Chat: https://gemini.google.com/app/…)
notebooklm_add_source { notebook: "Thesis", text: "- The study compares …" }
→ Added pasted text.
You: Check my GitHub notifications.
Claude: web_open { site: "github.com", url: "/notifications" }
→ This looks like a sign-in page. Call web_login for "github.com" …
web_login { site: "github.com" }
"A Chrome window opened on GitHub. Sign in there, then quit that window and tell me."
You: done
Claude: web_open { site: "github.com", url: "/notifications" } → (accessibility tree of your inbox)
web_save_shortcut { site: "github.com", name: "notifications",
description: "List unread GitHub notifications",
steps: [{ "action": "open", "url": "/notifications" }, { "action": "read", "role": "main" }] }
→ Saved github_com_notifications.
(Next week, in a new session)
You: Anything new on GitHub?
Claude: github_com_notifications {} → 3 unread: …
Why another browser MCP?
Most browser tools make the agent rediscover a site every session. anysite-mcp keeps what it learned.
| anysite-mcp | Playwright MCP | browser-use / Stagehand | |
|---|---|---|---|
| Signed in as you | Yes, a separate profile per site, signed in by hand once | One browser for everything (its extension can use your Chrome) | Usually cloud or fresh browsers |
| Google sign-in (Gemini, NotebookLM, Gmail) | Works: sign-in happens in a plain, non-automated window | Often refused as an "insecure browser" | Often refused |
| Gets faster with use | The agent saves working steps as new tools | No | Some cache actions |
| Survives redesigns | Saved steps repair themselves | No | With an LLM call |
| Learn by watching you | record mode | No | No |
| Per-site permissions | Read-only, confirm, allowed domains | No | No |
| Site packs and shared shortcuts | Gemini, NotebookLM, a health-checked library | No | No |
| Needs an LLM API key | No | No | Yes |
[!NOTE] Profiles are kept apart on purpose. Copying a signed-in profile so two browsers share one session gets that session revoked by Google (and other careful sites), which logs you out everywhere.
Quick start
Requirements: Node 22+ and Chrome (or
npx playwright install chromium). Works on macOS, Windows and Linux.
1. Sign in to the sites you want, once each. A normal Chrome window opens; sign in, then quit it (Cmd+Q on a Mac, close all its windows on Windows and Linux).
npx -y anysite-mcp login gemini
npx -y anysite-mcp login notebooklm
npx -y anysite-mcp login github.com
2. Add the server to your agent.
claude mcp add anysite -- npx -y anysite-mcp
Add this to claude_desktop_config.json or the client's MCP settings:
{ "mcpServers": { "anysite": { "command": "npx", "args": ["-y", "anysite-mcp"] } } }
3. Ask your agent to do something on one of those sites. That's it.
With no arguments the server offers every site you have signed in to. To pick sites, list them:
npx -y anysite-mcp gemini github.com. The agent can also add a new site at any time by calling web_login.
anysite-mcp is listed in the MCP Registry as
io.github.DwytMCL/anysite-mcp, so clients that browse the registry can find and install it.
Tools
Any site
Each tool takes site: a pack name like gemini, or a domain like github.com.
| Tool | What it does |
|---|---|
web_snapshot | The page's accessibility tree: roles, names, text, and a ref per element ([ref=e12]). Give ref or role/name to see only part of it, depth for an outline. |
web_open | Go to a URL (absolute or relative to the site) |
web_click, web_type, web_select, web_press | Act on an element found by ref, by role and name, or by visible text (add within: "dialog" and so on to look only inside one part of the page). Returns only what changed; show: "full" for the whole page. |
web_read | Text of the page or of one element |
web_extract | Rows as JSON, one per matching element (role: "row", "listitem", "article"…), with optional fields looked up in each |
web_wait | Wait, or wait until some text appears |
web_upload, web_download | Give files to a file picker; save a download |
web_screenshot | PNG of the page, for when the tree is not enough |
web_login | Open a plain window so you can sign in |
web_save_shortcut, web_list_shortcuts, web_delete_shortcut | Turn a working sequence into a tool named <site>_<name> (tried once before it's saved) |
web_record | Watch the user do a job in the site's window and save it as a shortcut |
Every tool carries MCP annotations for clients that use them, for example to ask before a destructive tool runs. Tools that only read are marked read-only, and tools that can change something on a page (clicking, typing, choosing, pressing keys, uploading) are marked destructive. Shortcut tools are marked by what their steps do.
Packs included
| Pack | Tools |
|---|---|
gemini | gemini_ask (prompt, files, model, tools such as Create image or Deep Research; returns the reply as markdown), gemini_list_chats |
notebooklm | notebooklm_ask, notebooklm_add_source (URLs, text, files), notebooklm_create_notebook, notebooklm_list_notebooks |
Shortcuts
A shortcut is a list of steps, each one the arguments of a web_* tool plus its action. {{param}} is
filled in from the tool's arguments, and the shortcut returns the text of its read steps.
- A step's
expectis text that must be on the page afterwards, so a shortcut fails instead of returning the wrong thing. - Before saving, the steps are run once with
test_args(setverify: falsefor steps that must not happen twice, like sending). - Shortcuts are saved in
~/.anysite-mcp/sites/<site>.json, which you can edit, share or commit. The file is versioned ("version": 1); an older file is kept as<site>.v0.bakthe first time it is saved.
{
"search": {
"description": "Search Hacker News and return the results",
"params": { "query": "What to search for" },
"steps": [
{ "action": "open", "url": "https://hn.algolia.com/?q={{query}}" },
{ "action": "wait", "seconds": 5, "until_text": "results", "expect": "{{query}}" },
{ "action": "read", "role": "main" }
]
}
}
A param is either a description string or an object:
{ "description": "How many results", "type": "number", "optional": true, "default": 5, "example": 10 }
type is "number" or "boolean" (text if left out). example is a sample value that only doctor uses.
A shortcut that needs you to be signed in can say "needsSignIn": true, so the library's weekly check leaves it unchecked
instead of marking it broken.
When a site changes
A step whose element is gone is repaired before it fails:
- First with other ways to find it that were noted when the shortcut was saved (its label, its text).
- Then with the closest element of a similar role on the page. "Search products" finds "Product search"; a button that became a link is still found.
Only a single clear match counts. The shortcut file is updated and the agent is told what changed. If nothing fits, the error says which step and why, and the agent can redo the job and save the shortcut again.
Record a shortcut by doing the job yourself
npx -y anysite-mcp record github.com star_repo
Chrome opens on the site; click and type as usual, then press Enter in the terminal. Each typed value becomes a
parameter, with what you typed as its default. The agent can do the same with web_record.
Check your shortcuts
npx -y anysite-mcp doctor
Add --json to get the results as JSON for a script: { "checked": 2, "sites": [{ "site": "github.com", "shortcuts": [{ "name": "trending", "status": "ok", "detail": "" }] }] }. status is ok, repaired or broken, and checked is the number of shortcuts checked. The exit code is 1 if any is broken.
doctor follows each shortcut while its steps only open and read pages, checks that the element of the first
step that would act is there, and repairs what it can. It never clicks or types.
Each parameter gets its example if it has one, then its default. Otherwise an optional parameter is left empty, so
the check sees the page the way a plain call would, and a required one gets "test". If an optional parameter breaks
the page when it's empty (say, an empty search in the page address), give it an example. A default works too, but
it also changes what users get when they leave the parameter out.
The Shortcut Library
Shared shortcuts live in library/, and you can browse them on the
Shortcut Library site. Add a site's shortcuts with one command, and
send yours in a pull request.
npx -y anysite-mcp add github.com # install a site's shared shortcuts
npx -y anysite-mcp library search wikipedia # matches, with their health and add command
npx -y anysite-mcp library list github.com # every site, or one site's shortcuts
npx -y anysite-mcp library info en.wikipedia.org/summary
npx -y anysite-mcp library check # which of your shortcuts differ from the library's (changes nothing)
Health checked every week. A scheduled job runs every library shortcut against the live site, and each one shows its result on the site and in the terminal:
| Badge | Meaning |
|---|---|
| ✓ passing | Ran cleanly on the last check |
| ~ repaired | Worked after a self-repair |
| ✗ broken | Failed on the last check |
| not checked yet | Never checked, or edited since |
| not recently checked | No check in 14 days |
library, add and permissions don't need Chrome installed.
Write a pack
For logic that steps can't express (waiting for a streamed answer, parsing a list), write a pack: a file in
~/.anysite-mcp/sites/<name>.js. It needs no dependencies; z (zod) and some helpers are passed in. The bundled
sites/gemini.js and sites/notebooklm.js are full examples.
export default ({ z, kit }) => ({
url: 'https://news.ycombinator.com/',
tools: {
top: {
description: 'Titles and links of the Hacker News front page',
input: { limit: z.number().optional() },
run: async (page, { limit = 10 }) => {
await page.goto('https://news.ycombinator.com/');
const links = await page.locator('.titleline > a').evaluateAll(as => as.map(a => `${a.innerText}\t${a.href}`));
return links.slice(0, limit).join('\n');
},
},
},
});
Mark a tool writes: true if it changes something. It then obeys a site's read-only and confirm settings, and
clients see it as destructive. Mark it readOnly: true if it only reads, as top could.
For a tool that takes a while, run gets a fourth argument, { progress }. Call progress(done, total, message)
now and then, e.g. progress(30, 300, 'Waiting for the reply (30 s)'). Clients that show progress get it, and for
the rest it does nothing.
A pack can say version: 1 (the pack API version; no version means 1), and a pack written for a newer one is refused
with a message naming the file. Everything a pack can use is in docs/pack-api.md.
Then run npx -y anysite-mcp login hn (or just use site: "hn"), and the agent gets hn_top. A pack in
~/.anysite-mcp/sites with the same name as a bundled one replaces it. Pull requests with new packs are
welcome.
How it works
- Each site's Chrome runs with its own
--user-data-dirin~/.anysite-mcp/profiles/<site>and a debugging port it picks itself. The server reconnects to it if it is still open, so tabs survive restarts. - Sign-in uses a plain Chrome with no debugging port, because Google and others block sign-in in automated browsers.
- Elements are found with Playwright's role, label and text locators, never CSS selectors. When a click is blocked by an overlay, the element is operated from the keyboard instead.
| Variable | What it does |
|---|---|
ANYSITE_HOME | Where profiles and shortcuts live (default ~/.anysite-mcp) |
ANYSITE_CHROME | Path to the Chrome or Chromium binary |
ANYSITE_PROTOCOL=2026-07-28 | Experimental. Also accept clients that speak MCP revision 2026-07-28 (2025-11-25 is always accepted). Such a client gets list-change notifications only if it subscribes, and in a site's confirm mode actions are refused, not asked about, because the question is not yet supported on that revision. |
ANYSITE_TOOL_TIMEOUT | Seconds a tool call may run before it returns an error (default 180, 0 for no limit). A tool with its own timeout_seconds (such as gemini_ask) may run that long plus 30 seconds if that is more |
ANYSITE_HEADLESS=1 | Run the automated Chrome without a window; it is closed when the server exits. Sign-in always opens a window. |
ANYSITE_CHROME_ARGS | Extra Chrome flags, e.g. --no-sandbox when running as root in a container |
ANYSITE_DOWNLOADS | Where downloads go (default ~/Downloads/anysite) |
ANYSITE_LIBRARY | Where library reads the Shortcut Library from: a folder (e.g. _site/library after a local build) or a URL |
Permissions and safety
The agent acts as you on the sites you sign in to. Each site can be limited, and only you can change the limits (the agent has no tool for it):
npx -y anysite-mcp permissions mail.google.com --read-only # no sending, deleting, posting or uploading
npx -y anysite-mcp permissions github.com --confirm # ask me first
npx -y anysite-mcp permissions github.com --allow github.com,githubusercontent.com
npx -y anysite-mcp permissions github.com # show the current settings
| Mode | What it does |
|---|---|
| Read-only | Judges each click by what the element does. Links only open pages, so they're allowed, unless the address logs out, deletes or unsubscribes. Buttons that submit a POST form are blocked whatever they're called. Other buttons are blocked when labelled like send, post, buy, pay, delete, remove, reply, share and so on. Enter in a field is allowed when it submits a GET form (searches do) or, outside a form, when the field is a search box. Uploads and pack tools that change things are blocked too. |
| Confirm | Asks you in your MCP client before those same actions. Clients that can't ask make the action fail. |
| Allowed domains | web_open only goes to the site's own domain (gemini.google.com may open any google.com page) unless you allow more. This keeps a page from steering the agent to another site with this profile's cookies. |
[!WARNING] These are guard rails, not a sandbox: a button that saves something through script, with a plain label like "Go", can get past them, so still only sign in where you're happy for the agent to act. Settings live in
~/.anysite-mcp/settings.json. Profiles hold your cookies: never share or commit~/.anysite-mcp/profiles.
Security: to report a vulnerability, see SECURITY.md. Please don't open a public issue.
Documentation
| Stability | What 1.0 keeps stable: tools, CLI, settings, file formats, the library's files |
| Pack API | Everything a pack can use, and how pack versions work |
| Threat model | What a malicious page can try, and what the permissions do about it |
| Contributing | Setting up, tests, packs and releases |
| Changelog | What changed in each version |
FAQ
It can do anything you can do on the sites you sign in to, so only sign in to sites you're happy for it to use.
Each site has its own profile, so it never sees your other logins. Use anysite-mcp permissions to make a site
read-only or to have it ask you first.
anysite-mcp uses a normal Chrome at human speed, and signs in by hand. Still, read the terms of the sites you automate, and don't use it for bulk scraping.
Yes: it's a standard MCP server over stdio, so any MCP client works.
Google and other careful sites revoke sessions that show up in two browsers at once, which logs you out everywhere. One profile per site avoids that.
Development
npm install
npm test # unit tests, then a headless self-check against a local test shop
npm run test:unit # unit tests only (no Chrome needed)
npm run lint # ESLint and a TypeScript check of all the code
npm run check:versions # package.json, package-lock.json, server.json and CHANGELOG.md agree
npm run check:licenses # every runtime dependency has an allowed license
npm run audit # npm audit of runtime dependencies; fails on high or critical
npm run test:pack # pack, install and start the package as npm would publish it
npm run test:inspector # check the MCP contract with a second client, the MCP Inspector CLI
Releases are published to npm from GitHub Actions with provenance, after CI passes on the tag. Every change to
main needs a code-owner review. See CONTRIBUTING.md for the details; new site packs are
especially welcome.
Get started · Browse the Shortcut Library · Report an issue
Released under the MIT License.
Frequently asked questions
What is anysite MCP Server?
Any website as MCP tools: a real Chrome signed in as you, and shortcuts the agent saves as tools.
How do I install anysite MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. anysite MCP Server runs locally from the npm package anysite-mcp with the command npx -y anysite-mcp@0.8.0.
Is anysite MCP Server free and open source?
Yes. anysite MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does anysite MCP Server support remote (HTTP) connections?
No remote endpoint is listed for anysite MCP Server. It runs locally on your machine over stdio, started by your MCP client.
What tools does anysite MCP Server provide?
anysite MCP Server provides 8 tools, including web_extract, web_login, web_open, and web_read. See the full tool list for descriptions and parameters.
How is anysite MCP Server's trust score calculated?
anysite MCP Server scores 67 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.