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

@luckyure/ai-rules-mcp-nuxt-cloudflare

v1.3.1

Published

MCP server providing AI coding rules for Nuxt + Cloudflare + D1 + Drizzle stack with smart context-aware selection

Readme

AI Rules: Nuxt + Cloudflare

MCP server providing AI coding rules specifically for Nuxt 3 + Cloudflare Workers + D1 + Drizzle stack. Automatically selects relevant rules based on context to minimize token usage.

What It Does

  • Serves your Nuxt/Cloudflare coding standards to AI assistants via Model Context Protocol
  • Auto-selects relevant rules based on task context (~76% token reduction)
  • Works with Claude, GitHub Copilot, Gemini, and future MCP-compatible assistants
  • Install once globally, use in every Nuxt+Cloudflare project automatically

Tech Stack Covered

This ruleset is specifically for:

  • Frontend: Nuxt 3 (Vue.js framework)
  • Edge Runtime: Cloudflare Workers
  • Database: Cloudflare D1 (SQLite)
  • ORM: Drizzle ORM
  • Storage: Cloudflare R2 (S3-compatible object storage)
  • Additional: Cloudflare KV, Durable Objects, Queues

For other stacks: Create separate MCP servers (e.g., ai-rules-mcp-dotnet-maui, ai-rules-mcp-python-django)

Quick Start

# Install globally from npm
npm install -g @luckyure/ai-rules-mcp-nuxt-cloudflare
# or
pnpm add -g @luckyure/ai-rules-mcp-nuxt-cloudflare

# Configure Claude Desktop (one time)
# Edit: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "ai-rules-nuxt": {
      "command": "ai-rules-mcp-nuxt-cloudflare"
    }
  }
}

# Restart Claude - done!

Documentation

  1. DEPLOYMENT.md - Publish and release process
  2. INSTALLATION.md - Install per AI assistant
  3. USAGE.md - How to use

Project Structure

ai-rules-mcp-nuxt-cloudflare/
├── .ai/rules/           # 18 Nuxt+Cloudflare coding rules
├── src/index.js         # MCP server implementation
├── package.json         # NPM configuration
├── DEPLOYMENT.md        # Deploy to GitHub guide
├── INSTALLATION.md      # Installation guide
├── USAGE.md            # Usage guide
├── install.sh          # Unix installer
└── install.bat         # Windows installer

How It Works

You → "Add authentication to my Nuxt app"
      ↓
AI → Calls MCP server with context
      ↓
MCP → Returns relevant rules (auth, security, architecture)
      ↓
AI → Implements following your exact Nuxt+Cloudflare standards

Available Rules

18 coding standards covering the Nuxt + Cloudflare stack:

  1. Architecture Principles - Nuxt + Cloudflare + D1 + Drizzle stack philosophy
  2. Cloudflare Edge Parity - Workers runtime and local development
  3. Project Structure - Standard Nuxt directory layout
  4. Configuration - Nuxt.config, Wrangler.toml, Drizzle configs
  5. Database ORM - Drizzle patterns and D1 migrations
  6. Seeding - Database seeding policies
  7. Authentication - Auth patterns for Nuxt apps
  8. KV Usage - Cloudflare KV and caching strategies
  9. Cloudflare Workflows - Durable multi-step orchestration with saga rollbacks
  10. Realtime & Background - Durable Objects, Queues, and Workflows decision tree
  11. Testing - Vitest requirements and coverage standards
  12. Security - Security baseline for edge applications
  13. Performance - Cloudflare edge optimization
  14. Logging & Observability - Structured logging standards
  15. CI/CD Deployment - GitHub Actions to Cloudflare
  16. API Services - Nuxt server API patterns
  17. Project Initialization - New Nuxt+Cloudflare project checklist
  18. Code Quality - TypeScript standards for Vue/Nuxt

Updates

npm update -g @luckyure/ai-rules-mcp-nuxt-cloudflare
# or
pnpm add -g @luckyure/ai-rules-mcp-nuxt-cloudflare@latest
# Restart AI assistant

Team Sharing

npm install -g @luckyure/ai-rules-mcp-nuxt-cloudflare

Everyone on your Nuxt+Cloudflare team gets the same standards.

Multiple Tech Stacks?

Install multiple MCP servers for different stacks:

npm install -g @luckyure/ai-rules-mcp-nuxt-cloudflare
npm install -g ai-rules-dotnet-maui
npm install -g ai-rules-python-django

Configure all in Claude:

{
  "mcpServers": {
    "ai-rules-nuxt": {
      "command": "ai-rules-mcp-nuxt-cloudflare"
    },
    "ai-rules-dotnet": {
      "command": "ai-rules-dotnet-server"
    }
  }
}

AI will automatically query the appropriate server based on your request context.

Support

  • Issues: https://github.com/LuckyURE/ai-rules-mcp-nuxt-cloudflare/issues
  • Docs: See DEPLOYMENT.md, INSTALLATION.md, USAGE.md

License

MIT