wordpress-org
A Model Context Protocol (MCP) server that enables Claude Code to analyze, download, and compare WordPress.org plugins with your local plugins. Read https://juanma.codes/2025/09/25/my-first-mcp-server-wordpress-plugin-directory-for-llms/ for more info.
claude mcp add --transport stdio juanma-wp-wordpress-org-mcp npx -y wordpress-org-mcp-server
How to use
This MCP server enables Claude to work with WordPress.org plugin data. It can search WordPress.org plugins by keyword, fetch detailed information for a plugin, download a plugin as a ZIP, extract and inspect its files, list and read individual plugin files, and compare a local plugin against the WordPress.org version. It also provides functionality to generate diffs between plugin versions and view file-level differences. Typical workflows involve searching for plugins of interest, obtaining plugin details, downloading and extracting a plugin, and then comparing your local copy with the official WordPress.org version to identify changes and diffs. The server exposes a set of tools such as search_plugins, get_plugin_info, download_plugin, extract_plugin, list_plugin_files, read_plugin_file, compare_plugins, and get_file_diff to support end-to-end analysis.
How to install
Prerequisites:
- Node.js and npm installed on your system.
- Claude CLI installed and authenticated with your workspace (so you can register MCP servers).
Installation steps:
- Ensure Node.js and npm are installed. For example:
- macOS/Linux: curl -fsSL https://deb.nodesource.com/setup_lts.x | sudo -E bash - && sudo apt-get install -y nodejs
- Windows: install Node.js via https://nodejs.org/
- Verify npm and node:
- node -v
- npm -v
- Ensure Claude CLI is installed. If needed, install globally (example):
- npm install -g claude-cli
- Register the MCP server using the recommended command from the README: claude mcp add wordpress-org npx wordpress-org-mcp-server
- Verify registration: claude mcp list
- (Optional) Configure custom cache/extraction directories via environment variables as documented below.
Note: After registration, you can run the MCP server via npx wordpress-org-mcp-server and begin using the available tools through Claude.
Additional notes
Environment variables:
- WP_MCP_CACHE_DIR: Custom directory for downloaded ZIP files
- WP_MCP_EXTRACT_DIR: Custom directory for extracted plugin files
Storage locations:
- The server stores downloads and extractions in system directories by default. You can customize these locations before registration. If you encounter permissions issues or disk space warnings, consider setting WP_MCP_CACHE_DIR and WP_MCP_EXTRACT_DIR to paths with ample space.
Troubleshooting tips:
- "Plugin not found" errors typically mean the plugin slug is incorrect or not available on WordPress.org.
- Download failures may be caused by network issues; check connectivity and WordPress.org availability.
- Extraction errors can result from insufficient permissions or corrupted ZIPs; ensure write permissions and retry.
Supported file types for diffing and inspection include PHP, JS, CSS, text/config files; binary files are compared by size only when diffing.
Related MCP Servers
context7
Context7 MCP Server -- Up-to-date code documentation for LLMs and AI code editors
obsidian -tools
Add Obsidian integrations like semantic search and custom Templater prompts to Claude or any MCP client.
MiniMax -JS
Official MiniMax Model Context Protocol (MCP) JavaScript implementation that provides seamless integration with MiniMax's powerful AI capabilities including image generation, video generation, text-to-speech, and voice cloning APIs.
mcp-bundler
Is the MCP configuration too complicated? You can easily share your own simplified setup!
akyn-sdk
Turn any data source into an MCP server in 5 minutes. Build AI-agents-ready knowledge bases.
promptboard
The Shared Whiteboard for Your AI Agents via MCP. Paste screenshots, mark them up, and share with AI.