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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@razorpay/blade-mcp

v1.20.1

Published

Model Context Protocol server for Blade

Downloads

1,785

Readme

Blade MCP

npm version License: MIT TypeScript

Blade MCP is a Model Context Protocol (MCP) server that implements Razorpay's Design Guidelines and allows you to build Web Interfaces using Blade Design System.

Install BladeMCP

Available Tools

| Tool Name | Description | | --------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | | hi_blade | Provides a welcome message and overview of Blade MCP capabilities when user greets with "hi blade", "hey blade", etc. | | create_new_blade_project | Creates a new project using Blade with Vite, React, and TypeScript setup. Should only be called when creating a new project from scratch. | | create_blade_cursor_rules | Creates the cursor rules for Blade to help with code generation. Should be called before getting component docs and when the rule file doesn't exist. | | get_blade_component_docs | Fetches the Blade Design System documentation for specific components. Useful when adding or modifying components in your project. | | get_blade_pattern_docs | Fetches the Blade Design System pattern documentation. Use this to get information about design patterns, best practices, and implementation guidelines. | | get_blade_general_docs | Fetches general Blade Design System documentation. Use this to get information about setup, installation, theming, tokens, and general guidelines. | | get_figma_to_code | Converts Figma designs into Blade Design System code. Provide a Figma design URL to generate the corresponding React components using Blade's component library. [NOTE: figma to code tool can only be accessed by Razorpay employees] |

Prerequisites

Installation

Cursor or VS Code

Create or update your mcp.json file with:

{
  "mcpServers": {
    "blade-mcp": {
      "command": "npx",
      "args": ["-y", "@razorpay/blade-mcp@latest"]
    }
  }
}

Claude Desktop

Add the following to claude_desktop_config.json:

{
  "mcpServers": {
    "blade-mcp": {
      "command": "npx",
      "args": ["-y", "@razorpay/blade-mcp@latest"]
    }
  }
}

[!NOTE]

Troubleshooting / Manually Updating the MCP Server

[!NOTE]

The MCP server would auto-update by default after few days if you have followed the steps above.

If your MCP server is failing to start or if you want to manually force update the MCP server to latest version, you can do so by following these steps:

  • Step 1: Clear the npx cache

    Run following command in your terminal

    npx clear-npx-cache
  • Step 2: Quit and Restart Cursor or Claude Instance

How to use

  • Follow Integrations Guide to configure MCP servers in Cursor
  • Open Cursor, Click "Open Project" and select an empty folder
  • Press CMD + I (or CTRL + I) to open Cursor's chat
  • Type "Hi blade" and get started
Can you create a signup form with best UX practices using Blade?

The AI agents will use the MCP server to retrieve components and generate appropriate code.

Local Blade MCP Development Setup

Clone the repository

# Clone the repository
git clone https://github.com/razorpay/blade.git
cd blade

# Install dependencies
yarn

# Navigate to the MCP server package
cd packages/blade-mcp

# Build the package
yarn build

Local Blade MCP Development with Cursor

For local Blade MCP development with Cursor, update your mcp.json with the local path:

{
  "blade-mcp": {
    "command": "node",
    "args": ["<<USER_PATH>>/blade/packages/blade-mcp/dist/server.js"]
  }
}

Replace the <<USER_PATH>> with your actual local path to the repository.

Contributing

We welcome contributions! See CONTRIBUTING.md for details.

License

MIT © Razorpay