query_omnifocus
Query tasks, projects, or folders with targeted filters — much faster and lighter than dumping the whole database. See QUERYTOOLREFERENCE.md for the full reference and QUERYTOOLEXAMPLES.md for worked examples.
How to use it
Project documentation lists query_omnifocus for the OmniFocus MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), then check which tools your installed version makes available. Tool availability can depend on configuration and credentials. A server handshake does not verify this tool’s behavior. See the full listing for setup details.
Install OmniFocus MCP
claude mcp add omnifocus -- npx -y omnifocus-mcpOther tools in OmniFocus MCP (11)
Create a new task.
Create a new project.
Create multiple tasks and projects in one operation. Each item accepts the same fields as addomnifocustask / addproject, plus type (task or project) and optional hierarchy helpers:
Remove multiple tasks or projects in one operation. Each item takes id or name, plus itemType.
Create a tag, optionally nested under an existing parent.
Get the complete state of your database. Use for comprehensive analysis; prefer queryomnifocus for anything targeted.
Edit an existing task or project. Also the way to move items — set newProjectName to move a task into a project, or to ""/"inbox" to send it to the inbox.
Get the items visible in a named perspective.
List available perspectives, both built-in and custom (custom perspectives are an OmniFocus Pro feature).
List all tags with their hierarchy, active status, and task counts.
Remove a task or project.