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

@qxinm/docmate-mcp

v0.2.0

Published

MCP server for DocMate — AI-powered document management

Readme

@qxinm/docmate-mcp

MCP (Model Context Protocol) server for DocMate — AI-powered document management.

Published package:

  • @qxinm/docmate-mcp

Exposes four tools to AI agents:

| Tool | Description | |------|-------------| | upload_document | Upload a local PDF and convert it to Markdown | | list_documents | List all uploaded documents | | get_parse_job_status | Check whether an async parse job is still running, succeeded, or failed | | get_document_result | Retrieve the full parsed Markdown of a document |


Quick Start

Option 1: Install via Skills CLI (Recommended)

DocMate agent skills live in the monorepo root skills/. Install them with:

npx skills add 2026-Capstone1-Team5/docmate

This downloads the DocMate skills and configures them for your detected agents (Claude Code, Gemini CLI, Codex, Cursor, and 40+ more).

Then run setup to register the MCP server and provide your API key:

npm install -g @qxinm/docmate-mcp
docmate-mcp setup

Option 2: Install via npm

npm install -g @qxinm/docmate-mcp
docmate-mcp setup

The setup command will:

  • Prompt for your API key and backend URL
  • Auto-detect installed agents (Claude Code, Gemini CLI, Codex)
  • Register the MCP server with your agent automatically
  • Install DocMate skills (slash commands)

Works on Windows, macOS, and Linux.

Verify the connection

Launch your agent and run:

/mcp

You should see docmate listed with upload_document, list_documents, get_parse_job_status, and get_document_result.


Setup options

# Install for a specific agent only
docmate-mcp setup --agent claude
docmate-mcp setup --agent gemini
docmate-mcp setup --agent codex

# Install for multiple agents
docmate-mcp setup --agent claude --agent gemini

# Install into a specific project directory instead of HOME
docmate-mcp setup --target ./my-project

# Show help
docmate-mcp setup --help

Installed locations

| Agent | Skills path | MCP config | |-------|-------------|------------| | Claude Code | ~/.claude/skills/ | registered via claude mcp add --scope user | | Gemini CLI | ~/.gemini/skills/ | ~/.gemini/.mcp.json | | OpenAI Codex | ~/.codex/skills/ | registered via codex mcp add or ~/.codex/config.toml |

Agent detection is automatic — setup checks which CLIs are available on your PATH. If none are detected, pass --agent <name> explicitly. When --target <path> is used, skills and agent config files are written under that directory instead of HOME.


Claude Desktop

Add the following to your claude_desktop_config.json:

{
  "mcpServers": {
    "docmate": {
      "command": "docmate-mcp",
      "env": {
        "DOCMATE_API_KEY": "your-api-key-here",
        "DOCUMENT_AGENT_API_BASE_URL": "http://127.0.0.1:8000"
      }
    }
  }
}

Config file location:

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

Environment Variables

| Variable | Required | Default | Description | |----------|----------|---------|-------------| | DOCMATE_API_KEY | Yes | — | DocMate API key for authentication | | DOCUMENT_AGENT_API_BASE_URL | No | http://127.0.0.1:8000 | DocMate backend URL |


Manual MCP setup (without docmate-mcp setup)

If you prefer to configure manually, create a .mcp.json in your project root:

{
  "mcpServers": {
    "docmate": {
      "command": "docmate-mcp",
      "env": {
        "DOCMATE_API_KEY": "your-api-key-here",
        "DOCUMENT_AGENT_API_BASE_URL": "http://127.0.0.1:8000"
      }
    }
  }
}

Or register globally via CLI:

npm install -g @qxinm/docmate-mcp
claude mcp add --scope user docmate \
  -e DOCMATE_API_KEY=your-api-key-here \
  -e DOCUMENT_AGENT_API_BASE_URL=http://127.0.0.1:8000 \
  -- docmate-mcp

For Codex:

npm install -g @qxinm/docmate-mcp
codex mcp add docmate \
  --env DOCMATE_API_KEY=your-api-key-here \
  --env DOCUMENT_AGENT_API_BASE_URL=http://127.0.0.1:8000 \
  -- docmate-mcp

Local Development

git clone https://github.com/2026-Capstone1-Team5/docmate
cd docmate/apps/mcp
pnpm install
pnpm run build:local

# Run directly
node dist/index.js

# Run setup directly from the repo
node dist/index.js setup

Copy .env.example to .env and fill in your values for local dev:

cp .env.example .env
DOCMATE_API_KEY=<YOUR_API_KEY>
DOCUMENT_AGENT_API_BASE_URL=http://127.0.0.1:8000

npm Release

GitHub Actions workflows live at the repository root (.github/workflows/); only those paths are loaded.

  • .github/workflows/mcp-ci.yml — on changes under apps/mcp, runs pnpm build (tsc) and npm pack (prepack syncs skills/ before packing).
  • .github/workflows/mcp-publish.yml — publishes on v* or mcp/v* tag pushes, or via manual workflow_dispatch (you must enter confirm_version exactly matching package.json; tag pushes still require the tag to match that version).

Pick one tag pattern per release (v* or mcp/v*) when possible so you do not trigger two runs for the same semver.

Repository secret required:

  • NPM_TOKEN

The token must have publish permission for the @qxinm scope.

Tag-based release example:

git tag mcp/v0.2.0
git push origin mcp/v0.2.0