dev.augments/mcp
Provides intent-aware API context for Angular — type signatures, prose documentation, and code examples — drawn from curated documentation sources for richer results.
Serves documentation, TypeScript signatures, and examples for Drizzle ORM packages, including special barrel-export sub-module resolution for its modules.
Returns API signatures, prose docs, and code examples for the Express web framework, with a curated documentation source for richer examples.
Provides documentation-first search results, type signatures, and examples for the Fastify web framework.
Fetches API context, prose documentation, and animation code examples for Framer Motion from its curated documentation source.
Uses the GitHub API to fetch package documentation, code examples, changelogs/releases for version diffs, and issues for error diagnosis; an optional GITHUB_TOKEN raises API rate limits.
Returns type signatures, prose documentation, and examples for the Hono web framework from curated docs.
Provides API context, prose docs, and examples for Next.js, including cross-version migration guides (e.g. v14 to v15) with real breaking changes, and special sub-module resolution.
Integrates with the npm registry to resolve package metadata, versions, and type definitions for any npm package (~2.5M), enabling version comparison, changelog-backed breaking-change detection, and dependency scanning of a project's package.json.
Answers natural-language queries (e.g. findMany with pagination) with Prisma type signatures, indexed documentation, and code examples.
Returns types, prose, and examples for React APIs, resolves queries like useEffect cleanup, and supports version comparison and migration guides with real breaking changes between major versions.
Provides form-related API signatures, documentation, and examples for React Hook Form, including special barrel-export sub-module handling.
Serves documentation, type signatures, and examples for Redux state management APIs.
Provides API signatures, documentation, and examples for SolidJS reactive components and primitives.
Returns client API signatures, prose documentation, and usage examples for Supabase packages.
Serves types, documentation, and code examples for Svelte components and APIs.
Provides API context, documentation, and examples for the SWR data-fetching library.
Returns TypeScript signatures, prose documentation, and examples for tRPC, including sub-module resolution for its barrel exports.
Provides test API signatures, documentation, and examples for the Vitest testing framework.
Serves schema validation API signatures, prose documentation, and examples for Zod.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@dev.augments/mcphow do I use useEffect cleanup in React?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.

A next-generation framework documentation provider for Claude Code via Model Context Protocol (MCP). Returns types + prose + examples with context-aware formatting for any npm package — not just curated ones.
mcp-name: dev.augments/mcp
What's New in v7
Version 7.0 is the biggest upgrade yet — documentation-first search, 4 new tools, BM25 indexing, and production-grade reliability.
v6 | v7 |
3 tools | 8 tools (+ diagnostics) |
Types-only search | Documentation-first BM25 search |
8 concept synonyms | 25 concept synonym clusters |
Generic version diffs | Real changelog-backed breaking changes |
No migration guides | Cross-version migration guides |
No error diagnosis | Curated error patterns + GitHub Issues |
No package comparison | Side-by-side package comparison |
No dep scanning | Dependency scanner (outdated/deprecated/security) |
FIFO caches | LRU caches with hit/miss stats |
Fixed retry delays | Exponential backoff + circuit breaker |
Related MCP server: Augments MCP Server
Quick Start
Claude Code
# Add the MCP server (runs locally via npx)
claude mcp add -s user augments -- npx -y @augmnt-sh/augments-mcp-server
# Verify configuration
claude mcp listCursor
Add to your MCP config:
{
"mcpServers": {
"augments": {
"command": "npx",
"args": ["-y", "@augmnt-sh/augments-mcp-server"]
}
}
}Environment Variables
Set GITHUB_TOKEN for higher GitHub API rate limits when fetching examples and documentation:
{
"mcpServers": {
"augments": {
"command": "npx",
"args": ["-y", "@augmnt-sh/augments-mcp-server"],
"env": {
"GITHUB_TOKEN": "ghp_your_token_here"
}
}
}
}Usage
# Get API context with prose + examples (recommended first tool)
@augments get_api_context query="useEffect cleanup" framework="react"
# Natural language queries work great
@augments get_api_context query="how to use zustand middleware"
# Search for APIs by concept (synonym-aware)
@augments search_apis query="state management"
# Get version info with real breaking changes
@augments get_version_info framework="react" fromVersion="18" toVersion="19"
# Migration guide between versions
@augments get_migration_guide package="next" fromVersion="14" toVersion="15"
# Diagnose an error
@augments diagnose_error error="Objects are not valid as a React child" package="react"
# Compare packages side-by-side
@augments compare_packages packages=["zod", "yup", "joi"]
# Scan project dependencies
@augments scan_project_depsTools
Tool | Description |
| Primary tool. Returns API signatures, prose documentation, and code examples for any npm package. Handles natural language queries with intent detection. Now with documentation-first BM25 search. |
| Search for APIs across frameworks by keyword or concept. 25 synonym clusters ("state" matches useState, createStore, atom, etc). |
| Get npm version info, compare versions, and detect breaking changes backed by real changelogs. |
| New. Cross-version migration guide with breaking changes, new features, deprecations, type diffs, and official migration docs. |
| New. Diagnose errors using curated patterns, GitHub Issues search, and troubleshooting docs. |
| New. Compare 2-5 npm packages: downloads, bundle size, GitHub stars, dependencies, exported APIs. |
| New. Scan package.json for outdated, deprecated, and insecure dependencies. |
| Server health: version, uptime, memory, cache stats, Node.js version. |
Architecture
flowchart TD
A["Query: 'how to use useEffect cleanup'"] --> B
B["Intent Detection → howto<br/>Query Parser → react / useEffect"]
B --> C["Type Fetcher<br/>CDN racing · npm metadata · @types"]
B --> D["Doc Fetcher<br/>GitHub API · BM25 search · 25 synonym clusters"]
B --> E["Example Extractor<br/>GitHub docs · README fallback · Auto-discovery"]
C --> F["Type Parser<br/>Signatures · Parameters · Related types"]
D --> G["Doc Search Engine<br/>BM25 indexing · Heading-based chunks · API boost"]
F --> H["Intent-Driven Formatter (howto)<br/>→ Examples first, prose, brief signature<br/>→ ~500-2000 tokens, 10KB max"]
G --> H
E --> HSource Structure
src/
├── cli.ts # stdio entry point
├── server.ts # MCP server (8 tools + diagnostics)
├── core/ # Core modules
│ ├── query-parser.ts # Parse natural language → framework + concept
│ ├── type-fetcher.ts # Fetch .d.ts + README from npm/unpkg/jsdelivr
│ ├── type-parser.ts # Parse TypeScript, extract signatures, synonym search
│ ├── example-extractor.ts # Fetch examples from GitHub docs + auto-discovery
│ ├── version-registry.ts # npm registry integration + changelog-backed diffs
│ ├── doc-fetcher.ts # GitHub documentation fetcher
│ ├── doc-search.ts # BM25 inverted index search engine
│ ├── changelog-fetcher.ts # CHANGELOG.md + GitHub Releases parser
│ ├── type-differ.ts # .d.ts diff between versions
│ └── error-patterns.ts # Curated error pattern database
├── tools/v4/ # MCP tools
│ ├── get-api-context.ts # Primary tool (types + docs + examples)
│ ├── search-apis.ts # Cross-framework API search
│ ├── get-version-info.ts # Version comparison
│ ├── get-migration-guide.ts # Cross-version migration guides
│ ├── diagnose-error.ts # Error diagnosis
│ ├── compare-packages.ts # Package comparison
│ └── scan-project-deps.ts # Dependency scanner
└── utils/
├── logger.ts # stderr logger
└── lru-cache.ts # Generic LRU cache with statsKey Features
Documentation-First Search (New in v7)
Queries like "prisma findMany with pagination" and "zustand create store with middleware" now return real documentation content. The BM25 search engine indexes docs fetched from GitHub by heading-based chunks, with API name boosting and synonym expansion.
Concept Synonyms
25 synonym clusters cover state, form, fetch, animation, routing, auth, cache, effect, middleware, pagination, validation, testing, streaming, error handling, database, layout, modal, table, upload, realtime, deployment, i18n, SSR, component, and context patterns. Bidirectional lookup means "usestate" expands to the "state" cluster.
Intent-Aware Formatting
Intent | Trigger | Format |
| "how to", "example of", "guide" | Examples → prose → brief signature |
| "signature", "types", "parameters" | Full signature → related types → 1 example |
| "migrate", "upgrade", "breaking" | Prose → signature → examples |
| Default | Signature → prose → examples |
Production Reliability (New in v7)
Exponential backoff with jitter for npm registry retries, with 429 Retry-After support
CDN circuit breaker — skips repeatedly failing CDN endpoints (3 failures / 5 min)
GitHub rate limiting — tracks remaining quota, skips fetches when exhausted
LRU caches with hit/miss statistics across all cache-using modules
Coverage
Any npm Package
Every npm package is supported out of the box — no curation or configuration needed. Augments resolves documentation automatically through four layers:
Documentation search — fetches real docs from GitHub repos, indexes with BM25
TypeScript types — bundled (
"types"in package.json) or DefinitelyTyped (@types/*)Auto-discovered docs — parses the npm
repositoryfield, finds the GitHub repo, probesdocs/directoriesREADME fallback — extracts concept-relevant code blocks and prose from
README.md
This means augments works with the entire npm ecosystem (~2.5M packages), not just a curated subset.
Enhanced Results for Popular Frameworks
22 frameworks have curated doc sources for richer examples: React, Next.js, Vue, Prisma, Zod, Supabase, TanStack Query, tRPC, React Hook Form, Framer Motion, Express, Zustand, Jotai, Drizzle, SWR, Vitest, Playwright, Fastify, Hono, Solid, Svelte, Angular, Redux
Barrel Export Handling
Special sub-module resolution for: React Hook Form, TanStack Query, Zustand, Jotai, tRPC, Drizzle ORM, Next.js
Local Development
# Clone and install
git clone https://github.com/augmentscode/augments-mcp-server.git
cd augments-mcp-server
npm install
# Build with tsup
npm run build
# Run locally
npm start
# Watch mode
npm run dev
# Run tests
npm test
# Run e2e tests (real network calls)
npm run test:e2e
# Type check
npm run type-checkHow Augments Compares to Context7
Aspect | Context7 | Augments v7 |
Source | Parsed prose docs | Types + BM25-indexed docs + README |
Accuracy | Docs can be wrong | Types must be correct, docs supplement |
Context size | ~5-10KB chunks | ~500-2000 tokens (intent-aware) |
Coverage | Manual submission | Any npm package (auto-discovery) |
Format | One-size-fits-all | Intent-aware (how-to vs reference) |
Search | Keyword match | BM25 + 25 concept synonym clusters |
Freshness | Crawl schedule | On-demand from npm + GitHub |
Migration | No | Cross-version migration guides |
Error help | No | Curated patterns + GitHub Issues |
Dep scanning | No | Outdated/deprecated/security checks |
Contributing
Fork the repository
Create a feature branch:
git checkout -b feature/amazing-featureMake your changes
Run tests:
npm testSubmit a pull request
License
MIT License - see LICENSE for details.
Support
Built for the Claude Code ecosystem | Version 7.0.0
This server cannot be deployed
Maintenance
Related MCP Connectors
Augments MCP Server - A comprehensive framework documentation provider for Claude Code
Versioned documentation registry and semantic search for AI tools and coding assistants.
Search GitHub, npm, PyPI, StackOverflow, ArXiv from one MCP — built for coding agents.
Docsy gives AI assistants current, version-specific documentation for libraries, frameworks and SDKs. Resolve library IDs and versions, then search and fetch focused official documentation with original source links using five read-only MCP tools. Hosted Streamable HTTP with OAuth 2.1 sign-in.
Related MCP Servers
- FlicenseNot gradedqualityAmaintenanceEnables Claude Code and other MCP clients to pull real-time framework docs — signatures, prose, and code examples — for any npm package, with intent-aware formatting. It also provides version diffs and migration guides, error diagnosis, package comparison, and project dependency scanning.-
- FlicenseNot gradedqualityAmaintenanceEnables Claude Code and other MCP clients to retrieve real-time TypeScript types, prose documentation, and code examples for any npm package, with intent-aware formatting, BM25 documentation search, version migration guides, error diagnosis, and dependency scanning. Works across the entire npm ecosystem without curation while providing enhanced results for popular frameworks.-
- FlicenseNot gradedqualityAmaintenanceEnables Claude Code and other MCP clients to retrieve context-aware documentation, type signatures, and code examples for any npm package, along with cross-version migration guides, error diagnosis, package comparison, and dependency scanning. Results are formatted to match query intent and drawing on real package types, changelogs, and GitHub docs.-
- FlicenseNot gradedqualityAmaintenanceEnables Claude Code and other MCP clients to retrieve on-demand API signatures, prose documentation, and code examples for any npm package, providing documentation-first search, cross-version migration guides, error diagnosis, package comparison, and dependency scanning with intent-aware, context-sized responses.-