What Are Claude Code Plugins?
Claude Code plugins are shareable packages that extend your AI coding agent with new capabilities. A single plugin can bundle slash commands, subagents, MCP servers, hooks, and LSP servers into one installable unit that works across the terminal and VS Code.
Before plugins existed, extending Claude Code meant manually configuring MCP servers in .mcp.json, writing Skills in .claude/skills/, and copying hook configurations between projects. Plugins solve the distribution problem: you install once, get everything, and share with your team.
Plugins vs Standalone Configuration
- Standalone (
.claude/directory): Best for personal workflows, project-specific customizations, and quick experiments. Skills use short names like/review. - Plugins: Best for sharing with teams, distributing to the community, and reusable configurations across projects. Skills are namespaced like
/my-plugin:reviewto prevent conflicts.
The plugin system launched in public beta with Claude Code version 1.0.33. It uses a simple directory-based architecture with no build step, no compilation, and no registry approval process. This simplicity is why the ecosystem grew from zero to 9,000+ plugins in under a year.
Plugin Architecture: What Goes Inside a Plugin
A Claude Code plugin is a directory with a manifest file and optional component directories. Understanding the architecture helps you evaluate plugins before installing and build better ones yourself.
| Component | Directory/File | Purpose |
|---|---|---|
| Manifest | .claude-plugin/plugin.json | Plugin metadata: name, version, author, description |
| Slash Commands | commands/ | Custom shortcuts triggered with /plugin-name:command |
| Skills | skills/ | Agent capabilities invoked automatically based on task context |
| Subagents | agents/ | Purpose-built agents for specialized tasks |
| Hooks | hooks/hooks.json | Event handlers that trigger on specific Claude Code actions |
| MCP Servers | .mcp.json | External tool connections via Model Context Protocol |
| LSP Servers | .lsp.json | Language server configurations for code intelligence |
Minimal Plugin Structure
my-plugin/
├── .claude-plugin/
│ └── plugin.json # Required: metadata
├── commands/
│ └── review.md # Slash command: /my-plugin:review
├── skills/
│ └── code-review/
│ └── SKILL.md # Auto-invoked skill
├── hooks/
│ └── hooks.json # Event handlers
└── .mcp.json # MCP server configsplugin.json Manifest
{
"name": "my-plugin",
"description": "A code review plugin with security scanning",
"version": "1.0.0",
"author": {
"name": "Your Name"
}
}Common Mistake
Do not put commands/, agents/, skills/, or hooks/ inside the .claude-plugin/ directory. Only plugin.json goes inside .claude-plugin/. All other directories must be at the plugin root level.
MCP Tool Search: The 95% Context Savings That Changes Everything
This is the single most important feature for plugin users in 2026, and most guides do not mention it. MCP Tool Search enables lazy loading for MCP server tools, reducing context usage by up to 95%.
The problem: every MCP server you install adds its tool definitions to Claude's context window. Install ten MCP servers and you burn thousands of tokens on tool descriptions before Claude even starts thinking about your code. This was the #1 complaint from early plugin adopters: too many MCP servers bloated context and degraded quality.
MCP Tool Search fixes this. Instead of loading all tool definitions upfront, Claude discovers tools on demand. When it needs to interact with GitHub, it searches for the GitHub tool. When it needs to query a database, it finds the PostgreSQL tool. Tools you are not using in the current task consume zero context.
Why This Is a Big Deal
Before MCP Tool Search, the practical advice was "only install 2-3 MCP servers." Now you can install a dozen or more without worrying about context limits. This unlocks the full potential of the plugin ecosystem. Install Context7, GitHub, PostgreSQL, Playwright, Figma, and WarpGrep simultaneously. Claude loads only what it needs, when it needs it.
How to Install Claude Code Plugins
Installing plugins takes three steps. Claude Code ships with the official Anthropic marketplace pre-configured, so you can start installing curated plugins immediately.
Add a Marketplace
Run /plugin marketplace add user-or-org/repo-name to register a marketplace. The official Anthropic marketplace (claude-plugins-official) is pre-configured. Community marketplaces can be added the same way.
Browse and Install
Run /plugin to open the plugin manager. Browse available plugins, read descriptions, and install with one command. Installed plugins are immediately available in your session.
Use Plugin Features
Plugin slash commands are namespaced: /plugin-name:command. Skills activate automatically based on context. MCP servers and hooks run in the background. Run /help to see all available commands.
Installation Commands
# Install from official marketplace (pre-configured)
/plugin install context7@claude-plugins-official
# Add a community marketplace
/plugin marketplace add ComposioHQ/awesome-claude-plugins
# Install a specific plugin
/plugin install connect-apps@ComposioHQ/awesome-claude-plugins
# Test a local plugin during development
claude --plugin-dir ./my-plugin
# Load multiple plugins
claude --plugin-dir ./plugin-one --plugin-dir ./plugin-twoPlugins require Claude Code version 1.0.33 or later. Run claude --version to check. If the /plugin command is not available, update Claude Code to the latest version.
The 10 Best Claude Code Plugins for 2026
These are the most installed and highest-rated Claude Code plugins as of February 2026, ranked by adoption and developer impact.
Frontend Design (96K+ installs)
Transforms Claude's UI output from generic defaults to distinctive, production-grade interfaces. Applies bold typography, unique color palettes, and creative layouts instead of the bland blue-and-white templates Claude defaults to.
Context7 (71K+ installs)
Injects real, up-to-date documentation into Claude's context. Instead of hallucinating outdated APIs, Claude fetches current docs for Next.js 15, React 19, Tailwind CSS 4, and any other library on demand.
Ralph Loop (57K+ installs)
Enables autonomous multi-hour coding sessions with context resets between tasks. Ideal for CRUD operations, migrations, and test coverage where you give clear specifications and let Claude execute for extended periods.
Code Review (50K+ installs)
Uses multiple AI agents to review code with confidence scoring. Analyzes tests, types, error handling, code quality, and suggests simplifications. Generates actionable feedback rather than generic suggestions.
Playwright (28K+ installs)
Opens a Chrome window that Claude controls via natural language. Automate browser testing, UI interaction, form filling, and real-time debugging. Claude can see the browser and iterate on failures.
Security Guidance (25K+ installs)
Scans file edits for security vulnerabilities before changes are applied. Monitors for command injection, XSS, unsafe input handling, pickle deserialization, and other OWASP-listed risks.
Chrome DevTools MCP (20K+ installs)
Provides full DevTools access during live browser sessions. Inspect network requests, check console errors, run performance audits, and debug CSS without leaving Claude Code.
Figma MCP (18K+ installs)
Reads Figma design files directly. Claude accesses real frames, components, and layout data to generate functional component code. No more screenshots and manual interpretation.
Linear (9.5K+ installs)
Connects Claude to your Linear workspace. Pull tickets, update issue status, break tasks into subtasks, and manage sprints without switching to the Linear app.
Firecrawl (growing)
Turns any website into clean, LLM-ready data. Handles JavaScript rendering, anti-bot detection, and proxy rotation. Converts web content to markdown or JSON that Claude can process for research tasks.
| Plugin | Installs | Category | Key Benefit |
|---|---|---|---|
| Frontend Design | 96.4K | UI/UX | Production-grade UI output |
| Context7 | 71.8K | Documentation | Up-to-date API docs |
| Ralph Loop | 57.0K | Automation | Multi-hour autonomous sessions |
| Code Review | 50.0K | Quality | Multi-agent code review |
| Playwright | 28.1K | Testing | Browser automation |
| Security Guidance | 25.5K | Security | Vulnerability scanning |
| Chrome DevTools | 20.0K | Debugging | Full DevTools access |
| Figma MCP | 18.1K | Design | Direct Figma file access |
| Linear | 9.5K | Project Management | Issue tracker integration |
| Firecrawl | Growing | Web Scraping | Website-to-LLM data |
Best MCP Server Plugins
MCP (Model Context Protocol) servers are the most powerful plugin component. They connect Claude Code to external tools and APIs. These are the MCP server plugins every developer should evaluate.
| MCP Server | What It Does | Best For |
|---|---|---|
| GitHub MCP | Interact with repos, PRs, issues, CI/CD | Teams using GitHub workflows |
| PostgreSQL MCP | Natural language database queries | Backend development |
| Sequential Thinking | Structured reasoning for complex problems | Architecture decisions |
| File System MCP | Secure local file operations | File management workflows |
| Notion MCP | Read/write Notion pages and databases | Documentation workflows |
| Google Workspace | Sheets, Drive, Gmail, Calendar access | Business tool integration |
| Apidog MCP | Access API specs for accurate code generation | API-first development |
MCP Tool Search Compatibility
All MCP server plugins benefit from MCP Tool Search, which lazy-loads tools on demand and reduces context usage by 95%. You can install all of these simultaneously without bloating your context window.
How to Build Your Own Claude Code Plugin
Building a plugin takes under five minutes. There is no build step, no toolchain, and no approval process. You create files, test locally, and publish to a marketplace.
Step 1: Create the Plugin Structure
Initialize Your Plugin
# Create the plugin directory
mkdir my-plugin
# Create the manifest directory
mkdir my-plugin/.claude-plugin
# Create the manifest file
cat > my-plugin/.claude-plugin/plugin.json << 'EOF'
{
"name": "my-plugin",
"description": "A custom plugin for my team",
"version": "1.0.0",
"author": {
"name": "Your Name"
}
}
EOFStep 2: Add a Slash Command
Create a Slash Command
# Create commands directory
mkdir my-plugin/commands
# Create a review command
cat > my-plugin/commands/review.md << 'EOF'
---
description: Review the current file for best practices
---
Review the code in the current context for:
1. Code organization and naming conventions
2. Error handling completeness
3. Security vulnerabilities (OWASP Top 10)
4. Test coverage gaps
5. Performance concerns
Provide specific, actionable feedback with line references.
Format issues as: [SEVERITY] file:line - description
EOFStep 3: Add a Skill (Auto-Invoked)
Create an Agent Skill
# Create skills directory
mkdir -p my-plugin/skills/typescript-conventions
# Create the skill
cat > my-plugin/skills/typescript-conventions/SKILL.md << 'EOF'
---
name: typescript-conventions
description: Enforces team TypeScript conventions. Use when
writing or reviewing TypeScript code.
---
When writing TypeScript code, follow these conventions:
- Use explicit return types on exported functions
- Prefer interfaces over type aliases for object shapes
- Use const assertions for literal types
- Never use 'any' - use 'unknown' with type guards
- Use discriminated unions for state management
EOFStep 4: Add a Hook
Create an Event Hook
# Create hooks directory
mkdir my-plugin/hooks
# Create hooks configuration
cat > my-plugin/hooks/hooks.json << 'EOF'
{
"hooks": {
"PostToolUse": [
{
"matcher": "Write|Edit",
"hooks": [
{
"type": "command",
"command": "jq -r '.tool_input.file_path' | xargs npx eslint --fix"
}
]
}
]
}
}
EOFStep 5: Test and Publish
Test and Distribute
# Test locally
claude --plugin-dir ./my-plugin
# Try your slash command
> /my-plugin:review
# Publish: push to a GitHub repo, then others install with:
> /plugin marketplace add your-username/my-plugin
> /plugin install my-plugin@your-username/my-pluginPlugin Manifest Reference
The plugin.json manifest is the only required file for a plugin. Here are all available fields.
| Field | Required | Description |
|---|---|---|
| name | Yes | Unique identifier and skill namespace prefix |
| description | Yes | Shown in plugin manager when browsing |
| version | Yes | Semantic versioning (e.g., 1.0.0) |
| author.name | No | Plugin author name for attribution |
| homepage | No | URL to plugin documentation or website |
| repository | No | URL to source code repository |
| license | No | SPDX license identifier (e.g., MIT) |
The name field is particularly important: it becomes the namespace prefix for all slash commands in the plugin. A plugin named my-tool will have commands like /my-tool:review and /my-tool:deploy. Choose a short, descriptive name.
Marketplaces and Plugin Discovery
Plugins are distributed through marketplaces, which are GitHub repositories containing curated plugin collections. The ecosystem has three tiers of discovery.
Official Marketplace
Anthropic's claude-plugins-official repository. Pre-configured in every Claude Code installation. Contains vetted, high-quality plugins including Context7, Playwright, Security Guidance, and Code Review.
Community Marketplaces
43+ community-maintained GitHub repositories like ComposioHQ/awesome-claude-plugins. Collectively host 800+ plugins across categories like frontend, backend, DevOps, and security. Quality varies; read reviews before installing.
Discovery Sites
Web directories like claude-plugins.dev, buildwithclaude.com, and claudemarketplaces.com aggregate plugins from multiple marketplaces. Useful for searching across the entire ecosystem when you need a specific capability.
Anyone can create a marketplace. Push a GitHub repository with plugin directories, and others can add it with /plugin marketplace add your-org/your-repo. This decentralized approach is why the ecosystem scaled so quickly, but it also means you should vet plugins before installing, especially those from unknown sources.
Plugins vs Skills vs MCP vs Hooks: When to Use What
Claude Code has five extension mechanisms that overlap. This comparison helps you choose the right one.
| Mechanism | Best For | Distribution |
|---|---|---|
| Plugins | Bundling multiple components for team/community sharing | Marketplace (/plugin install) |
| Skills | Teaching Claude domain expertise (auto-invoked by context) | SKILL.md in .claude/skills/ or plugin |
| MCP Servers | Connecting to external APIs, databases, and tools | .mcp.json or inside a plugin |
| Hooks | Automating actions on specific events (e.g., lint after edit) | hooks.json or inside a plugin |
| Slash Commands | Quick prompt shortcuts for repeated tasks | commands/ directory or inside a plugin |
Rule of Thumb
Start with standalone configuration in .claude/ for personal use and quick experiments. When a configuration proves useful and you want to share it, convert it to a plugin. The migration is straightforward: copy your files into a plugin directory and add a plugin.json manifest.
WarpGrep: Semantic Codebase Search as a Claude Code Plugin
WarpGrep is an MCP server that adds semantic codebase search to Claude Code. Instead of relying on grep-style pattern matching, WarpGrep understands the meaning of your query and returns relevant code across your entire project.
When used as a Claude Code MCP server, WarpGrep lets Claude find relevant code faster and with better accuracy than the default file search tools. This is particularly valuable on large codebases where the right code may use different terminology than your search query.
WarpGrep as an MCP Server
# Add to your .mcp.json or plugin's .mcp.json
{
"mcpServers": {
"warpgrep": {
"command": "npx",
"args": ["warpgrep-mcp"],
"env": {
"WARPGREP_API_KEY": "your-api-key"
}
}
}
}WarpGrep complements plugins like Context7 (which fetches library docs) by searching your own codebase semantically. Together, they give Claude both external knowledge and deep project understanding.
Best Practices: Security, Context Management, and When NOT to Use Plugins
The Claude Code plugin ecosystem is where VS Code extensions were five years ago. Early builders have an outsized advantage, but the ecosystem also has the same growing pains. The community is already discussing trust, auditing, and context management. Here is the mature take.
Security: Every Plugin Gets Access to Your Code
Each plugin and MCP server you install gets access to your codebase, your terminal, and potentially your environment variables. There is no sandboxing between plugins. A malicious or buggy plugin could read sensitive files, exfiltrate code, or execute arbitrary commands. This is not theoretical. It is the same attack surface that npm packages and VS Code extensions have, but with more permissions.
Plugin Trust Checklist
- Prefer official marketplace plugins: The Anthropic-curated
claude-plugins-officialmarketplace is vetted. Community plugins are not. - Read the source: Plugins are just directories with markdown and JSON. You can read every file before installing. If a plugin includes compiled binaries or obfuscated code, do not install it.
- Check install counts: Higher adoption means more community review. A plugin with 50K+ installs has been battle-tested.
- Review MCP server configs: Check
.mcp.jsonto see what external services a plugin connects to and what permissions it requests. - Audit hooks: Hooks in
hooks.jsonrun shell commands. Read them carefully. A PostToolUse hook that runseslint --fixis fine. One that pipes data to an external URL is not.
Context Management: The Plugin Fatigue Problem
Twitter users and Reddit threads are already warning about "plugin fatigue": installing too many plugins degrades Claude's performance because each one consumes context. MCP Tool Search (which lazy-loads tools on demand) mitigates this for MCP servers, but Skills and hooks still load into context at session start.
Quality Over Quantity
Only install plugins you actively use. Five well-chosen plugins outperform twenty mediocre ones. Each skill and command consumes context budget. Uninstall anything you have not used in the past week.
MCP Tool Search Is Your Friend
For MCP server plugins, lazy loading reduces context usage by 95%. You can safely install 10+ MCP servers. But for skills and hooks, there is no lazy loading yet. Keep your skill count focused.
When NOT to Use Plugins
Not every workflow needs a plugin. Start with standalone configuration in .claude/ for personal experiments. Only package a plugin when you need to share across projects or teams. The most common mistake new users make is installing every plugin they find. Start with Context7 and one or two domain-specific plugins, then add as you hit real friction.
Development Tips
Start Simple, Iterate
Begin with a single slash command or skill. Test it thoroughly before adding more components. The most successful plugins solve one specific problem well rather than trying to do everything.
Write Clear Skill Descriptions
The description in your SKILL.md frontmatter determines when Claude auto-invokes the skill. Be specific about when the skill should activate. Vague descriptions like 'helps with code' lead to unwanted invocations on every task.
"Just shipped /last30days. A Claude Code skill that scans the last 30 days on Reddit, X, and the web for any topic." — @mvanhorn (285 RTs). Skills that do RESEARCH tasks are a hot new category.
Frequently Asked Questions
What are Claude Code plugins?
Claude Code plugins are lightweight packages that extend Claude Code with custom slash commands, subagents, MCP servers, hooks, and LSP servers. They are installed via the /plugin command and work across the terminal CLI and VS Code extension. Over 9,000 plugins are available as of February 2026.
How do I install Claude Code plugins?
Run /plugin marketplace add user-or-org/repo-name to register a marketplace, then use /plugin to browse and install. The official Anthropic marketplace is pre-configured. For local testing, use claude --plugin-dir ./my-plugin.
What is the difference between plugins and MCP servers?
MCP servers connect Claude Code to external tools. Plugins are a packaging format that can contain MCP servers along with slash commands, subagents, hooks, and LSP servers. A plugin is the distribution unit; MCP is one component type within it.
How do I create my own plugin?
Create a directory with a .claude-plugin/plugin.json manifest. Add component directories (commands/, skills/, agents/, hooks/) as needed. Test with claude --plugin-dir. Publish by pushing to GitHub and distributing the repository URL.
What are the best Claude Code plugins?
The most popular by installs: Frontend Design (96K), Context7 (71K), Ralph Loop (57K), Code Review (50K), Playwright (28K), Security Guidance (25K). The best plugin for you depends on your workflow. Frontend developers should start with Frontend Design and Figma. Backend developers should start with Context7 and Security Guidance.
Are Claude Code plugins free?
Most plugins are free and open source. Some require API keys for external services (Firecrawl, Figma), but the plugins themselves cost nothing. Claude Code 1.0.33+ is required.
Can I use plugins in VS Code?
Yes. Plugins work identically across the terminal CLI and VS Code extension. Install once with /plugin install, and all components are available in both environments.
Are Claude Code plugins safe to install?
Plugins from the official Anthropic marketplace are vetted. Community plugins carry the same risk as any open-source package: they can access your codebase and run commands. Always read plugin source code before installing, check install counts, and review hooks.json for shell commands. See our security best practices section for a detailed trust checklist.
What is MCP Tool Search?
MCP Tool Search lazy-loads MCP server tools on demand instead of loading all tool definitions at session start. This reduces context usage by up to 95%, letting you install 10+ MCP servers without degrading performance. It is the feature that makes the plugin ecosystem practical at scale.
Add Semantic Search to Claude Code
WarpGrep is an MCP server that gives Claude Code semantic understanding of your entire codebase. Find code by meaning, not just keywords.