things-applescript-mcp
A small local MCP server for Things 3 that talks to Things only through osascript (JXA and AppleScript).
It never reads the Things SQLite database, so it doesn't need Full Disk Access. It needs only Automation permission to control Things3.
This is an unofficial project. It isn't made, endorsed or supported by Cultured Code. Things is a trademark of Cultured Code GmbH & Co. KG.
Tools
Every tool that acts on one to-do takes its id as id. Each tool's MCP description lists its exact parameters and accepted values.
Reading
| Tool | Parameters | Returns |
|---|---|---|
list_todos |
list_name: Inbox, Today, Anytime, Upcoming or Someday |
Open to-dos: id, title, notes, deadline, start_date, tags, project, area |
get_todo |
id |
One to-do: the list_todos fields plus status and list |
search_todos |
query, include_completed (default false), limit (default 50, max 500) |
{results, truncated}; each result has the get_todo fields |
list_projects |
none | Open projects: id, title, area |
list_areas |
none | Areas: id, title |
Changing
| Tool | Parameters | What it does |
|---|---|---|
add_todo |
title; optional notes, list_name (default Inbox), deadline, when, tags |
Creates a to-do and returns it as get_todo would |
update_todo |
id; optional title, notes, append_notes, when, deadline, tags |
Changes only the fields you pass and returns the updated to-do |
move_todo |
id, destination: Inbox, Today, Anytime, Someday or a project name |
Moves a to-do |
complete_todo |
id |
Marks a to-do completed |
delete_todo |
id |
Moves a to-do to the Things Trash |
Accepted values:
when:today,tomorrow,anytime,someday, or a date asYYYY-MM-DD(today or later). A future date puts the to-do in Upcoming.deadline:YYYY-MM-DD. Inupdate_todo,noneremoves the deadline.tags: a list of existing tag names, matched without regard to case. It replaces all of the to-do's tags;[]removes them all.list_name(inadd_todo):Inbox,Today,Anytime,Somedayor a project name. Combinewhenwith a project or the default Inbox; withToday,AnytimeorSomedaythe two conflict and the call is rejected.notes/append_notes:notesreplaces the notes;append_notesadds a new line at the end. Pass one or the other, not both.
How the tools behave
- List and project names: list names ignore case. Project names ignore case and leading or trailing spaces. If more than one open project has the same name, the tool returns an error listing their ids.
- Upcoming: you can list it, but you can't move a to-do there. Use
update_todowith a futurewhendate instead. - Projects and lists: moving a to-do to Inbox takes it out of its project. Moving it to Today, Anytime or Someday, or scheduling it with
when, keeps it in its project. This is how Things itself works. - Open to-dos only:
list_todosskips completed and canceled to-dos. Things leaves them in Today until it logs them. - Search: case-insensitive substring match on title and notes. It looks in Inbox, Today, Upcoming, Anytime and Someday, plus the Logbook when
include_completedis true. Trashed to-dos are never returned. Use it to check for duplicates beforeadd_todo. listfield: the first of Inbox, Today, Upcoming, Anytime, Someday, Logbook or Trash that contains the to-do. It'snullwhen Things shows the to-do only inside its project, for example a project's to-do set to Someday.- Projects aren't to-dos: in Things' scripting model a project is a kind of to-do. The to-do tools reject project ids so you can't complete or trash a whole project by mistake.
- Area: a to-do inside a project shows that project's area.
- Dates:
deadlineandstart_dateare local dates asYYYY-MM-DD, ornull.
Limits of Things' AppleScript
- No This Evening. Things' AppleScript has no way to set or read This Evening, so
when: "evening"returns an error rather than pretending. - No moving into Tomorrow. Things refuses to
movea to-do into its Tomorrow list (error 301).when: "tomorrow"and future dates use Things'schedulecommand instead, which puts the to-do in Upcoming with that start date. - Unknown tags are rejected. Setting a tag that doesn't exist makes Things create it silently, so a typo would leave a stray tag. The tools return an error listing the existing tags instead.
- Past dates are rejected for
when. Things would put the to-do in Today but keep the old start date.
Setup
Requires macOS, Things 3 and uv.
Add the server to ~/Library/Application Support/Claude/claude_desktop_config.json, under mcpServers:
"things": {
"command": "/Users/<you>/.local/bin/uvx",
"args": ["things-applescript-mcp"]
}
uvx downloads the package from PyPI and runs it. Use the absolute path to uvx (which uvx shows it): Claude Desktop doesn't use your shell's PATH. Restart Claude afterwards.
Other MCP clients work the same way: run uvx things-applescript-mcp as a stdio server.
Running from a checkout
git clone https://github.com/runeb/things-applescript-mcp.git
cd things-applescript-mcp
uv sync
Then point the client at uv with "args": ["--directory", "/absolute/path/to/things-applescript-mcp", "run", "things-applescript-mcp"].
Automation permission
The first time a tool runs, macOS asks whether the app running the server (for example Claude) may control Things3. Allow it.
If you declined, or the tools return a permission error, open System Settings → Privacy & Security → Automation, find that app, and turn on Things3.
Errors
Failures come back as MCP tool errors with a readable message, for example:
- Automation permission is missing (macOS error
-1743), with steps to fix it - Things isn't installed, isn't running, or didn't respond in time
- No to-do with that id, a project id where a to-do id is expected, or no list or project with that name
- An invalid
when,deadlineor tag, or conflicting arguments osascripttimed out after 90 seconds, often because a permission prompt is waiting for an answer
How it works
- No user data in script text. Every script is a fixed string. JXA scripts get their arguments as a single JSON-encoded argv entry. AppleScript scripts get positional argv entries. Both are passed after
--, so a value like-ecan't be read as anosascriptoption. - Bulk reads.
list_todosandsearch_todosfetch each property for a whole list in one Apple Event (toDos.name(),toDos.id()and so on) instead of looping over to-dos.list_todostakes about 0.25s; a search that includes the Logbook takes under a second. - JXA and AppleScript. JXA handles reads and most writes, including Things'
schedulecommand and removing a deadline. Moving a to-do to a list uses a small fixed AppleScript, because JXA'smovecommand fails against Things with error-1700. Moving into a project sets the to-do'sprojectproperty. - Validate, then write.
update_todoandadd_todocheck every argument (dates, tags, destination) before changing anything, so a bad value doesn't leave a to-do half-updated. - Logged and trashed to-dos. Things' general to-do list only holds open to-dos. A logged to-do can still be read through it but can't be deleted that way, so the server addresses logged and trashed to-dos through the Logbook or Trash list instead.
- Adding to a list other than Inbox.
add_todochecks the destination first, creates the to-do in the Inbox, then schedules or moves it. If that fails, it moves the new to-do to the Trash so nothing half-done is left in the Inbox. - Locale-independent lists. Built-in lists are looked up by their internal ids (
TMInboxListSource,TMTodayListSource,TMNextListSource,TMCalendarListSource,TMSomedayListSource), not by their names, which change with the UI language.
License
Metadata
Release files for things-applescript-mcp 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| things_applescript_mcp-0.1.0.tar.gz | 52.1 kB | Without provenance | Details for things_applescript_mcp-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| things_applescript_mcp-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for things_applescript_mcp-0.1.0-py3-none-any.whl |
Total release size: 67.0 kB
Release files / things_applescript_mcp-0.1.0.tar.gz
| Download URL | things_applescript_mcp-0.1.0.tar.gz |
|---|---|
| Size | 52.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
66ad820c21deccb9ccad3f95a258bf85b460269a2a41f6609055e1b03cc79d0e
|
|
BLAKE2b-256 checksum How to use checksums |
a3ce2e6ad8af759be7e42c8207fce7d395763c182219fef6d9f8fe4e99eeaab6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.14
|
Release files / things_applescript_mcp-0.1.0-py3-none-any.whl
| Download URL | things_applescript_mcp-0.1.0-py3-none-any.whl |
|---|---|
| Size | 14.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ea27121f4f0ecc94d83c965cd4eacbf525c9a055cea47b3b8aea78ec55ff62f6
|
|
BLAKE2b-256 checksum How to use checksums |
2337aacbccae0dfbb72761e71c8385dd9f1ed2f45c56ffd440575b54a3828104
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.14
|
Security for things-applescript-mcp 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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.