$ timeahead.in
/ servers/npm/@mastra/mcp-docs-server
npm

@mastra/mcp-docs-server

MCP server for accessing Mastra.ai documentation, changelogs, and news.

25k stars23k/wkupdated 0d agogithub ↗
57poor
▣ Overview
npm versionCodeQlGitHub Repo starsDiscordTwitter FollowNPM DownloadsStatic Badge

What it does

This MCP server exposes Mastra.ai's documentation, changelogs, and news as a queryable tool for Claude. It retrieves and caches documentation content, allowing Claude Code to surface official Mastra reference material without context-switching. The server makes network calls to fetch documentation and persists it locally for efficient lookups.

Who it's for

Developers building AI agents and workflows with the Mastra framework in Claude Code. Particularly useful for teams evaluating Mastra or onboarding new patterns like model routing, agents, workflows, and integrations without leaving the editor.

Common use cases

  • Look up agent and workflow syntax while building in Claude Code
  • Check changelog entries to understand recent API changes
  • Retrieve documentation about model routing, integrations, or context management
  • Query evolving Mastra APIs during rapid development cycles
  • Access release notes and feature announcements without tab-switching

Setup pitfalls

  • The scanner detected 16 secrets in the codebase; verify API keys and tokens are not exposed in .env or version control before production use
  • Requires filesystem write access to cache documentation locally — ensure proper permissions in sandboxed environments
  • Single-tool limitation may require follow-up queries to drill into specific APIs or examples
  • High risk classification warrants review of dependencies and recent commits before adoption
16 credentials detected in repository history via Gitleaks
▣ Score BreakdownMCPScore = Σ(raw × weight)
DimensionRawWeighted
Security
35%
0
0.0
Freshness
25%
100
25.0
Adoption
20%
92
18.5
Quality
10%
80
8.0
Trust
10%
50
5.0
Total
56.5
⚿ Capabilities & Risk Explainer
fs readfs writenetworkexecevalsecrets
◆ Risk level: high· 1 tools · auth: API key
fs read + fs write + network + exec + eval + secrets active — can execute code, access credentials, and make external network calls.
Tool nameDescriptionDestructive?
mixColors✓ no
⚙ Install config
Claude Desktop · Cursor · Windsurf · VS Code (Copilot) · Claude Code
add to your MCP client config:
{
  "mcpServers": {
    "mastramcp-docs": {
      "command": "npx",
      "args": [
        "-y",
        "@mastra/mcp-docs-server"
      ]
    }
  }
}
📈 Score historylast 30 snapshots
4/30/20266/6/2026 · 30 snapshots
⚙ Maintenance health
71/ 100 · is this project alive?
contributors (1y)103
top contributor share17%
releases (1y)82
last release0d ago
median issue response22.2d
ci✓ passing
⛁ Raw data
weekly downloads23k
github stars25k
forks2k
open issues375
license✓ present
readme length6226 chars
last publish0d ago
last commit0d ago
last updated8h ago
install verified✗ fail · 15d ago
owner of this server? claim your listing to get a verified badgeclaim →
🔔 Score drop alerts
get notified by email when this server's score drops 5+ points