Augments logo

Augments

Community
augmnt

Comprehensive MCP server providing real-time framework documentation access for Claude Code with intelligent caching, multi-source integration, and context-aware assistance.

Publisheraugmnt
Repositoryaugments-mcp-server
LanguageTypeScript
Forks
20
Stars
127
Available tools
12
Transport typestreamable-http
Categories
LicenseMIT
Links
  • Connect tools to AI workflows

    Augments exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 12 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    127 stars and 20 forks from the linked repository.

Augments MCP Server

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.

v6v7
3 tools8 tools (+ diagnostics)
Types-only searchDocumentation-first BM25 search
8 concept synonyms25 concept synonym clusters
Generic version diffsReal changelog-backed breaking changes
No migration guidesCross-version migration guides
No error diagnosisCurated error patterns + GitHub Issues
No package comparisonSide-by-side package comparison
No dep scanningDependency scanner (outdated/deprecated/security)
FIFO cachesLRU caches with hit/miss stats
Fixed retry delaysExponential backoff + circuit breaker

Quick Start

Claude Code

bash
# 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 list

Cursor

Add to your MCP config:

json
{
  "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:

json
{
  "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_deps

Tools

ToolDescription
get_api_contextPrimary 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_apisSearch for APIs across frameworks by keyword or concept. 25 synonym clusters ("state" matches useState, createStore, atom, etc).
get_version_infoGet npm version info, compare versions, and detect breaking changes backed by real changelogs.
get_migration_guideNew. Cross-version migration guide with breaking changes, new features, deprecations, type diffs, and official migration docs.
diagnose_errorNew. Diagnose errors using curated patterns, GitHub Issues search, and troubleshooting docs.
compare_packagesNew. Compare 2-5 npm packages: downloads, bundle size, GitHub stars, dependencies, exported APIs.
scan_project_depsNew. Scan package.json for outdated, deprecated, and insecure dependencies.
diagnosticsServer health: version, uptime, memory, cache stats, Node.js version.

Architecture

Source 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 stats

Key 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

IntentTriggerFormat
howto"how to", "example of", "guide"Examples → prose → brief signature
reference"signature", "types", "parameters"Full signature → related types → 1 example
migration"migrate", "upgrade", "breaking"Prose → signature → examples
balancedDefaultSignature → 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:

  1. Documentation search — fetches real docs from GitHub repos, indexes with BM25
  2. TypeScript types — bundled ("types" in package.json) or DefinitelyTyped (@types/*)
  3. Auto-discovered docs — parses the npm repository field, finds the GitHub repo, probes docs/ directories
  4. README 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

bash
# 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-check

How Augments Compares to Context7

AspectContext7Augments v7
SourceParsed prose docsTypes + BM25-indexed docs + README
AccuracyDocs can be wrongTypes must be correct, docs supplement
Context size~5-10KB chunks~500-2000 tokens (intent-aware)
CoverageManual submissionAny npm package (auto-discovery)
FormatOne-size-fits-allIntent-aware (how-to vs reference)
SearchKeyword matchBM25 + 25 concept synonym clusters
FreshnessCrawl scheduleOn-demand from npm + GitHub
MigrationNoCross-version migration guides
Error helpNoCurated patterns + GitHub Issues
Dep scanningNoOutdated/deprecated/security checks

Contributing

  1. Fork the repository
  2. Create a feature branch: git checkout -b feature/amazing-feature
  3. Make your changes
  4. Run tests: npm test
  5. Submit a pull request

License

MIT License - see LICENSE for details.

Support


Built for the Claude Code ecosystem | Version 7.0.0

Installation

TypingMind
{
  "mcpServers": {
    "augments": {
      "url": "https://mcp.augments.dev/mcp",
      "env": null
    }
  }
}

Available Tools

  • list_available_frameworks

    List all available frameworks, optionally filtered by category.

    Args:
        category: Filter by category (web, backend, mobile, ai-ml, design, tools)
    
    Returns:
        List of framework information including name, category, and description
    
  • search_frameworks

    Search for frameworks by name, keyword, or feature.

    Args:
        query: Search term to match against framework names and features
        
    Returns:
        Ranked list of matching frameworks with relevance scores
    
  • get_framework_info

    Get detailed information about a specific framework.

    Args:
        framework: Framework name
        
    Returns:
        Detailed framework information or error message
    
  • get_framework_docs

    Retrieve comprehensive documentation for a specific framework.

    Args:
        framework: Framework name (e.g., 'react', 'tailwind', 'laravel')
        section: Specific documentation section (e.g., 'installation', 'configuration')
        use_cache: Whether to use cached content (default: True)
        
    Returns:
        Formatted documentation content with examples and best practices
    
  • get_framework_examples

    Get code examples for specific patterns within a framework.

    Args:
        framework: Framework name
        pattern: Specific pattern (e.g., 'components', 'routing', 'authentication')
        
    Returns:
        Code examples with explanations and best practices
    
  • search_documentation

    Search within a framework's cached documentation.

    Args:
        framework: Framework name to search within
        query: Search query
        limit: Maximum number of results (default: 10)
        
    Returns:
        List of search results with context
    
  • get_framework_context

    Get relevant context for multiple frameworks based on the development task.

    Args:
        frameworks: List of framework names being used
        task_description: Description of what you're trying to build
        
    Returns:
        Curated context combining relevant documentation, patterns, and best practices
    
  • analyze_code_compatibility

    Analyze code for framework compatibility and suggest improvements.

    Args:
        code: Code snippet to analyze
        frameworks: List of frameworks the code should work with
        
    Returns:
        Analysis results with compatibility issues and improvement suggestions
    
  • check_framework_updates

    Check if framework documentation has been updated since last cache.

    Args:
        framework: Framework name to check
        
    Returns:
        Update status with last modified dates and change summary
    
  • refresh_framework_cache

    Refresh cached documentation for frameworks.

    Args:
        framework: Specific framework to refresh, or None for all
        force: Force refresh even if cache is still valid
        
    Returns:
        Status message with refresh results
    
  • get_cache_stats

    Get detailed cache statistics and performance metrics.

    Returns:
        Comprehensive cache statistics
    
  • get_registry_stats

    Get statistics about the framework registry.

    Returns:
        Registry statistics including framework count and categories
    

Use Augments MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once Augments is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP connects through a hosted MCP server URL in TypingMind.

Add an MCP server URL

Use this when Augments is already hosted remotely or your team wants one shared connector that multiple users can access.

1

Open MCP connectors

In TypingMind, go to Plugins, open MCP connectors, then choose Add URL.

  1. Open TypingMind in your browser.
  2. Go to Plugins.
  3. Open MCP connectors.
  4. Click Add URL.
TypingMind Add Custom MCP Server URL form
2

Paste the server URL

Enter https://mcp.augments.dev/mcp in the Server URL field. Add a connection name, description, icon, custom HTTP headers, or OAuth client settings if the server requires them.

  1. Paste https://mcp.augments.dev/mcp into the Server URL field.
  2. Enter a connection name for Augments.
  3. Add a description and icon if you want it to be easier to identify.
  4. Add custom HTTP headers or OAuth client details if the server requires authentication.
3

Create the connection

Click Create connection, then return to the Plugins list and confirm the new MCP connection is active.

  1. Click Create connection.
  2. Return to the MCP connectors list.
  3. Confirm the Augments connection appears as active.
  4. Refresh the plugin list if the connection does not appear immediately.
4

Switch models without reconnecting

Start a chat with your preferred model, enable the Augments tools from Plugins, and switch to another model whenever needed. The MCP connection stays available to the TypingMind workspace.

  1. Start a new chat in TypingMind.
  2. Select the AI model you want to use.
  3. Enable the Augments tools from Plugins.
  4. Ask the model to use the tool when needed.
  5. Switch to another AI model and reuse the same MCP connection.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use Augments to help me with this task?
Augments
Sure. I read it.
Here is what I found using Augments.

Frequently asked questions

What is the Augments MCP server used for?

Augments is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use Augments MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use Augments with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use Augments MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With Augments connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect Augments MCP to TypingMind?

Augments can be connected in TypingMind by adding its hosted MCP server URL. This is useful when you want a remote MCP connection that is available from your TypingMind workspace.

What tools does Augments MCP provide in TypingMind?

Augments exposes 12 MCP tools that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use Augments MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If Augments requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇