Wp Db MCP
UnclaimedMCP server for exploring WordPress MySQL/MariaDB databases.
Set up this server
01 / Choose your client
02 / Before you connect
Authentication is not specified. Check the project instructions before connecting.
Project instructions03 / Add the configuration
claude mcp add --transport stdio 'wp-db-mcp' -- 'uvx' '--from' 'wp-db-mcp' 'wp-db-mcp'04 / Check it in your client
Open your client’s MCP settings and confirm the server connects and lists its tools. A copied configuration does not confirm a working connection.
More in Databases
Browse the full directoryUnclaimed listing
Is this your MCP server?
This listing was auto-indexed from the public record. Claim it to edit the page, set compatibility and unlock growth tools. Takes under two minutes.
Claim this serverSecurity profile
Claimed and verified servers get a weekly static scan that shows what the code can reach: external services, environment variables, shell commands, agent configuration folders, plus any dependencies with known advisories. Claim this listing to get one. How the security profile works
22 of 22 tools
Documented tools (22)
From project documentation. A server handshake does not verify each tool’s description or behavior.
numeric_meta_ratio
fraction of all terms in that taxonomy that carry a numeric value for
post_id_resolution_ratio
of the numeric-valued terms, the fraction whose value actually
wp_describe_table
Show columns, types, keys, and indexes for a specific table. Accepts full name or core suffix (e.g. posts instead of wpposts). users, usermeta, and multisite's network tables (blogs, site, sitemeta, signups, registrationlog) always resolve against the base prefix, regardless of siteid.
wp_get_connected_posts
Get posts connected to a post via the posttopost table. Supports filtering by relationship
wp_get_meta
Get all meta key-value pairs for a post, user, or comment. Takes objecttype
wp_get_post_terms
Get all terms for a post, traversing the full relationship chain. Filter by taxonomy.
wp_get_relationships
Map how WordPress tables relate to each other:
wp_get_schema
Generate a complete database schema with all columns, indexes, and detected relationships. Outputs JSON or CSV. Toggle includeplugins to include non-core tables. Uses optimized batch queries. users/usermeta and network tables are included at the base prefix on every site.
wp_get_shadow_relations
Traverse a shadow taxonomy relationship in either direction, via entitytype
wp_get_term_posts
Get all posts for a term. Same default posttype/poststatus exclusions as wpsearchposts
wp_get_user_connections
Query the posttouser relationship table in either lookup direction, via entitytype
wp_list_connected_posts
List all post connections for a given relationship name. Returns all connection pairs with both posts' details (ID, title, type) and the relationship order.
wp_list_connection_names
Discover all relationship names registered in WP Content Connect. Queries both posttopost and posttouser tables to list distinct relationship names with their connection counts. Useful for exploring what relationships exist before querying specific connections.
wp_list_shadow_posts
List all posts using a shadow taxonomy relationship. Returns all posts assigned to shadow terms, with term info (ID, name) and source post details (ID, title, type).
wp_list_shadow_taxonomies
Discover candidate shadow taxonomies — this is heuristic, not verified. It finds
wp_list_tables
List all tables with engine, row count, and size. Supports multisite siteid filter.
wp_list_taxonomies
List all taxonomies registered in the database with term counts and total usage.
wp_posts
> wppostmeta (via postid)
wp_query
Execute raw SQL queries validated by validateselectonly() (a guardrail, not a security
wp_search_posts
Search posts by title or content using LIKE matching. Defaults exclude posttype IN
wp_terms
> wptermmeta (via termid)
wp_users
> wpusermeta (via userid)
Tool change history
FAQ
Questions about Wp Db MCP Server
- How do I connect Wp Db MCP Server to Claude?
- Run `claude mcp add wp-db-mcp -- uvx --from wp-db-mcp wp-db-mcp` in Claude Code, or add the same command and arguments under mcpServers in Cursor's mcp.json or Claude Desktop's claude_desktop_config.json, then restart the client. The blocks above are ready to paste.
- Is Wp Db MCP Server free?
- The listed licence is MIT. Check the upstream terms for permitted use and commercial requirements; a public repository does not by itself mean the software is free or open source. Connected APIs and hosted services may have separate charges.
- What can Wp Db MCP Server do?
- Wp Db MCP Server documents 22 tools to the agent, including numeric_meta_ratio, post_id_resolution_ratio, wp_describe_table. The descriptions above come from project documentation. A live handshake does not test individual tool behavior.