Creates and manipulates structured data in Tana workspaces through AI assistants, enabling automated note-taking and data organization with rich formatting, tasks, and custom schemas.

Integrates with Tana's Input API, enabling creation and manipulation of structured data in Tana workspaces for enhanced note-taking and automated data input tasks.

38415 views11Local (stdio)

What it does

  • Create formatted text nodes with rich content
  • Build complex nested node hierarchies
  • Create tasks with checkboxes and due dates
  • Define custom supertags and fields
  • Upload file attachments to nodes
  • Add references between nodes

Best for

Knowledge workers automating note organizationProject managers creating structured task hierarchiesResearchers building interconnected knowledge basesTeams standardizing data entry workflows
12 specialized tools for different node typesRich formatting with inline referencesCustom schema creation support

About Tana

Tana is a community-built MCP server published by tim-mcdonnell that provides AI assistants with tools and capabilities via the Model Context Protocol. Integrate with Tana's Input API to automate data input and manage structured notes in Tana workspaces effortlessly. It is categorized under productivity.

How to install

You can install Tana in your AI client of choice. Use the install panel on this page to get one-click setup for Cursor, Claude Desktop, VS Code, and other MCP-compatible clients. This server runs locally on your machine via the stdio transport.

License

Tana is released under the MIT license. This is a permissive open-source license, meaning you can freely use, modify, and distribute the software.

Tana MCP Server

A Model Context Protocol (MCP) server that connects to Tana's Input API, enabling AI assistants to create and manipulate data in your Tana workspace.

Tana Server MCP server

Table of Contents

Features

Tools (12 available)

ToolDescription
create_plain_nodeCreate simple text nodes with optional supertags
create_formatted_nodeCreate nodes with rich formatting and inline references
create_reference_nodeCreate references to existing nodes
create_date_nodeCreate date nodes (supports various ISO 8601 formats)
create_url_nodeCreate URL/link nodes
create_checkbox_nodeCreate checkbox/task nodes
create_file_nodeCreate file attachment nodes (base64 encoded)
create_node_structureCreate complex nested node hierarchies
create_supertagDefine new supertags in your schema
create_fieldDefine new fields in your schema
add_field_valueAdd field values to existing nodes
set_node_nameRename existing nodes (plain nodes only)

Prompts (4 templates)

  • create-task - Structured task creation with due dates and priorities
  • create-project - Project structures with goals and milestones
  • create-meeting-notes - Meeting documentation with attendees and action items
  • create-knowledge-entry - Knowledge base entries with categories and sources

Resources (4 available)

  • api-docs - Complete Tana Input API reference
  • node-types - Detailed examples of all supported node types
  • examples - Common usage patterns and best practices
  • server-info - Current server status and configuration

Prerequisites

Getting Your Tana API Token

  1. Open Tana in your browser
  2. Click on the Settings icon (gear) in the bottom left
  3. Navigate to API tokens
  4. Click Create new token
  5. Give it a descriptive name (e.g., "MCP Server")
  6. Copy the token immediately - it won't be shown again

Installation

Raycast

Raycast integrates MCP servers directly into its AI features. Once configured, use @tana-mcp in any Raycast AI interaction.

Step 1: Install the MCP Extension

  1. Open Raycast
  2. Search for "Store" and open the Raycast Store
  3. Search for "Model Context Protocol"
  4. Install the MCP extension

Step 2: Add the Tana MCP Server

  1. Open Raycast and search for "Install Server" (from the MCP extension)
  2. Fill in the form:
FieldValue
NameTana
Typestdio
Commandnpx
Arguments-y tana-mcp
  1. Add environment variables:

Alternative: Copy this JSON before opening "Install Server" - Raycast will auto-populate the form:

{
  "name": "Tana",
  "type": "stdio",
  "command": "npx",
  "args": ["-y", "tana-mcp"],
  "env": {
    "TANA_API_TOKEN": "your-api-token-here",
    "TANA_DEFAULT_TARGET": "INBOX"
  }
}

Step 3: Use in Raycast AI

Once installed, mention the server in any Raycast AI interaction:

  • Quick AI: Type your query and mention @Tana
  • AI Chat: Start a chat and use @Tana to invoke tools
  • AI Commands: Create custom commands that use Tana tools

Example: "@Tana Create a task called 'Review quarterly report' with high priority"

For more details, see the Raycast MCP documentation.


Claude Code (CLI)

Add Tana MCP as a user-scoped server available in all your Claude Code sessions.

claude mcp add -s user \
  -e TANA_API_TOKEN=your-api-token-here \
  -e TANA_DEFAULT_TARGET=INBOX \
  tana-mcp \
  npx -y tana-mcp

Or for project-scoped (current directory only):

claude mcp add \
  -e TANA_API_TOKEN=your-api-token-here \
  tana-mcp \
  npx -y tana-mcp

Verify it's installed:

claude mcp list

Claude Desktop

Add to your Claude Desktop configuration file:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "tana-mcp": {
      "command": "npx",
      "args": ["-y", "tana-mcp"],
      "env": {
        "TANA_API_TOKEN": "your-api-token-here",
        "TANA_DEFAULT_TARGET": "INBOX"
      }
    }
  }
}

Restart Claude Desktop after saving.


Other MCP Clients

For any MCP-compatible client, configure with:

SettingValue
Commandnpx
Arguments-y tana-mcp
EnvironmentTANA_API_TOKEN=your-token

Or if installed globally (npm install -g tana-mcp):

SettingValue
Commandtana-mcp
EnvironmentTANA_API_TOKEN=your-token

Configuration Options

VariableRequiredDefaultDescription
TANA_API_TOKENYes-Your Tana API token
TANA_DEFAULT_TARGETNoLibrary rootWhere to place nodes when no target specified. Use INBOX for inbox, or any node ID
TANA_API_ENDPOINTNoTana's defaultCustom API endpoint (advanced use only)

Target Options

  • Omit TANA_DEFAULT_TARGET: Nodes appear in Library root
  • INBOX: Nodes go to your Tana Inbox for later processing
  • Any node ID: Nodes created under that specific node

Usage

Available Tools

Basic Node Creation

Create a node called "Meeting Notes - January 9th"

Tasks with Checkboxes

Create a task "Review PR #123" that's not yet completed

Rich Formatted Content

Create a formatted node with **bold text** and a reference to node ID abc123

Nested Structures

Create a project structure with:
- Project: Website Redesign
  - Phase 1: Research
  - Phase 2: Design
  - Phase 3: Development

Schema Operations

Create a new supertag called "Book" for tracking my reading list

Example Prompts

Here are natural language prompts that work well:

What you wantExample prompt
Quick capture"Add 'Call dentist' to my Tana inbox"
Task with details"Create a high-priority task 'Finish report' due Friday"
Meeting notes"Create meeting notes for my 1:1 with Sarah, we discussed Q1 goals"
Project setup"Set up a new project called 'App Launch' with planning, development, and release phases"
Knowledge entry"Add a note about TypeScript generics with examples"
Link a URL"Save this article: https://example.com/interesting-post"

Text Formatting

The create_formatted_node tool supports rich text formatting in node names:

FormatSyntaxResult
Bold**text**text
Italic__text__text
Strikethrough~~text~~text
Highlight^^text^^highlighted

You can also include:

  • Inline node references: Link to other nodes by ID
  • Inline dates: Clickable date links

Example:

Create a formatted node: "Discussed **important** changes with [PERSON] on [DATE]"
with PERSON referencing node xyz123 and DATE as 2024-01-15

API Limitations

These are Tana Input API limitations, not server limitations:

LimitValue
Nodes per request100 maximum
Rate limit1 request/second per token
Payload size5,000 characters
Workspace nodes750,000 maximum

Not supported by Tana's API:

  • Reading/querying existing nodes (write-only API)
  • Targeting "Today" or relative date nodes
  • Updating checkbox/boolean nodes
  • Non-HTTP/HTTPS links

Development

Building from Source

git clone https://github.com/tim-mcdonnell/tana-mcp.git
cd tana-mcp
bun install      # or: npm install
bun run build    # or: npm run build

Running Locally

TANA_API_TOKEN=your-token bun run dev

Testing with Claude Code

Point Claude Code to your local build:

claude mcp add -s user \
  -e TANA_API_TOKEN=your-token \
  tana-mcp-dev \
  bun /path/to/tana-mcp/dist/index.js

Troubleshooting

"Missing expected parameter key: items"

This error occurred in versions before 2.0.0. Update to the latest version:

npm install -g tana-mcp@latest

Server not connecting

  1. Verify your token: Make sure TANA_API_TOKEN is set correctly
  2. Check the command: Ensure npx is available in your PATH
  3. Restart the client: Some clients require restart after config changes
  4. Check logs: Look for error messages in your MCP client's logs

Nodes appearing in wrong location

  • Set `TANA_DEFAULT_TARG

README truncated. View full README on GitHub.

Alternatives

Related Skills

Browse all skills
chief-architect

PERSONAL APP ARCHITECT - Strategic development orchestrator for personal productivity applications. Analyzes project context, makes architectural decisions for single-developer projects, delegates to specialized skills, and ensures alignment between user experience goals and technical implementation. Optimized for personal apps targeting 10-100 users.

0
personal-analytics

Analyze conversation patterns, track productivity, and surface self-knowledge insights. Use when user wants to understand their own patterns (when they chat, what topics they discuss, productivity trends, sentiment over time). Provides weekly/monthly reports, topic recommendations, and time-based insights. Privacy-first design with all analysis local.

0
windsurf-extension-pack

Install and configure essential Windsurf extensions for productivity. Activate when users mention "install extensions", "setup windsurf plugins", "configure extensions", "extension recommendations", or "productivity extensions". Handles extension installation and configuration. Use when working with windsurf extension pack functionality. Trigger with phrases like "windsurf extension pack", "windsurf pack", "windsurf".

0
cto-engineering-metrics

Expert methodology for defining, tracking, and interpreting engineering performance metrics including DORA, team health, productivity, and executive reporting.

0
email-management-expert

Expert email management assistant for Apple Mail. Use this when the user mentions inbox management, email organization, email triage, inbox zero, organizing emails, managing mail folders, email productivity, checking emails, or email workflow optimization. Provides intelligent workflows and best practices for efficient email handling.

0
windsurf-usage-analytics

Analyze team AI usage patterns and productivity metrics. Activate when users mention "usage analytics", "ai metrics", "productivity tracking", "usage reports", or "roi analysis". Handles analytics and reporting configuration. Use when working with windsurf usage analytics functionality. Trigger with phrases like "windsurf usage analytics", "windsurf analytics", "windsurf".

0