Provides tools to manage todos within an Obsidian vault, enabling AI assistants to list incomplete tasks, add new todos to daily notes, update existing entries, and retrieve productivity statistics via the Local REST API.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Obsidian Todos MCP Serveradd 'Submit the quarterly expense report' to my daily note"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Obsidian Todos MCP Server
Model Context Protocol (MCP) server that provides AI assistants with direct access to Obsidian todos through the Local REST API.
Features
🔍 List todos - Get all incomplete todos from your vault
➕ Add todos - Create new todos in today's daily note
✏️ Update todos - Modify existing todos or mark them complete
📊 Get stats - View todo statistics by file
Prerequisites
Obsidian with the following plugins installed and enabled:
Local REST API
Dataview
Todos REST API (this plugin)
Node.js 18+ installed
Installation
From npm (coming soon)
From source
Configuration
Environment Variables
OBSIDIAN_API_URL- Base URL for the REST API (default:http://localhost:27124)OBSIDIAN_API_KEY- API key if authentication is enabled
Claude Desktop Configuration
Add to your claude_desktop_config.json:
Or use the direct binary name after npm link:
Or if running from source:
Available Tools
list_todos
Lists all incomplete todos from your Obsidian vault.
Example:
add_todo
Adds a new todo to today's daily note.
Parameters:
text(string, required) - The todo text
Example:
update_todo
Updates an existing todo (mark complete, change text, etc.).
Parameters:
file(string, required) - Path to file containing the todoline(number, required) - Line number of the todo (0-indexed)text(string, optional) - New text for the todocompleted(boolean, optional) - Mark as complete/incomplete
Example:
get_todo_stats
Get statistics about your todos.
Example:
Development
Troubleshooting
Connection Issues
Ensure Obsidian Local REST API is running
Check the API URL is correct (default:
http://localhost:27124)Verify the Todos REST API plugin is enabled in Obsidian
Authentication Errors
If you have authentication enabled in Local REST API:
Set the
OBSIDIAN_API_KEYenvironment variableOr update your Claude Desktop config with the API key
License
MIT