Skip to main content

MapSnatch

CI License: AGPL v3 Python 3.9+ Docs

MindMeister lets you export maps one at a time unless you pay for a Business plan. This tool gives you bulk export using their own public API — available on all plan types including free.

Hosted version (no CLI): mapsnatch.com — pay once, export in the browser.

Contributing Security
Support Docs
Code of Conduct Report a bug

If this CLI saves you time, tips are welcome (not required):

ko-fi

Install

PyPI: not published yet — there is no pip install mapsnatch on PyPI. First release needs PYPI_SETUP.md (trusted publisher + v0.1.0 tag).

From GitHub (works today):

git clone https://github.com/gavinc/mapsnatch
cd mapsnatch
pip install -e .
echo "MINDMEISTER_API_TOKEN=your_personal_access_token_here" > .env
mapsnatch

Create a personal access token at mindmeister.com/api

Supported formats

Flag Format Notes
mm FreeMind Recommended — best portability, opens in FreeMind and Freeplane
pdf PDF Good for sharing and archiving
mind MindMeister native For re-import back into MindMeister
xmind XMind For use in the XMind app
rtf Rich Text Format Text-based outline

Not supported: png and docx return empty responses from the API — these appear to require a Business plan subscription.

Usage

mapsnatch [OPTIONS]

Options:
  --format, -f    Export format: mm, pdf, mind, xmind, rtf  (default: mm)
  --output, -o    Output directory                           (default: ./exports)
  --token, -t     Personal access token (or MINDMEISTER_API_TOKEN in env / .env)
  --dry-run       List maps without downloading
  --list-formats  Show supported formats and exit

Examples

# Export all maps as FreeMind format (default)
mapsnatch

# Export as PDF into a custom directory
mapsnatch --format pdf --output ~/mindmaps

# List what maps would be exported without downloading
mapsnatch --dry-run

# Pass personal access token on the command line
mapsnatch --token YOUR_PERSONAL_ACCESS_TOKEN

How it works

MindMeister provides a public REST API (v1 + v2) that allows any authenticated user to list and export their maps. This tool:

  1. Fetches your full map list from GET /services/rest/oauth2?method=mm.maps.getList
  2. Downloads each map via GET /api/v2/maps/{id}.{format}
  3. Extracts the file from its zip container (for mm, mind, xmind formats)
  4. Saves it with a sanitised filename into your output directory

Auth uses your personal access token as a Bearer credential — no OAuth dance required.

Opening exported files

  • FreeMind (.mm) — Open with FreeMind or Freeplane (recommended — free, cross-platform)
  • XMind (.xmind) — Open with XMind
  • PDF — Any PDF viewer
  • RTF — Any word processor

Setup

Get your personal access token

  1. Log in to MindMeister
  2. Open mindmeister.com/api and create a personal access token
  3. Copy the token (not the same as MindMeister's separate "API keys" product)

Configure

Either:

# Option A: .env file (recommended)
echo "MINDMEISTER_API_TOKEN=your_token_here" > .env

# Option B: environment variable
export MINDMEISTER_API_TOKEN=your_token_here

# Option C: command line flag
mapsnatch --token your_token_here

Contributing

See CONTRIBUTING.md. Pull requests welcome — run python -m pytest -v before opening a PR.

License

AGPL-3.0-or-later

Metadata

Release files for mapsnatch 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mapsnatch 0.1.0
File Size Uploaded Provenance Actions
mapsnatch-0.1.0.tar.gz 21.3 kB With provenance Details for mapsnatch-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mapsnatch 0.1.0
File Interpreter ABI Platform Actions
mapsnatch-0.1.0-py3-none-any.whl Python 3 none any Details for mapsnatch-0.1.0-py3-none-any.whl

Total release size: 41.2 kB

Release files / mapsnatch-0.1.0.tar.gz

Download URL mapsnatch-0.1.0.tar.gz
Size 21.3 kB
Tags Source
SHA-256 checksum
How to use checksums
e7b0f39b13665ec12ad66f148a544b4a47af6f74e9a1a0b9bb2b47dbaaf7fc95
BLAKE2b-256 checksum
How to use checksums
e923166bc65b21559e274989dd13a5ae53a7baa03feacf80602e91a2d49132bc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 20, 2026.

Transparency log

Release files / mapsnatch-0.1.0-py3-none-any.whl

Download URL mapsnatch-0.1.0-py3-none-any.whl
Size 19.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4045bf4cf19fde023e6fe57feb04efd12ae444cac1baecfa4fa02d9fac343d93
BLAKE2b-256 checksum
How to use checksums
8cb816f3dc8f009e3228a381ea248019a4a1c64ebbfc560cb4f9de183fa74ef3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 20, 2026.

Transparency log

Security for mapsnatch 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for mapsnatch-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 20, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page