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

find-rules-server

v1.0.7

Published

Provides mandatory rule guidance for technical tasks. This tool MUST be called at the beginning of each new task to ensure proper guidance and best practices throughout implementation.

Readme

Find Rules MCP Server

Website MCP Server License

❌ Without Find Rules

LLMs often struggle with maintaining consistent coding standards and best practices:

  • ❌ Inconsistent code quality and standards across different tasks
  • ❌ Missing critical technical considerations and edge cases
  • ❌ Overlooked best practices and security requirements

✅ With Find Rules

Find Rules MCP analyzes your task requirements and provides comprehensive guidance before you start coding:

  • ✅ Clear, task-specific guidance rules
  • ✅ Best practices tailored to your tech stack
  • ✅ Quality standards and technical considerations

Add use find_rules to your prompt in Trae/Cursor/Windsurf:

Create a basic Next.js project with app router. use find_rules
Create a script to delete the rows where the city is "" given PostgreSQL credentials. use find_rules

Get instant guidance:

  • 1️⃣ Describe your task requirements naturally
  • 2️⃣ Tell the LLM to use find_rules
  • 3️⃣ Receive comprehensive guidelines

No more inconsistent code quality, no missed best practices, no overlooked technical considerations.

Technical Details

Tool Description

The find_rules tool serves as an essential pre-task step to ensure task execution follows best practices and standard specifications. It analyzes user requirements and technical context to provide the most appropriate guidance rules.

Parameters

  • user_input: Original task requirements from the user (string type, required)
  • tags: Related technology tags (one or more) (string array type, required)

Return Value

The tool returns a response containing guidance rules in the following format:

{
  "content": [
    {
      "type": "text",
      "text": "Please follow these guidelines to complete your task:\n\n1. [Task-specific guidance rules]\n2. [Best practice recommendations]\n3. [Quality standard requirements]\n..."
    }
  ]
}

Configuration

Environment Variables

This service supports configuration through environment variables:

OPENAI_API_KEY

  • Description: OpenAI API key for calling large model services
  • Importance: Configuring this variable can significantly improve rule selection accuracy
  • Default: None, strongly recommended to configure this variable

OPENAI_BASE_URL

  • Description: Base URL for OpenAI API
  • Default: https://openrouter.ai/api/v1
  • Usage: Can be configured to use other compatible API services

OPENAI_MODEL

  • Description: Name of the large model to use
  • Default: qwen/qwen3-8b:free
  • Usage: Can choose different models to balance performance and cost

Integration

MCP Client Integration

This server can be integrated with any client that supports the Model Context Protocol (MCP). Here's how to set it up:

Claude Desktop Configuration

{
  "mcpServers": {
    "Guidance Rules Finder": {
      "command": "npx",
      "args": ["-y", "find-rules-server"],
      "env": {
        "OPENAI_API_KEY": "your-openrouter-api-key"
      }
    }
  }
}

Other MCP Clients

For other MCP clients, you'll need:

  • Server start command: find-rules-server
  • Server name: Custom identifier name

Refer to your client's documentation for specific configuration details.

Development

For development guidelines and rule customization, see Development Guide.

Credits

All rule data is sourced from Cursor Directory. Copyright belongs to the original authors.

License

MIT