Model Context Protocol server for Analog — Analog lets any AI understand websites as code, from any MCP client.
Project description
analog-mcp
A Model Context Protocol server for Analog — Analog lets any AI understand websites as code — usable from Claude Desktop, Cursor, and anything else that speaks MCP. Webpages in, structured records out: deterministic, zero-shot, no LLMs in the extraction pipeline.
The headline tool is analog(url). Point it at a webpage; get back
structured records (articles, pricing tables, product listings, etc.)
already parsed into JSON. Same one-call shape as the Python SDK.
Tools
analog(url, pages=N)— extract a page; returns the structured JSON plus ahandle. Passpages=N(max 50) to follow the site's own next-page links and merge up to N pages into one result (each page costs one extraction; the sweep is disclosed on the response).assess(url)— check which tool fits a page for your task: the page's measured markdown size plus task-keyed guidance (working with the data → analog; one quick question → read it directly; a platform data feed spotted → worth knowing), so you route a page without spending an extraction. No sign-in required.analog_history(limit=N)— list saved results, newest first, as cheap metadata (handle, url, when saved, size) to recover a handle you no longer have in context.analog_open(handle)— re-open a previous result by handle, no re-fetch.analog_export(handle, fmt)— re-emit it asjson/csv/yaml/md.analog_section(handle, index)— pull one section's records.analog_collection(handle, index)— query compatible physical sections as one identity-deduplicated records view while retaining their provenance.analog_find(handle, pattern, field=)— search a result's records across sections; passfield=to scope the search to one field.analog_describe(handle)— a token-cheap preview of a saved result (section shapes plus sample records) for orienting without pulling the full JSON.analog_feedback(...)— report a page that extracted poorly (reason labels are enumerated in the tool's schema) or send a free-form feature request.
Every analog result is saved locally, so the analog_* tools re-slice it
without re-fetching or re-rendering the page.
Install
The server reads the credential stored by the analog CLI (it ships
with analog-sdk), so install both tools:
uv tool install analog-sdk
uv tool install analog-mcp
Prefer pip? pip install analog-mcp in one environment puts both
executables on PATH. uvx analog-mcp runs the server one-off, but
signing in still needs the CLI installed.
Sign in
Sign in once:
analog signup # new account: creates it and connects this terminal
analog login # …or this, for an existing account
This opens your browser, signs you in, and stores the key in the
CLI's local credential store — analog-mcp reads it from there, so no
key ever lands in an MCP config file.
Analog renders pages with a built-in headless browser that downloads on
first use (~150 MB, one-time). To fetch it ahead of time so the first
analog tool call doesn't pause, run analog browser install.
Configure your MCP client
Claude Desktop
Edit ~/Library/Application Support/Claude/claude_desktop_config.json
(macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"analog": {
"command": "analog-mcp"
}
}
}
Restart Claude Desktop. The analog tool will appear in the tool list.
No env block is needed — analog-mcp reads the credential you stored
with analog login.
Cursor / other MCP clients
Same idea — the server command is analog-mcp and it speaks stdio.
Refer to your client's MCP configuration docs for the exact file
location.
Usage
Once configured, just ask the agent things like:
Extract the speakers from https://example-conference.com/2026
The agent calls analog(url=…) under the hood. The tool returns
self-contained JSON with the parsed records plus a markdown rendering
of the page, which the agent can then reason over directly.
Full documentation: https://getanalog.io/docs
What this version ships
analog-mcp exposes the extraction tool analog(url), a local routing
check assess(url), and the analog_* re-slice tools, over the stdio
transport.
License
MIT — see LICENSE.
Links
- Homepage: https://getanalog.io
- Python SDK:
analog-sdkon PyPI
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file analog_mcp-0.8.0.tar.gz.
File metadata
- Download URL: analog_mcp-0.8.0.tar.gz
- Upload date:
- Size: 27.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
49680e8bc67fcadc8f27fdf44d3e947b6e146cc992b2833337741832cd67561f
|
|
| MD5 |
d038b0f3618b4ff04e5461d0be1d1653
|
|
| BLAKE2b-256 |
4d0cd3d0665a251ccebf52b0bc4637f3ac9e5af9a75033a895bf878fda8ef6db
|
Provenance
The following attestation bundles were made for analog_mcp-0.8.0.tar.gz:
Publisher:
release-mcp-python.yml on getanalog/monorepo
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
analog_mcp-0.8.0.tar.gz -
Subject digest:
49680e8bc67fcadc8f27fdf44d3e947b6e146cc992b2833337741832cd67561f - Sigstore transparency entry: 2255190339
- Sigstore integration time:
-
Permalink:
getanalog/monorepo@4546cce34d961534e9811bfdcdb404dc6978cb45 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/getanalog
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-mcp-python.yml@4546cce34d961534e9811bfdcdb404dc6978cb45 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file analog_mcp-0.8.0-py3-none-any.whl.
File metadata
- Download URL: analog_mcp-0.8.0-py3-none-any.whl
- Upload date:
- Size: 12.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a9c190ec8632d562bcbe470cb65017828164d2090ce15f2d641f8f1633a4650e
|
|
| MD5 |
bb57483f7dabadbc0d0f082c10c89d87
|
|
| BLAKE2b-256 |
c76952aa8b4512154e902e23a0b6d80e511bb927e324b951a45f1f884897ff59
|
Provenance
The following attestation bundles were made for analog_mcp-0.8.0-py3-none-any.whl:
Publisher:
release-mcp-python.yml on getanalog/monorepo
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
analog_mcp-0.8.0-py3-none-any.whl -
Subject digest:
a9c190ec8632d562bcbe470cb65017828164d2090ce15f2d641f8f1633a4650e - Sigstore transparency entry: 2255190358
- Sigstore integration time:
-
Permalink:
getanalog/monorepo@4546cce34d961534e9811bfdcdb404dc6978cb45 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/getanalog
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-mcp-python.yml@4546cce34d961534e9811bfdcdb404dc6978cb45 -
Trigger Event:
workflow_dispatch
-
Statement type: