Install the polar-flow skill
The polar-flow skill tells Claude how to drive the polar-flow-mcp tools
correctly — which tool does what, the exact parameter shapes, the units the API
expects, and how to handle failures — so you can speak in plain language rather
than remembering API parameters. It ships in the repository under
skill/polar-flow/: a SKILL.md entry point plus a reference/ directory of
on-demand detail pages.
This guide covers installing the skill and connecting your Claude client to the running server — they are two separate steps.
Install the skill
Section titled “Install the skill”Option 1: Claude Desktop or Claude Code
Section titled “Option 1: Claude Desktop or Claude Code”Works when you run Claude Desktop or Claude Code on your local machine:
-
Locate your Claude skills directory. On Claude Code this is typically
~/.claude/skills/. -
Copy (or symlink) the whole
polar-flow/directory into it (thereference/files must travel withSKILL.md):Terminal window cp -r skill/polar-flow ~/.claude/skills/ -
Restart Claude. The skill is auto-discovered and active for all conversations.
Option 2: Claude.ai project file upload
Section titled “Option 2: Claude.ai project file upload”Works for Claude.ai conversations via the Projects feature:
- Open your Claude.ai project (or create one for training management).
- Upload the files under
skill/polar-flow/(SKILL.mdand thereference/pages) as project files. - The skill becomes active for all chats in that project — no restart needed.
Both methods give Claude identical guidance and tool-calling behaviour.
Connect Claude to your server
Section titled “Connect Claude to your server”The skill tells Claude what tools exist and how to use them. Separately, you must point your Claude client at the polar-flow-mcp server.
HTTP mode (production)
Section titled “HTTP mode (production)”Add your server URL (https://<your-host>/mcp) as an MCP server endpoint. The
server uses StreamableHTTP transport — no WebSocket or SSE setup needed. When the
server is exposed publicly, the MCP connection goes through your reverse proxy,
which handles OAuth.
# Claude Code (project-scoped)claude mcp add --transport http polar-flow-mcp --scope project https://<your-host>/mcpSee the HTTP endpoints reference for details
on the /mcp endpoint, and Expose the server securely for
the public OAuth setup.
Stdio mode (local development)
Section titled “Stdio mode (local development)”For local development, run the server in stdio mode. Claude Code launches the
binary directly and communicates over stdin/stdout.
claude mcp add --transport stdio polar-flow-mcp -- /absolute/path/to/polar-flow-mcpThe binary reads its configuration from the environment. Set at minimum:
TRANSPORT=stdioPOLAR_EMAIL=you+polartest@example.comPOLAR_PASSWORD=correct-horse-battery-stapleCOOKIE_JAR_PATH=/absolute/path/to/polar-cookies.jsonLOG_FILE=/tmp/polar-flow-mcp.log # required — logs cannot go to stderr in stdio modePlace these in a .env file in the working directory, or pass them via the
env block in your MCP server configuration. See
Getting started for the full walkthrough.