Mdtero turns papers into reusable Markdown packages for reading, translation, project research, and local agents.
Python/uv CLI, TUI, browser extension, and agent skill bundle are maintained as the public client surfaces.
Languages: English | 简体中文
Install
uv tool install --upgrade mdtero
mdtero setup
mdtero doctor --json
The package is published on PyPI, so the default install does not depend on GitHub. In mainland China the installer automatically tries a Tsinghua/Alibaba PyPI mirror before the official index. If uv is unavailable, use the installer:
curl -Ls https://mdtero.com/install.sh | sh
curl -Ls https://mdtero.com/install.sh | sh -s -- --agent codex
The installer supports uv, pipx, and Python fallbacks. --agent <target> installs a local agent skill.
Use Mdtero
mdtero discover "thermal energy storage" --limit 5 --interactive
mdtero parse <doi-or-url> --wait --timeout 300 --json
mdtero parse --file paper.pdf --trace --wait --timeout 600 --json
mdtero status <task-id> --wait --timeout 300 --json
mdtero download <task-id> paper_md --output-dir ./mdtero-output --json
mdtero translate <task-id> --to zh-CN --wait --timeout 600 --json
mdtero doctor --json returns safe auth/dependency/academic/Zotero/project/RAG summaries without echoing credentials.
The CLI is the default path. Desktop installs prepare the local access helper automatically for campus-network and browser-required routes. Use the browser extension only for current-page capture or when an existing browser session is needed; it can hand DOI, URL, PDF, EPUB, HTML, or XML artifacts back to the CLI.
Choose the surface for your environment
| Environment | Best surface | What it can solve | Boundary |
|---|---|---|---|
| Campus Windows/macOS with a full browser | Extension + optional local Relay | OA, campus-IP routes, browser login/challenges, entitled closed articles | The user completes visible login or verification. |
| CLI/Agent on a server only | CLI/API | OA, structured APIs, ordinary HTTP, VPN/IP-authorized files, and uploads | No browser session; WAF/login-only closed content needs a file or another desktop. |
| Server Agent plus a separate campus desktop | Server CLI/API + Relay on the desktop; extension as manual fallback | Full authorized browser acquisition on the desktop, then cloud parsing | The extension alone is user-triggered; use Relay when the server must request the article remotely. |
| Server connected to campus VPN without a browser | CLI/API with the VPN or proxy | IP-authorized machine-readable PDF/XML/HTML | VPN supplies network access, not browser cookies or challenge completion. |
In short: a browser is required for browser-bound entitlement; a campus IP or VPN is sufficient only when the publisher exposes a machine-readable route. Mdtero never bypasses a paywall or exports browser session material.
Project Workflow
Use a local Mdtero project when you are handling a paper set:
mdtero project init --name literature-review
mdtero project import-bib references.bib --json
mdtero project parse --wait --timeout 300 --json
mdtero rag query "What are the strongest findings?" --build-if-needed --json
Zotero support is conservative: mdtero zotero sync adds Mdtero result notes and tags for matching succeeded items without rewriting Zotero bibliographic metadata.
Browser And Agents
Use the browser extension as a lightweight fallback for a paper open in your browser, content accessed through your own session, or a file you want to upload. The extension and CLI share task history, downloads, and translation.
Install a local agent skill with:
mdtero agent install --interactive
mdtero mcp briefing --json
The briefing provides safe task state, available downloads, citations, and suggested next steps. Keep API keys and other secrets out of prompts, logs, and repositories. For a trusted headless machine, enter a fresh key only at the secure mdtero setup --api-key --json prompt.
Access Boundaries
Mdtero helps process material you are permitted to access. Publisher subscriptions, institutional access, and source-specific credentials remain your responsibility. When a source needs your browser session or a local copy, use the extension or upload the saved file.
Parser and source-selection implementation are service internals, not user configuration. The stable workflow is submit, check status, download, translate, and use the resulting Markdown in a project.
Product Boundary
Mdtero Account is the control plane for Mdtero API keys, quota, billing, history, and install prompts. Academic source keys stay in local mdtero config academic configuration; OpenAlex discovery also has a server-managed fallback, so users do not need to configure an OpenAlex key just to search. The CLI-managed local access helper and browser extension remain separate from provider credentials.
Shared /api/v1 server contract
The CLI, extension, dashboard, and MCP briefing expose this contract: /api/v1/route, /api/v1/extension/route, /api/v1/tasks/parse, /api/v1/tasks/upload, /api/v1/tasks/{task_id}, /api/v1/tasks/{task_id}/download/{artifact}, /api/v1/discovery/search, /api/v1/tasks/translate, /api/v1/projects, /api/v1/projects/{project_id}/tasks/{task_id}/import, /api/v1/projects/{project_id}/rag/status, /api/v1/projects/{project_id}/rag/build, and /api/v1/projects/{project_id}/rag/query.
Repo Map
The Python package owns the CLI and local workflow; the extension/ package is the lightweight browser fallback and nextmdtero/ is the website/dashboard workspace.
Documentation
Development
uv run --with pytest --with rich --with textual --with httpx --with requests --with curl_cffi --with pyzotero --with fastmcp pytest tests_py -q
npm --prefix extension test
npm --prefix extension run build
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 mdtero-0.3.2.tar.gz.
File metadata
- Download URL: mdtero-0.3.2.tar.gz
- Upload date:
- Size: 642.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a78df65ca6d8ebb56c21af36bff7bd8750da6cb433f52d469ab8bab9f8311aa2
|
|
| MD5 |
d2607430744b32b40180898a3cfd7464
|
|
| BLAKE2b-256 |
186032720729e6015c0fed9ac8605cd391c4f423459252e306beb5ade9969e86
|
Provenance
The following attestation bundles were made for mdtero-0.3.2.tar.gz:
Publisher:
publish-mdtero-pypi.yml on JonbinC/doi2md
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mdtero-0.3.2.tar.gz -
Subject digest:
a78df65ca6d8ebb56c21af36bff7bd8750da6cb433f52d469ab8bab9f8311aa2 - Sigstore transparency entry: 2347610501
- Sigstore integration time:
-
Permalink:
JonbinC/doi2md@1c41864adb36d462e0b3f996731715ed00605766 -
Branch / Tag:
refs/tags/cli/v0.3.2 - Owner: https://github.com/JonbinC
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-mdtero-pypi.yml@1c41864adb36d462e0b3f996731715ed00605766 -
Trigger Event:
push
-
Statement type:
File details
Details for the file mdtero-0.3.2-py3-none-any.whl.
File metadata
- Download URL: mdtero-0.3.2-py3-none-any.whl
- Upload date:
- Size: 238.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3408204cdb177e5379f4f1c013a2e1a9a1f795b6d66f43585778dc2b6dcb195e
|
|
| MD5 |
fe49ef793f03fc52d8e4ae75d7397706
|
|
| BLAKE2b-256 |
3e4a5a752831fc90950075736a2687bc5a3384b9f355068aa05663d0f6c3b7f9
|
Provenance
The following attestation bundles were made for mdtero-0.3.2-py3-none-any.whl:
Publisher:
publish-mdtero-pypi.yml on JonbinC/doi2md
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mdtero-0.3.2-py3-none-any.whl -
Subject digest:
3408204cdb177e5379f4f1c013a2e1a9a1f795b6d66f43585778dc2b6dcb195e - Sigstore transparency entry: 2347611373
- Sigstore integration time:
-
Permalink:
JonbinC/doi2md@1c41864adb36d462e0b3f996731715ed00605766 -
Branch / Tag:
refs/tags/cli/v0.3.2 - Owner: https://github.com/JonbinC
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-mdtero-pypi.yml@1c41864adb36d462e0b3f996731715ed00605766 -
Trigger Event:
push
-
Statement type: