Skip to main content
Glama

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 as YYYY-MM-DD (today or later). A future date puts the to-do in Upcoming.

  • deadline: YYYY-MM-DD. In update_todo, none removes 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 (in add_todo): Inbox, Today, Anytime, Someday or a project name. Combine when with a project or the default Inbox; with Today, Anytime or Someday the two conflict and the call is rejected.

  • notes / append_notes: notes replaces the notes; append_notes adds 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_todo with a future when date 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_todos skips 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_completed is true. Trashed to-dos are never returned. Use it to check for duplicates before add_todo.

  • list field: the first of Inbox, Today, Upcoming, Anytime, Someday, Logbook or Trash that contains the to-do. It's null when 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: deadline and start_date are local dates as YYYY-MM-DD, or null.

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 move a to-do into its Tomorrow list (error 301). when: "tomorrow" and future dates use Things' schedule command 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.

Related MCP server: Things Safe MCP

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, deadline or tag, or conflicting arguments

  • osascript timed 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 -e can't be read as an osascript option.

  • Bulk reads. list_todos and search_todos fetch each property for a whole list in one Apple Event (toDos.name(), toDos.id() and so on) instead of looping over to-dos. list_todos takes about 0.25s; a search that includes the Logbook takes under a second.

  • JXA and AppleScript. JXA handles reads and most writes, including Things' schedule command and removing a deadline. Moving a to-do to a list uses a small fixed AppleScript, because JXA's move command fails against Things with error -1700. Moving into a project sets the to-do's project property.

  • Validate, then write. update_todo and add_todo check 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_todo checks 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.

Development

See CLAUDE.md for how the code is organised, the Things scripting quirks it works around, the live test script and the release process.

License

MIT

Available Tools

10 tools
add_todoA

Create a to-do.

Parameters: title; optional notes, list_name, deadline, when, tags. list_name: Inbox (default), Today, Anytime, Someday or a project name. when: today, tomorrow, anytime, someday or YYYY-MM-DD. Combine it with a project list_name or the default Inbox; with list_name Today/Anytime/Someday it is an error (they conflict). Returns the new to-do in the same shape as get_todo.

Inputs: title (required), tags, when, notes, +2 more. Returns: object

complete_todoC

Mark a to-do as completed.

Parameters: id. Returns {id, title, status}.

Inputs: id (required). Returns: object

delete_todoA
Destructive

Delete a to-do by moving it to the Things Trash (it can be restored from there).

Parameters: id. Returns {id, title, moved_to}.

Inputs: id (required). Returns: object

get_todoA
Read-only

Get one to-do by id.

Parameters: id. Returns {id, title, notes, deadline, start_date, tags, project, area, status, list}. status is open, completed or canceled. list is Inbox, Today, Upcoming, Anytime, Someday, Logbook or Trash (null if Things shows it only inside its project).

Inputs: id (required). Returns: object

list_areasB
Read-only

List areas.

Parameters: none. Returns a list of {id, title}.

Inputs: no named parameters. Returns: result

list_projectsA
Read-only

List open projects.

Parameters: none. Returns a list of {id, title, area}; area is the area's name or null.

Inputs: no named parameters. Returns: result

list_todosA
Read-only

List the open to-dos in one Things list.

Parameters: list_name (Inbox, Today, Anytime, Upcoming or Someday). Returns a list of {id, title, notes, deadline, start_date, tags, project, area}. Dates are YYYY-MM-DD or null.

Inputs: list_name (required). Returns: result

move_todoA

Move a to-do to a built-in list or into a project.

Parameters: id, destination (Inbox, Today, Anytime, Someday or a project name). Upcoming isn't a valid destination; use update_todo with when=YYYY-MM-DD instead. As in Things itself, moving to Inbox takes the to-do out of its project, while Today/Anytime/Someday keep it in its project. Returns {id, title, destination, destination_type}.

Inputs: id (required), destination (required). Returns: object

search_todosA
Read-only

Search to-dos by title and notes, e.g. to check for a duplicate before add_todo.

Parameters: query, include_completed (default false), limit (default 50). Returns {results, truncated}. Each result has the list_todos fields plus status and list (Inbox, Today, Upcoming, Anytime, Someday, Logbook, or null if Things shows it only inside its project). Trashed to-dos are never returned.

Inputs: query (required), limit, include_completed. Returns: object

update_todoA

Change an existing to-do. Only the fields you pass are changed.

Parameters: id; optional title, notes, append_notes, when, deadline, tags. notes and append_notes can't be combined. when: today, tomorrow, anytime, someday or YYYY-MM-DD (future dates go to Upcoming). deadline: YYYY-MM-DD or 'none'. tags: replaces the tag list. Returns the updated to-do in the same shape as get_todo.

Inputs: id (required), tags, when, notes, +3 more. Returns: object

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.7/5.0

    Scored across 10 tools

    Disambiguation4/5

    Most tools target clearly distinct actions and resources: add/get/update/delete/complete/move_todo are separable, and list_projects/list_areas are unambiguous. There is some overlap between update_todo and move_todo for scheduling/moving to built-in lists, and list_todos vs. search_todos for finding to-dos, but the descriptions clarify the boundaries reasonably well.

    Naming Consistency5/5

    All tool names follow a consistent snake_case verb_noun pattern: add_todo, get_todo, list_todos, complete_todo, search_todos, move_todo, list_projects, list_areas, update_todo, delete_todo. There are no mixed conventions or vague names.

    Tool Count5/5

    Ten tools is a well-scoped set for a Things.app integration focused on to-do management. Each tool covers a meaningful operation without obvious redundancy or missing basic actions.

    Completeness4/5

    The to-do surface is strong: create, read, update, delete, complete, move, list, and search are all covered. Minor gaps remain around project/area lifecycle operations (only list is supported) and there is no explicit cancel operation despite status including 'canceled'.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      C
      maintenance
      Enables safe read and edit operations on Things 3 tasks, projects, and checklists using only documented AppleScript and URL scheme APIs, without accessing private databases.
      12
      1
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables MCP clients to manage Things 3 tasks locally on macOS, including searching, creating, editing, scheduling, moving, completing, and trashing tasks through supported automation interfaces.
      20
      15
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables MCP clients to read and manage a local Things 3 database on macOS through Things' supported scripting interface, listing, searching, creating, updating, moving, scheduling, and completing tasks, projects, and areas without any hosted service or network telemetry. Reads are paged and filtered, writes are confirmed by read-back verification, and an optional read-only mode blocks all mutations.
      8
      MIT