A Model Context Protocol (MCP) server that integrates with OmniFocus to enable Claude (or other MCP-compatible AI assistants) to interact with your tasks and projects.
A Model Context Protocol (MCP) server that integrates with OmniFocus to enable Claude (or other MCP-compatible AI assistants) to interact with your tasks and projects.
This MCP server creates a bridge between AI assistants (like Claude) and your OmniFocus task management system. It gives AI models the ability to view, create, edit, and remove tasks and projects in your OmniFocus database through natural language conversations. Some ways you could use it:
~/Library/Application Support/Claude/claude_desktop_config.json
{ "mcpServers": { "omnifocus": { "command": "npx", "args": ["-y", "omnifocus-mcp"] } } }
"I want every task to have an energy level tag. show me a list of all the tasks that don't have an energy level tag and your suggestions for what tag to add. I'll make any changes I think are appropriate. Then make the changes in OmniFocus."
"Ok, thanks for the detailed explanation of why the rule of law is important. Add a recurring task to my activism project that reminds me to call my representative weekly. Include a summary of this conversation in the notes field."
Get a summary of your current tasks and manage them conversationally:
"Show me all my flagged tasks due this week that don't mention "fish".
Extract action items from meeting transcripts, academic research articles, or notes:
"I'm pasting in the transcript from today's product meeting. Please analyze it and create tasks in OmniFocus for any action items assigned to me. Put them in my 'Product Development' project."
Manage multiple items efficiently:
"I have a list of 20 tasks from this meeting transcript. Please add them all to my 'Q2 Planning' project with appropriate tags and due dates."
The server currently provides these tools:
dump_database
Gets the current state of your OmniFocus database.
add_omnifocus_task
Add a new task to OmniFocus.
Parameters:
name
: The name of the taskprojectName
: (Optional) The name of the project to add the task tonote
: (Optional) Additional notes for the taskdueDate
: (Optional) The due date of the task in ISO formatdeferDate
: (Optional) The defer date of the task in ISO formatflagged
: (Optional) Whether the task is flagged or notestimatedMinutes
: (Optional) Estimated time to complete the tasktags
: (Optional) Tags to assign to the taskadd_project
Add a new project to OmniFocus.
Parameters:
name
: The name of the projectfolderName
: (Optional) The name of the folder to add the project tonote
: (Optional) Additional notes for the projectdueDate
: (Optional) The due date of the project in ISO formatdeferDate
: (Optional) The defer date of the project in ISO formatflagged
: (Optional) Whether the project is flagged or notestimatedMinutes
: (Optional) Estimated time to complete the projecttags
: (Optional) Tags to assign to the projectsequential
: (Optional) Whether tasks in the project should be sequentialremove_item
Remove a task or project from OmniFocus.
Parameters:
id
: (Optional) The ID of the task or project to removename
: (Optional) The name of the task or project to removeitemType
: The type of item to remove ('task' or 'project')edit_item
Edit a task or project in OmniFocus.
Parameters:
id
: (Optional) The ID of the task or project to editname
: (Optional) The name of the task or project to edititemType
: The type of item to edit ('task' or 'project')batch_add_items
Add multiple tasks or projects to OmniFocus in a single operation.
Parameters:
items
: Array of items to add, where each item can be:
type
: The type of item ('task' or 'project')name
: The name of the itemnote
: (Optional) Additional notesdueDate
: (Optional) Due date in ISO formatdeferDate
: (Optional) Defer date in ISO formatflagged
: (Optional) Whether the item is flaggedestimatedMinutes
: (Optional) Estimated completion timetags
: (Optional) Array of tagsprojectName
: (Optional) For tasks: the project to add tofolderName
: (Optional) For projects: the folder to add tosequential
: (Optional) For projects: whether tasks are sequentialbatch_remove_items
Remove multiple tasks or projects from OmniFocus in a single operation.
Parameters:
items
: Array of items to remove, where each item can be:
id
: (Optional) The ID of the item to removename
: (Optional) The name of the item to removeitemType
: The type of item ('task' or 'project')Documentation to follow.
This server uses AppleScript to communicate with OmniFocus, allowing it to interact with the application's native functionality. The server is built using the Model Context Protocol SDK, which provides a standardized way for AI models to interact with external tools and systems.
MIT
Contributions are welcome! Please feel free to submit a Pull Request.
Discover shared experiences
Shared threads will appear here, showcasing real-world applications and insights from the community. Check back soon for updates!