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

mongo-knowledge

v2.0.5

Published

MongoDB MCP Server - 跨 IDE 知识库管理工具,支持记忆、技能、规则、MCP、经验、命令、上下文、工作流等

Readme

mongo-knowledge

MongoDB-based cross-IDE knowledge management MCP server.

Installation

npx -y mongo-knowledge

Configuration

Add to your IDE's MCP configuration:

{
  "mcpServers": {
    "mongo-knowledge": {
      "command": "npx",
      "args": ["-y", "mongo-knowledge"],
      "env": {
        "MONGODB_URI": "mongodb://localhost:27017",
        "MONGODB_DATABASE": "mcp_knowledge",
        "MCP_USER_ID": "your-user-id"
      }
    }
  }
}

Environment Variables

| Variable | Required | Default | Description | |----------|----------|---------|-------------| | MONGODB_URI | Yes | - | MongoDB connection string | | MONGODB_DATABASE | No | mcp_knowledge | Database name | | MCP_USER_ID | No | default | User identifier | | MCP_DEVICE_ID | No | auto-generated | Device identifier | | MCP_IDE_SOURCE | No | unknown | IDE source identifier | | MCP_ENABLE_EMBEDDING | No | false | Enable semantic search |

Supported IDEs

  • Cursor
  • Trae
  • Windsurf
  • Qoder
  • Any MCP-compatible IDE

Knowledge Types

| Type | Description | |------|-------------| | Memories | User preferences, facts, history | | Skills | Reusable scripts and capabilities | | Rules | Coding guidelines and constraints | | MCPs | MCP server configurations | | Experiences | Best practices and lessons learned | | Commands | Quick command templates | | Contexts | Project/domain context information | | Workflows | Multi-step automation workflows |

Tools

CRUD Operations

  • knowledge_create - Create knowledge document
  • knowledge_read - Read knowledge document
  • knowledge_update - Update knowledge document
  • knowledge_delete - Delete knowledge document
  • knowledge_list - List knowledge documents
  • knowledge_upsert - Create or update document
  • knowledge_stats - Get statistics
  • knowledge_export - Export knowledge data

Shortcuts

  • memory_add - Quick add memory
  • memory_search - Search memories
  • experience_add - Add experience
  • context_set - Set context
  • command_add - Add command template
  • workflow_create - Create workflow

Sync

  • mcp_sync - Sync MCP configuration
  • rule_sync - Sync rule
  • skill_sync - Sync skill
  • get_user_info - Get user/device info

Auto Sync

  • auto_sync_start - Start auto sync
  • auto_sync_stop - Stop auto sync
  • auto_sync_status - Get sync status
  • auto_sync_config - Configure sync
  • auto_sync_flush - Flush pending events

Development

# Install dependencies
npm install

# Development mode
npm run dev

# Build
npm run build

# Type check
npm run typecheck

# Lint
npm run lint

License

MIT