Skip to content
mcp/skillhub

Docs MCP Server

by mastra-ai

Provides AI assistants with direct access to Mastra.ai's complete knowledge base.

29kNode.jsstdio

context tax

~3,429 tok/turn13 tools

security

92/100

cold start

6901 ms

freshness

Active23d ago

Our reading of Docs, from the data

Docs is a notes & knowledge MCP server from mastra-ai.

Its 13 tools add about 3,429 tokens to every model turn, heavier than the notes & knowledge median of 1,784 tokens across 87 measured servers (measured 2026-10-23).

Maintenance is active: the last public signal was 23 days ago (2026-10-19). For comparison, 70% of notes & knowledge servers are active or maintained.

With 28,892 GitHub stars it ranks #5 of 1,114 notes & knowledge servers we index.

It runs locally on your machine over stdio.

Install Docs MCP server

Install in Claude Code

claude mcp add docs-mastra-ai -- npx -y @mastra/mcp-docs-server

Try it in a sandbox first: this installs it with scripts off and starts it with no network, then lists its tools and token cost. How it works

npx mcpskillhub test @mastra/mcp-docs-server

Context tax

Connecting this server adds ~3,429 tokens of tool definitions to every model turn (moderate, 13 tools). Measured 2026-10-23 via a sandboxed run; o200k tokenizer, worst case for clients that load all tools up front. How we measure

ModelPer 1,000 turnsWith prompt caching
Claude Opus 5.5$13.72$0.686
Claude Sonnet 5.5$6.86$0.686
Claude Haiku 5.5$0.343—

Input prices as of 2026-10-06. Excludes your own prompt and output.

Tools (13)

  • mastraDocs609 tok

    [🌐 REMOTE] Get Mastra documentation. Request paths to explore the docs. References contain API docs. Other paths contain guides. The user doesn't know about files and directories. You can also use keywords from the user query to find relevant documentation, but prioritize paths. This is your internal knowledge the user can't read. If the user asks about a feature check general docs as well as reference docs for that feature. Ex: with workflows check in docs/workflows and in reference/workflows. Provide code examples so the user understands. IMPORTANT: Be concis

  • mastraMigration564 tok

    [🌐 REMOTE] Get migration guidance for Mastra version upgrades and breaking changes. This tool works like a file browser - navigate through directories to find migration guides: **Step 1: List top-level migrations** - Call with no parameters: `{}` - Shows all top-level migration guides and directories **Step 2: Navigate into a directory** - Add trailing slash to explore: `{ path: "upgrade-to-v1/" }` - Lists all migration guides in that directory **Step 3: View a migration guide** - Without trailing slash: `{ path: "upgrade-to-v1/agent" }` - Returns the full migration guide content **Step

  • getMastraHelp439 tok

    🚀 START HERE - Complete guide to Mastra documentation tools. This MCP server provides TWO documentation sources: ## 📦 LOCAL PACKAGE DOCS (Recommended for Development) SOURCE: Your installed @mastra packages in node_modules VERSION: Matches your installed code exactly ADVANTAGES: - ✅ Version-matched to your code - ✅ Complete TypeScript type definitions - ✅ Works offline - ✅ SOURCE_MAP.json with exact exports TOOLS: listMastraPackages, getMastraExports, getMastraExportDetails, readMastraDocs, searchMastraDocs USE WHEN: Writing code, implementing

  • getMastraExportDetails339 tok

    [📦 LOCAL PACKAGES] Get complete API reference for a specific Mastra export - type definitions, interfaces, and optionally source code. Use this when you need to: - Understand how to use a specific Mastra class or function (Agent, Tool, Workflow, etc.) - See TypeScript type definitions and interfaces - Look up method signatures and parameters - Read implementation code and examples - Understand constructor options and configuration Returns: Full TypeScript type definitions and optionally implementation source code. Example: Get details on the Agent class to se

  • readMastraDocs296 tok

    [📦 LOCAL PACKAGES] Read comprehensive guides and documentation on Mastra concepts, patterns, and implementation examples. Use this when you need to: - Learn how to implement Mastra features (agents, tools, workflows, memory, RAG, etc.) - Understand Mastra architecture and design patterns - See practical code examples and tutorials - Read getting started guides and best practices - Understand how different components work together Returns: Topic-based documentation with explanations, examples, and usage patterns. Available topics: agents, tools, workflows, mem

  • searchMastraDocs294 tok

    [📦 LOCAL PACKAGES] Search across all Mastra documentation to find specific information, patterns, or examples. Use this when you need to: - Find specific topics or concepts quickly (e.g., "memory processors", "tool composition") - Locate examples of specific features or patterns - Search for error messages or troubleshooting info - Find mentions of specific APIs or configuration options - Discover where a feature is documented Returns: Relevant documentation excerpts with file paths, ranked by relevance. Tip: Use specific terms for better results (e.g., "agen

  • getMastraExports261 tok

    [📦 LOCAL PACKAGES] Explore the complete API surface of a Mastra package - see all classes, functions, types, and constants. Use this when you need to: - Discover what APIs a Mastra package provides (Agent, Tool, Workflow, etc.) - See all available classes and functions before implementing - Find the right export for your use case - Understand package structure and organization Returns: List of all exports with their source file locations. Next step: Use getMastraExportDetails to get full type definitions and code for a specific export.

  • startMastraCourse192 tok

    [🎓 COURSE] Starts the Mastra Course. If the user is not registered, they will be prompted to register first. Otherwise, it will start at the first lesson or pick up where they last left off. ALWAYS ask the user for their email address if they are not registered. DO NOT assume their email address, they must confirm their email and that they want to register.

  • listMastraPackages162 tok

    [📦 LOCAL PACKAGES] Discover which Mastra packages are installed and have documentation available. Use this when you need to: - See what Mastra packages you can work with - Start exploring Mastra documentation - Check if a specific package is available Returns: List of @mastra/* packages (core, memory, rag, etc.) with embedded docs. Next step: Use getMastraExports to explore a specific package's API.

  • startMastraCourseLesson90 tok

    [🎓 COURSE] Starts a specific lesson in the Mastra Course. If the lesson has been started before, it will resume from the first incomplete step

  • clearMastraCourseHistory67 tok

    [🎓 COURSE] Clears all Mastra Course progress history and starts over from the beginning. This action cannot be undone

  • nextMastraCourseStep63 tok

    [🎓 COURSE] Advances to the next step in the current Mastra Course lesson. If all steps in the current lesson are completed, it will move to the next lesson

  • getMastraCourseStatus51 tok

    [🎓 COURSE] Gets the current status of the Mastra Course, including which lessons and steps have been completed

Security signals

92/100 — no known issues found as of 2026-10-23, from the checks below. This is not a guarantee of safety; review what a server can do before connecting it.

Deductions

  • No license detected-5
  • No security policy (SECURITY.md)-3

Checks

  • ✓Repository hygiene (archived, activity, license, security policy)
  • ✓Tool descriptions (prompt-injection and hidden-text heuristics)
  • ○Package metadata (install scripts, provenance) — pending
  • ○Source scan (secrets, CVEs, risky code) by vectra-guard — pending

Scan it yourself before installing with vectra-guard, the open-source agent security CLI (made by NavyaAI, which also runs MCPSkillHub). Scoring rules

Freshness

Active — last maintenance signal 23d ago. The newest of the signals below sets the band.

  1. Last commit (default branch)

    2026-10-19 · 23d ago · GitHub

  2. Latest release

    2026-10-16 · 25d ago · GitHub · @mastra/core@1.78.0

  3. Package published

    no data · npm/PyPI

  4. Registry entry updated

    no data · official registry

How it compares in Notes & Knowledge

Against the most-starred notes & knowledge servers we index. Token cost is per model turn, measured from each server's live tool list.

ServerStarsToolsTokens / turnFreshnessRuns
Docs (this)28,892133,429Activelocal
Memory91,3569949Activelocal
Context763,26421,188Activelocal + hosted
Hindsight51,304—not measuredActive—
Cognee32,506—not measuredActive—
Skill Seekers15,180—not measuredActive—
All notes & knowledge MCP servers

FAQ

›How do I install the Docs MCP server in Claude Code?

Run: claude mcp add docs-mastra-ai -- npx -y @mastra/mcp-docs-server. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.

›Does Docs require an API key?

No required environment variables are declared in its published metadata.

›Can I use Docs as a remote (hosted) MCP server?

No hosted endpoint is published; it runs locally over stdio.

›Is Docs in the official MCP registry?

No. It was indexed from npm, awesome-mcp-servers (wong2).

›How many tokens does Docs add to my context?

Its tool definitions total about 3,429 tokens, resent on every turn.

Sources and method

GitHub repository
fetched 2026-10-19
Package registry (npm / PyPI)
listed
Last checked against all sources
2026-10-19

The description, packages and links come from the maintainer's own published metadata. Token cost, security signals, freshness and the reading above are MCPSkillHub's own measurements; see the methodology. Editorial standards are owned by Ramachandra Vikas Chamarthi, Founder & AI HPC Architect. Spot an error? Request a correction or claim the listing.

Alternatives to Docs

Other notes & knowledge MCP servers.

View all