PluginBench
MCP Server
Active
MIT

io.github.mholzen/workflowy MCP Server

io.github.mholzen/workflowy

AI-powered Workflowy access with search, bulk replace, reports, and offline support via MCP server and CLI.

What is the io.github.mholzen/workflowy MCP server?

The Workflowy MCP Server is a Model Context Protocol server and CLI tool written in Go that connects AI assistants like Claude to your Workflowy outline. It provides full-text search with regex, bulk find-and-replace, usage reports, content transformations, and offline access via backup files.

This server lets you query and manipulate your Workflowy outline through Claude or other AI assistants, or use it as a standalone CLI. You can search with regex, perform bulk replacements, generate usage reports (stale nodes, size analysis, mirrors), transform content, and manage nodes—all with optional sandboxing via write-root-id and offline capability through Dropbox backups.

How to install io.github.mholzen/workflowy

Copy-paste configuration for popular MCP clients.

transport: stdio
Config generated by PluginBench — verify against the source before use.
Environment / auth
  • WORKFLOWY_API_KEY
    required
    secret

    Your Workflowy API key (get it from https://workflowy.com/api-key/)

~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "workflowy": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/mholzen/workflowy:0.8.1"
      ],
      "env": {
        "WORKFLOWY_API_KEY": "<YOUR_WORKFLOWY_API_KEY>"
      }
    }
  }
}

Tools & capabilities

Tools this server exposes to the agent.

  • workflowy_get — Get a node and its descendants as a tree
  • workflowy_list — List descendants as a flat list
  • workflowy_search — Search nodes by text or regex
  • workflowy_targets — List shortcuts and system targets (inbox, etc.)
  • workflowy_id — Resolve short ID or target key to full UUID
  • workflowy_report_count — Find where most of your content lives
  • workflowy_report_children — Find nodes with many children
  • workflowy_report_created — Find oldest nodes
  • workflowy_report_modified — Find stale, unmodified nodes
  • workflowy_report_mirrors — Find most mirrored nodes (requires backup)
  • workflowy_create — Create new nodes
  • workflowy_update — Update node content
  • workflowy_move — Move node to a new parent
  • workflowy_delete — Delete nodes
  • workflowy_complete — Mark nodes complete
  • workflowy_uncomplete — Mark nodes incomplete
  • workflowy_replace — Bulk find-and-replace with regex
  • workflowy_transform — Transform node content (split, trim, shell commands)

Use cases

  • Search your entire Workflowy outline with regex and get results as AI context
  • Perform bulk find-and-replace operations across your outline with dry-run preview
  • Generate usage reports to find stale content, oversized nodes, and most-mirrored items
  • Transform node content by splitting on delimiters, trimming, or piping through shell commands
  • Manage tasks programmatically: create, update, move, complete, and delete nodes from Claude or CLI

io.github.mholzen/workflowy MCP server FAQ

What is the Workflowy MCP Server?

It's a Model Context Protocol server and CLI tool that gives Claude and other AI assistants access to your Workflowy outline. You can search, replace, create/update nodes, generate reports, and transform content—either through AI or command-line.

Is it free?

Yes, the server is open-source (MIT license). You need a Workflowy account and API key (free tier available at workflowy.com/api-key/).

How do I install it in Claude Desktop?

Add the configuration to your Claude Desktop config file (macOS: ~/Library/Application Support/Claude/claude_desktop_config.json) with the command 'workflowy mcp --expose=all', or use 'claude mcp add' if you have the CLI installed via Homebrew.

Do I need authentication?

Yes, you need a Workflowy API key. Store it in ~/.workflowy/api.key or set the WORKFLOWY_API_KEY environment variable.

Can I use it offline?

Yes, if you enable Workflowy's Dropbox backup. The server can read from backup files for offline access to your outline.

What data access methods are available?

Three methods: 'get' (real-time, medium speed), 'export' (fast, 1-min worst-case freshness), and 'backup' (fastest, offline-capable but stale data).

README (reference)

Source of truth, from the repository.

Workflowy MCP Server & CLI

A feature-rich Model Context Protocol (MCP) server and Command Line Interface (CLI) for Workflowy written in Go. Connect your AI assistant (Claude, ChatGPT, etc.) to your Workflowy data or run commands from a terminal emulator or script, including search, bulk replace, usage reports, and offline access capabilities.

Go Homebrew MCP Compatible MIT License

<a href="https://glama.ai/mcp/servers/@mholzen/workflowy"> <img width="380" height=“200" src="https://glama.ai/mcp/servers/@mholzen/workflowy/badge" /> </a>

Why This Workflowy MCP Server?

  • Full-text search with regex
  • Bulk search & replace
  • Content transformation (split, clean, pipe to LLMs)
  • Usage reports (stale nodes, size analysis, mirrors)
  • Sandboxed AI access with --write-root-id
  • Offline mode via backup files
  • CLI + MCP server in one tool
  • Caching for performance
  • Homebrew installation
  • Basic CRUD operations
  • Using short IDs (Copy Internal Link)

Quick Start

Install via Homebrew

brew install mholzen/workflowy/workflowy-cli

Configure Your API Key

mkdir -p ~/.workflowy
echo "your-api-key-here" > ~/.workflowy/api.key

Get your API key at https://workflowy.com/api-key/

Run Your First Command

# Get the top-level nodes, and nodes two levels deep
workflowy get

# Generate a report showing where most of your nodes are
workflowy report count | pbcopy   # paste directly into Workflowy!

Use pbcopy on macOS, clip on Windows, wl-copy on Linux, or xclip for X11 systems.

Use with Claude Desktop or Claude Code

Claude Code

claude mcp add --transport=stdio workflowy -- workflowy mcp --expose=all

Remove —expose=all to limit to read-only tools.

Claude Desktop

Add to your configuration file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "workflowy": {
      "command": "workflowy",
      "args": ["mcp", "--expose=all"]
    }
  }
}

Restart Claude Desktop and start asking Claude to work with your Workflowy!

MCP Tools for AI Assistants

Read Tools (Safe)

ToolDescription
workflowy_getGet a node and its descendants as a tree
workflowy_listList descendants as a flat list
workflowy_searchSearch nodes by text or regex
workflowy_targetsList shortcuts and system targets (inbox, etc.)
workflowy_idResolve short ID or target key to full UUID
workflowy_report_countFind where most of your content lives
workflowy_report_childrenFind nodes with many children
workflowy_report_createdFind oldest nodes
workflowy_report_modifiedFind stale, unmodified nodes
workflowy_report_mirrorsFind most mirrored nodes (requires backup)

Write Tools

ToolDescription
workflowy_createCreate new nodes
workflowy_updateUpdate node content
workflowy_moveMove node to a new parent
workflowy_deleteDelete nodes
workflowy_completeMark nodes complete
workflowy_uncompleteMark nodes incomplete
workflowy_replaceBulk find-and-replace with regex
workflowy_transformTransform node content (split, trim, shell commands)

CLI Features

Search Your Entire Outline

# Find all TODOs (case-insensitive)
workflowy search -i "foobar"

# Regex search for dates
workflowy search -E "<time.*>"

# Search within a specific subtree (using Internal Link)
workflowy search "bug" --item-id https://workflowy.com/#/1bdae4aecf00

Bulk Search and Replace

# Preview changes first (dry run)
workflowy replace --dry-run "foo" "bar"

# Interactive confirmation
workflowy replace --interactive "foo" "bar"

# Use regex capture groups
workflowy replace "TASK-([0-9]+)" 'ISSUE-$1'

Some Common CRUD Operations

# Add a task to your inbox
workflowy create "Buy groceries" --parent-id=inbox

# Change the name of an item
workflowy update xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx --name "Project Plan v2"

# Move an item to a different parent
workflowy move <item-id> <new-parent-id>

# Mark a node as complete, using a short ID
workflowy complete https://workflowy.com/#/xxxxxxxxxxxx

# Resolve a short ID or target key to full UUID
workflowy id inbox

Transform Content

# Split a node's content by newlines into child nodes
workflowy transform <item-id> split -s "\n"

# Clean up text
workflowy transform <item-id> trim
workflowy transform <item-id> no-punctuation

# Pipe content through any shell command (e.g., an LLM)
workflowy transform <item-id> -x 'echo {} | llm "summarize this"'

Usage Reports

# Where is most of my content?
workflowy report count --threshold 0.01

# Which nodes have the most children?
workflowy report children --top-n 20

# Find stale content (oldest modified)
workflowy report modified --top-n 50

# Find most mirrored nodes (requires backup)
workflowy report mirrors --top-n 20

Data Access Methods

Choose the best method for your use case:

MethodSpeedFreshnessOfflineBest For
--method=getMediumReal-timeNoSpecific items
--method=exportFast*1 min worst case (due to rate limiting)NoFull tree access
--method=backupFastestStaleYesBulk operations

*Cached after first fetch

Offline Mode with Dropbox Backup

Enable Workflowy's Dropbox backup and access your data offline:

workflowy get --method=backup
workflowy search -i "project" --method=backup

Installation Options

Homebrew (macOS & Linux)

brew install mholzen/workflowy/workflowy-cli

Scoop (Windows)

scoop bucket add workflowy https://github.com/mholzen/scoop-workflowy
scoop install workflowy

Go Install

go install github.com/mholzen/workflowy/cmd/workflowy@latest

Download Binary

Download pre-built binaries from GitHub Releases.

Docker

docker run --rm -e WORKFLOWY_API_KEY=your-key ghcr.io/mholzen/workflowy:latest get

From Source

git clone https://github.com/mholzen/workflowy.git
cd workflowy
go build ./cmd/workflowy

Documentation

Examples

AI Assistant Workflows

Ask Claude:

  • "Search my Workflowy for all items containing 'meeting notes'"
  • "Show me nodes I haven't touched in 6 months"
  • "Replace all 'v1' with 'v2' in my Project A folder"
  • "What's taking up the most space in my outline?"
  • "Which nodes are mirrored the most?"
  • "Move this item to my inbox"

CLI Workflows

# Morning review: find stale items
workflowy report modified --top-n 20

# Weekly cleanup: find oversized nodes
workflowy report count --threshold 0.05

# Find unnecessary mirrors
workflowy report mirrors --top-n 20

# Bulk rename: update project prefix
workflowy replace "OLD-" "NEW-" --parent-id projects-folder-id

# Split pasted content into child nodes
workflowy transform <item-id> split -s "\n"

Contributing

Contributions welcome! See the Contributing Guide.

# Development setup
git clone https://github.com/mholzen/workflowy.git
cd workflowy
go test ./...

License

MIT — see LICENSE

Acknowledgments

  • Thanks to Andrew Lisy for requesting a method to sandbox write commands
  • Thanks to Craig P. Motlin for pointing out mirrors are defined in the backup files

Related MCP servers

COContextPull logo

Exact document sections on demand for LLM agents: index in context, search, read, grep, neighbours.

0
HTML
MIT
View repository →

The official MCP Server from Mia-Platform to interact with Mia-Platform Console

3
TypeScript
Apache-2.0
View repository →

Transform HTML prototypes into Figma using your design system's real components and tokens.

13
JavaScript
MIT
View repository →
MIMimic AI logo

Mimic AI

Maintained

Transform HTML into Figma using your design system, enforcing correct component usage and learning from every build.

13
JavaScript
MIT
View repository →

Two-tier memory: hot cache (0ms) + semantic search. Self-organizing.

7
Python
MIT
View repository →
NONobodyNamed logo

US baby name popularity data from SSA records (1880-2025): search, trends, geography, culture.

0
HTML
MIT
View repository →