npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@doccler/mcp-server

v1.1.0

Published

Doccler MCP Server - Connect your IDE to your documentation platform

Readme

Doccler MCP Server

🚀 Connect your IDE to Doccler - Use AI-powered documentation directly from your development environment.

npm version

What is MCP?

The Model Context Protocol (MCP) is an open standard that allows AI assistants (like Claude, Cursor, VS Code with AI extensions) to connect to external tools and data sources. Doccler's MCP server enables you to:

  • Query your documentation as a single source of truth
  • Create documentation directly from your IDE
  • Search documentation with semantic search
  • Generate documentation from code using AI
  • Publish/unpublish documents
  • Organize documents into spaces

Quick Start

1. Get Your Doccler API Key

  1. Log in to Doccler
  2. Go to SettingsAPI Keys
  3. Click Create New API Key
  4. Copy the key (it's only shown once!)

2. Configure Your IDE

Choose your IDE and add the configuration:

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "doccler": {
      "command": "npx",
      "args": ["-y", "@doccler/mcp-server@latest"],
      "env": {
        "DOCCLER_API_KEY": "doccler_xxxxxxxx_yyyyyyyyyyyyyyyyyyyy"
      }
    }
  }
}

Claude Desktop

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

{
  "mcpServers": {
    "doccler": {
      "command": "npx",
      "args": ["-y", "@doccler/mcp-server@latest"],
      "env": {
        "DOCCLER_API_KEY": "doccler_xxxxxxxx_yyyyyyyyyyyyyyyyyyyy"
      }
    }
  }
}

VS Code / Antigravity

Add to your MCP settings:

{
  "mcp": {
    "servers": {
      "doccler": {
        "command": "npx",
        "args": ["-y", "@doccler/mcp-server@latest"],
        "env": {
          "DOCCLER_API_KEY": "doccler_xxxxxxxx_yyyyyyyyyyyyyyyyyyyy"
        }
      }
    }
  }
}

3. Restart Your IDE

After adding the configuration, restart your IDE. The Doccler MCP server will be downloaded and started automatically.

Alternative: Global Installation

If you prefer to install globally instead of using npx:

npm install -g @doccler/mcp-server

Then configure your IDE with:

{
  "mcpServers": {
    "doccler": {
      "command": "doccler-mcp",
      "env": {
        "DOCCLER_API_KEY": "doccler_xxxxxxxx_yyyyyyyyyyyyyyyyyyyy"
      }
    }
  }
}

Available Tools

| Tool | Description | |------|-------------| | hello_doccler | Verify your connection to Doccler | | list_docs | List all your documents with optional filters | | search_docs | Search your documentation (keyword + semantic) | | get_doc | Get the content of a specific document | | create_doc | Create new documentation with optional space | | update_doc | Update an existing document by slug or title | | publish_doc | Publish or unpublish a document | | list_spaces | List all available spaces | | generate_doc | Generate documentation from code using AI |

Usage Examples

List Documents

"List all my documents"
"Show my published documents only"
"List documents in the API space"

Search Documentation

"Search my documentation for authentication"
"Find docs about API endpoints"

Create Documentation

"Create documentation titled 'Getting Started' about how to install the app"
"Create a doc in the API space explaining the user endpoint"

Update Documentation

"Update the document 'getting-started' with new installation instructions"
"Change the title of my-api-guide to 'API Reference v2'"

Generate from Code

"Generate documentation for this code: [paste your code]"
"Document this function with examples"

Publish/Unpublish

"Publish the document with slug 'getting-started'"
"Unpublish my-api-guide"

Environment Variables

| Variable | Description | Default | |----------|-------------|---------| | DOCCLER_API_KEY | Your Doccler API key | (required) | | DOCCLER_API_URL | API URL (for self-hosted) | https://doccler.app/api |

Note: DOCCLER_API_URL is only needed for self-hosted instances or development. Production users can omit it.

Troubleshooting

"API Key not configured"

Make sure DOCCLER_API_KEY is set in your IDE's MCP configuration.

"Unauthorized" errors

  1. Check that your API key is valid
  2. Go to Settings → API Keys in Doccler to verify
  3. Create a new key if needed

Server not starting

  1. Ensure Node.js 18+ is installed
  2. Try running manually: npx @doccler/mcp-server
  3. Check your IDE's MCP logs

Support

License

MIT © Doccler