amazing-marvin-mcp
Enables AI assistants to query and modify Amazing Marvin tasks, projects, labels, and subtasks, using a local mirror for fast reads and the official REST API for writes.
README
amazing-marvin-mcp
Overview
An unofficial MCP server for Amazing Marvin, so an assistant such as Claude can answer "what's in my inbox?", "what's due this week?", "I'm at the car, what can I do?", and act on it: rename, relabel, reschedule, move, split into projects, save research into a note.
This project is not affiliated with, endorsed by, or supported by Amazing Marvin; it uses their public API.
How it works
Claude ──MCP (stdio)──▶ amazing-marvin-mcp
├─ local mirror ◀── CouchDB `_changes` (your sync database)
│ reads, search and filters run here: no rate-limit cost
└─ writes ──▶ Marvin REST API (addTask, doc/update, markDone)
throttled to Marvin's limits (1 request / 3 s)
Marvin's REST API has no "list" or "search" endpoint and a budget of 1440
requests per day, so reads come from a local copy of your database kept fresh
with an incremental _changes poll (at most once a minute). Writes go through
the REST API, which handles Marvin's conflict-resolution bookkeeping
(fieldUpdates) server-side.
What the assistant knows
- Marvin semantics, in the UI's own words. Inbox = not filed anywhere; categories and projects nest arbitrarily (the Master List). The four dates are kept apart: Do date (the day you plan to do it, "scheduled"), Due date (hard external deadline), End date (self-imposed target; Planning Ahead's planned week/month is the softer form), Start date (hidden on the Backburner until then). Plus Duration estimates (minutes), Importance (P1–P3 stars), Eat-the-Frog, Backburner, labels and label groups.
- Your structure (
get_structure): the category/project tree with ids and open-task counts, labels by group, and which Marvin strategies you have enabled (by their names in the Strategies screen). - Your workflow (
workflow.mdor aworkflow/directory of sections): how you use Marvin: what labels mean, how you plan, your inbox-triage checklist, what "short win" means. Marvin is flexible, so this is what lets the assistant act the way you would. It is injected into the server instructions and exposed asmarvin://workflow(andmarvin://workflow/<section>).
Tools
| Tool | What it does |
|---|---|
get_structure |
Category/project tree with ids, labels by group, strategies in use |
list_inbox |
Open inbox tasks, oldest first |
list_today [day] |
Do date that day, do date earlier but not done, due by then |
list_due [by] |
Open tasks with a due date by a date (week, month, YYYY-MM-DD) |
search_tasks … |
Any mix of text, parent, labels, do-date window, due/end by, estimate, flags |
get_task id |
Full detail of a task (note, subtasks, dates) or a project (its open children) |
list_children parent |
Direct tasks and sub-projects of a project/category |
create_task / create_project |
Names for parent/labels are resolved for you |
create_category / create_label |
New folder in the Master List; new label (in an existing or new group) |
update_subtasks id … |
Add, complete, reopen, rename, remove subtasks |
update_task id … |
Rename, move, relabel, do/due/end/start date, estimate, note, importance, clear… |
mark_done id |
Complete a task/project |
sync_marvin |
Force a mirror refresh |
Prompts: triage_inbox, daily_review |
Built from your workflow file |
There is deliberately no delete tool: Marvin's trash is client-side, so API deletes are unrecoverable.
Install and set up (using it)
-
Install (needs uv):
uv tool install git+https://github.com/tsvikas/amazing-marvin-mcp.git -
Credentials. In Marvin, enable the API strategy (Strategies → API → settings). Put its values in
~/.config/amazing-marvin-mcp/.env(Linux;amazing-marvin-mcp checkprints the exact path on your OS):MARVIN_API_TOKEN=... # create / mark done MARVIN_FULL_ACCESS_TOKEN=... # edit existing items; omit for no edits MARVIN_SYNC_SERVER=... # CouchDB: the read mirror MARVIN_SYNC_DATABASE=... MARVIN_SYNC_USER=... MARVIN_SYNC_PASSWORD=...Environment variables and a
.envin the working directory also work (and override the per-user file). While trying things out, use a second, throwaway Marvin account: the full-access token can damage data. -
Check and first sync:
amazing-marvin-mcp check # verifies tokens, pulls the database, prints counts -
Describe your workflow:
amazing-marvin-mcp init-workflow # one workflow.md to edit, or amazing-marvin-mcp init-workflow --split # a workflow/ directory: planning, labels, triage, daily…Everything in it goes into the model's instructions (and each section is also a
marvin://workflow/<section>resource), so keep it short and concrete. -
Register with your MCP client.
Claude Code:
claude mcp add marvin -- amazing-marvin-mcp serveClaude Desktop (
claude_desktop_config.json):{ "mcpServers": { "marvin": { "command": "amazing-marvin-mcp", "args": ["serve"] } } }Both read the per-user
.env, so no secrets go in the client config. Then ask: "what's in my Marvin inbox?"
Other settings (shown by check): MARVIN_WORKFLOW_FILE (file or directory), MARVIN_CACHE_DIR,
MARVIN_MIN_REQUEST_INTERVAL (seconds between REST calls, default 3),
MARVIN_MIRROR_MAX_AGE (seconds before a read re-polls, default 60).
The mirror file holds all your tasks; it is written with owner-only permissions under the cache directory.
Developing
git clone https://github.com/tsvikas/amazing-marvin-mcp && cd amazing-marvin-mcp
uv sync && just prepare # deps + pre-commit hooks
just test && just lint
Run the server from the checkout (a .env in the repo root is git-ignored and
is picked up when the client starts from this directory; otherwise use
-e VAR=value or the per-user file):
claude mcp add marvin-dev -- uv run --directory "$PWD" amazing-marvin-mcp serve
tests/test_live.py runs every tool end to end and replays a recorded
cassette by default (tests/cassettes/), which doubles as a fixture of real
Marvin documents. To re-record against a throwaway account (it creates
and then deletes a few [live] items):
MARVIN_API_TOKEN=... MARVIN_FULL_ACCESS_TOKEN=... MARVIN_SYNC_SERVER=... \
MARVIN_SYNC_DATABASE=... MARVIN_SYNC_USER=... MARVIN_SYNC_PASSWORD=... \
uv run pytest tests/test_live.py --record-mode=rewrite
Design rules for contributions are in CLAUDE.md.
Contributing
Interested in contributing? See CONTRIBUTING.md for development setup and guidelines.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。