Obsidian Tasks MCP server

Obsidian Tasks MCP server

obsidian-tasks-mcp•byjfim

An MCP server that extracts and queries Obsidian Tasks from markdown files, exposing task listing and query tools for AI-assisted task management.

License: Not specified•Runtime: Awaiting documentation review•Category: productivity work

WHAT IT DOES

  • •Extracts all tasks from markdown files in a directory, recursively scanning subfolders, returning task objects with status, dates, tags, priority and recurrence.
  • •Provides a query tool that searches tasks using Obsidian Tasks query syntax, applying multiple filters such as status, due and start dates, tags, paths, descriptions and priority.
  • •Supports both Obsidian Tasks emoji format and Dataview format for task metadata.

BEST FOR

  • •AI-assisted task management with Claude over an Obsidian vault.
  • •Finding incomplete tasks with specific tags and due-date constraints using query filters.

ABOUT OBSIDIAN-TASKS-MCP

Obsidian Tasks MCP server is cataloged as an MCP server attributed to jfim. An MCP server that extracts and queries Obsidian Tasks from markdown files, exposing task listing and query tools for AI-assisted task management. 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: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

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 Obsidian Tasks 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

Which task metadata fields does the server expose?

It exposes status, due, scheduled, start and created dates, tags, priority and recurrence rules.

Can queries combine multiple filters?

Yes, each line in the query is treated as a filter and multiple filters are applied together.

上游原版 README

在 GitHub 查看同一版本原文

README.md · d9fa1a0f6b8b · 采集于 2026-11-13 10:04:10 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

Obsidian Tasks MCP Server

npm version

A Model Context Protocol (MCP) server for extracting and querying Obsidian Tasks from markdown files. Designed to work with Claude via the MCP protocol to enable AI-assisted task management.

Features

  • Extract tasks from Obsidian markdown files with a format compatible with the Obsidian Tasks plugin
  • Identify completed and pending tasks
  • Access task metadata including:
    • Status (complete/incomplete)
    • Due dates
    • Scheduled dates
    • Start dates
    • Created dates
    • Tags
    • Priority
    • Recurrence rules

Tools

This MCP server provides the following tools:

list_all_tasks

Extracts all tasks from markdown files in a directory, recursively scanning through subfolders.

Input Parameters:

  • path (string, optional): The directory to scan for markdown files. If not specified, defaults to the first allowed directory.

Returns: A JSON array of task objects, each containing:

{
  "id": "string",          // Unique identifier (filepath:linenumber)
  "description": "string", // Full text description of the task
  "status": "complete" | "incomplete", // Task completion status
  "filePath": "string",    // Path to the file containing the task
  "lineNumber": "number",  // Line number in the file
  "tags": ["string"],      // Array of tags found in the task
  "dueDate": "string",     // Optional - YYYY-MM-DD format 
  "scheduledDate": "string", // Optional - YYYY-MM-DD format
  "startDate": "string",   // Optional - YYYY-MM-DD format
  "createdDate": "string", // Optional - YYYY-MM-DD format
  "priority": "string",    // Optional - "high", "medium", or "low"
  "recurrence": "string"   // Optional - recurrence rule
}

query_tasks

Searches for tasks based on Obsidian Tasks query syntax. Applies multiple filters to find matching tasks.

Input Parameters:

  • path (string, optional): The directory to scan for markdown files. If not specified, defaults to the first allowed directory.
  • query (string, required): The query string using Obsidian Tasks query syntax. Each line is treated as a filter.

Returns: A JSON array of task objects that match the query, with the same structure as list_all_tasks.

Supported Query Syntax:

  • Status filters:

    • done - Show completed tasks
    • not done - Show incomplete tasks
  • Date filters (due):

    • Note on semantics: due today is an exact match (only tasks due exactly today). Use range operators to include earlier/later dates.
    • due today - Tasks due today
    • due before today - Tasks due before today (exclusive)
    • due after today - Tasks due after today (exclusive)
    • due on or before today - Tasks due today or earlier (inclusive)
    • due on or after today - Tasks due today or later (inclusive)
    • due on YYYY-MM-DD or due YYYY-MM-DD - Tasks due on a specific date
    • due before YYYY-MM-DD - Tasks due before a date (exclusive)
    • due after YYYY-MM-DD - Tasks due after a date (exclusive)
    • due on or before YYYY-MM-DD - Tasks due on/before a date (inclusive)
    • due on or after YYYY-MM-DD - Tasks due on/after a date (inclusive)
    • no due date - Tasks with no due date
    • has due date - Tasks with a due date
  • Start date filters:

    • Note on semantics: starts today is an exact match (only tasks that start today). Use range operators to include earlier/later dates.
    • starts today - Tasks starting today
    • starts on YYYY-MM-DD or starts YYYY-MM-DD - Start on a specific date
    • starts before YYYY-MM-DD - Start before a date (exclusive)
    • starts after YYYY-MM-DD - Start after a date (exclusive)
    • starts on or before YYYY-MM-DD - Start on/before a date (inclusive)
    • starts on or after YYYY-MM-DD - Start on/after a date (inclusive)
    • no start date - Tasks with no start date
    • has start date - Tasks with a start date
  • Tag filters:

    • no tags - Tasks with no tags
    • has tags - Tasks with at least one tag
    • tag includes #tag - Tasks with tags containing "tag"
    • tag does not include #tag - Tasks without tags containing "tag"
  • Path filters:

    • path includes string - Tasks in files with paths containing "string"
    • path does not include string - Tasks in files with paths not containing "string"
  • Description filters:

    • description includes string - Tasks with descriptions containing "string"
    • description does not include string - Tasks with descriptions not containing "string"
  • Priority filters:

    • priority is highest - Tasks with highest priority
    • priority is high - Tasks with high priority
    • priority is medium - Tasks with medium priority
    • priority is low - Tasks with low priority
    • priority is lowest - Tasks with lowest priority
    • priority is none - Tasks with no priority

Example Query:

not done
due before 2025-05-01
tag include #work

This would return all incomplete tasks due before May 1, 2025, that have the #work tag.

Inclusive OR example (single line):

due on or before today OR starts on or before today

Usage

Installation

From npm (recommended):

# Install globally
npm install -g @jfim/obsidian-tasks-mcp

# Or use directly with npx without installing
npx @jfim/obsidian-tasks-mcp /path/to/obsidian/vault

From source:

git clone https://github.com/jfim/obsidian-tasks-mcp.git
cd obsidian-tasks-mcp
npm install
npm run build

Running the Server

Using npm package (recommended):

# If installed globally
obsidian-tasks-mcp /path/to/obsidian/vault

# Or with npx (no installation required)
npx @jfim/obsidian-tasks-mcp /path/to/obsidian/vault

From source:

node dist/index.js /path/to/obsidian/vault

Testing

To run the test suite:

npm test

See TESTING.md for detailed information about the test suite.

Using with Claude

Add this configuration to your Claude client that supports MCP:

{
  "mcpServers": {
    "obsidian-tasks": {
      "command": "npx",
      "args": [
        "@jfim/obsidian-tasks-mcp",
        "/path/to/obsidian/vault"
      ]
    }
  }
}

If you installed from source:

{
  "mcpServers": {
    "obsidian-tasks": {
      "command": "node",
      "args": [
        "/path/to/obsidian-tasks-mcp/dist/src/index.js",
        "/path/to/obsidian/vault"
      ]
    }
  }
}

Docker

Build the Docker image:

docker build -t @jfim/obsidian-tasks-mcp .

Run with Docker:

docker run -i --rm --mount type=bind,src=/path/to/obsidian/vault,dst=/projects/vault @jfim/obsidian-tasks-mcp /projects

Claude Desktop configuration:

{
  "mcpServers": {
    "obsidian-tasks": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "--mount", "type=bind,src=/path/to/obsidian/vault,dst=/projects/vault",
        "@jfim/obsidian-tasks-mcp",
        "/projects"
      ]
    }
  }
}

Task Format

The server supports both Obsidian Tasks emoji format and Dataview format for task metadata.

  • Task syntax: - [ ] Task description
  • Completed task: - [x] Task description
  • Due date:
    • 🗓️ YYYY-MM-DD
    • 📅 YYYY-MM-DD
  • Scheduled date: ⏳ YYYY-MM-DD
  • Start date: 🛫 YYYY-MM-DD
  • Created date: ➕ YYYY-MM-DD
  • Priority: ⏫ (high), 🔼 (medium), 🔽 (low)
  • Recurrence: 🔁 every day/week/month/etc.
  • Tags: #tag1 #tag2

Example task: - [ ] Complete project report 🗓️ 2025-05-01 ⏳ 2025-04-25 #work #report ⏫

License

MIT 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 Obsidian Tasks 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/obsidian-tasks-mcp)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

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

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

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