OmniFocus MCP Server

OmniFocus MCP Server

omnifocus-mcp•byalexhannaonline

An MCP server that exposes OmniFocus tasks, projects, folders, tags, notifications, attachments, analytics, and export capabilities to AI assistants through Omni Automation.

License: MIT•Runtime: Awaiting documentation review•Category: productivity work

WHAT IT DOES

  • •Provides task tools to list, count, create, update, complete, and delete tasks, including a today's agenda view.
  • •Offers project and folder management tools, including creation, updates, completion, deletion, nesting, and moving items between folders.
  • •Supports task hierarchies with subtasks, moving tasks between parents, and sequential or parallel ordering.
  • •Includes analytics and export tools for productivity statistics, task velocity, overdue analysis, and JSON or CSV data exports.

BEST FOR

  • •AI assistant users on macOS who want to manage OmniFocus tasks and projects conversationally.
  • •Users who need to analyze OmniFocus productivity patterns and identify overdue tasks.
  • •Users who want to export OmniFocus data to JSON or CSV files.

ABOUT OMNIFOCUS-MCP

OmniFocus MCP Server is cataloged as an MCP server attributed to alexhannaonline. An MCP server that exposes OmniFocus tasks, projects, folders, tags, notifications, attachments, analytics, and export capabilities to AI assistants through Omni Automation. It is categorized under productivity work. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for OmniFocus MCP Server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Does the server access the OmniFocus database directly?

No, it uses OmniFocus's native Omni Automation engine through the official API rather than direct database access.

Are there limits on recurring task and perspective management?

The server cannot create recurring tasks or manage perspectives; it can read recurring patterns but the automation API is read-only for perspectives.

Upstream README

View this exact version on GitHub

README.md · 6cbd0082fadf · Fetched 2026-11-13 09:34:35 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

OmniFocus MCP Server

An MCP server that gives AI assistants full access to OmniFocus via Omni Automation. 41 tools for tasks, projects, folders, tags, subtask hierarchies, notifications, attachments, analytics, and data export.

How it works

The server runs osascript -l JavaScript to call app.evaluateJavascript(), which executes scripts inside OmniFocus's native Omni Automation engine. No direct database access — all interaction goes through the official API.

Installation

git clone https://github.com/alexhanna/omnifocus-mcp.git
cd omnifocus-mcp
npm install
npm run build

MCP client configuration

Add the server to your MCP client's configuration. The server entry looks like:

{
  "mcpServers": {
    "omnifocus": {
      "command": "node",
      "args": ["/path/to/omnifocus-mcp/dist/index.js"],
      "env": {
        "LOG_LEVEL": "info"
      }
    }
  }
}

Where this lives depends on your client:

  • Claude Desktop: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Claude Code: ~/.claude/settings.json or project .mcp.json
  • Other MCP clients: consult your client's documentation for server configuration

Requirements

  • macOS (required for osascript)
  • OmniFocus 4.6+ installed
  • Node.js 18+
  • macOS automation permission for OmniFocus (granted on first use — see docs/PERMISSIONS.md)

Tools

Tasks (7 tools)

ToolDescription
list_tasksFilter by completion, flags, project, tags, dates, search, inbox, availability. Cached 30s.
get_task_countCount matching tasks without returning data.
todays_agendaTasks due today, overdue, or flagged.
create_taskCreate task with name, note, flags, dates, tags, project, estimated time.
update_taskModify any task property. Move between projects.
complete_taskMark task completed.
delete_taskRemove task.

Projects (5 tools)

ToolDescription
list_projectsFilter by status, flags, folder. Cached 5min.
create_projectCreate with folder placement (auto-creates folder if needed).
update_projectChange properties, move between folders.
complete_projectMark project done (optionally complete all tasks).
delete_projectRemove project.

Folders (6 tools)

ToolDescription
list_foldersList with nesting depth and status filter.
create_folderCreate folder, optionally nested.
update_folderRename, change status.
delete_folderDrop folder (optionally move contents first).
get_folder_contentsList projects and subfolders in a folder.
move_to_folderMove project or folder into a different folder.

Task Hierarchies (5 tools)

ToolDescription
get_task_hierarchyGet task with full subtask tree (configurable depth).
create_subtaskCreate child task with position control.
move_taskMove task to different parent or project root.
set_task_orderingSet sequential/parallel and completedByChildren.
list_subtasksList direct children of a task.

Tags (2 tools)

ToolDescription
list_tagsList all tags. Optional (expensive) usage statistics.
manage_tagsCreate, rename, delete, merge tags. Supports nested tags via parentTag.

Notifications (4 tools)

ToolDescription
list_notificationsList all notifications on a task.
add_notificationAdd absolute (date) or relative (offset from due) notification.
remove_notificationRemove notification by index.
clear_notificationsRemove all notifications from a task.

Attachments (4 tools)

ToolDescription
list_attachmentsList attachment metadata and linked files on a task.
add_linked_fileLink a file:// path to a task.
remove_attachmentRemove embedded attachment by index.
remove_linked_fileUnlink a file reference.

Analytics (3 tools)

ToolDescription
get_productivity_statsCompletion rates, time distribution. Group by project/tag/day/week.
get_task_velocityTask throughput over day/week/month.
analyze_overdue_tasksOverdue patterns grouped by project/tag/age/priority.

Recurring Tasks (2 tools)

ToolDescription
analyze_recurring_tasksList recurring tasks with frequency and due dates.
get_recurring_patternsStatistics about recurring task frequencies.

Export (3 tools)

ToolDescription
export_tasksExport tasks as JSON or CSV with field selection.
export_projectsExport projects with optional statistics.
bulk_exportExport all data (tasks, projects, tags) to files.

Architecture

src/
├── cache/           # TTL-based caching (30s tasks, 5min projects, 1h analytics)
├── omnifocus/
│   ├── OmniAutomation.ts   # Bridge: osascript → evaluateJavascript()
│   ├── scripts/             # Omni Automation script templates
│   └── types.ts             # Type definitions
├── tools/           # 41 MCP tools in 10 domain directories
│   ├── tasks/       ├── projects/    ├── folders/
│   ├── hierarchy/   ├── tags/        ├── notifications/
│   ├── attachments/ ├── analytics/   ├── recurring/
│   └── export/
├── utils/           # Logging, permission checking
└── index.ts         # Server entry point

Script execution flow:

  1. Tool calls omniAutomation.buildScript(template, params) — replaces {{placeholders}} with JSON.stringify-escaped values
  2. wrapScript() wraps the script in a try/catch IIFE
  3. The wrapped script is JSON.stringify-escaped again and passed to app.evaluateJavascript()
  4. osascript -l JavaScript runs the outer JXA wrapper
  5. JSON result is parsed and returned through MCP

Known limitations

  • No recurring task creation — can read recurring patterns but cannot create repeat rules
  • No perspective management — Omni Automation API is read-only for perspectives
  • No location-based tags — must be set manually in OmniFocus UI
  • add_linked_file only accepts file:// URLs — OmniFocus rejects http/https
  • MCP server caches builds — Claude Code must restart to pick up npm run build changes
  • No review/perspective management via automation

Development

npm run build     # Compile TypeScript
npm run dev       # Watch mode
npm test          # Unit tests (vitest)
npm run typecheck # Type check without building

License

MIT — see LICENSE

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for OmniFocus MCP Server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/omnifocus-mcp)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related productivity work MCP Servers

Alternative and complementary servers in the same category

View all in productivity work →
Tuqui hosted MCP server for Odoo
tuqui-odoo-mcp-for-claude-chatgpt•tuqui-ai

Tuqui is a hosted MCP server that connects Odoo with Claude and ChatGPT so users can ask about sales, stock, customers and overdue invoices in plain language.

Repository stats unavailable
Productivity & Ops