wp_get_user_meta is one of 214 MCP tools included in Easy MCP AI — the WordPress plugin that connects Claude, ChatGPT, and any AI assistant to your site.

Install Free Plugin →

wp_get_user_meta

Read-only

Description

User meta stores profile fields, plugin preferences, BuddyPress extended profile data, and more. wp_get_user_meta returns it all in one call. Users can always read their own meta without edit_users. Easy MCP AI enforces strict protection: auth-sensitive keys (session_tokens, _password_reset_key, _application_passwords, etc.) AND privilege keys (wp_capabilities, wp_user_level) are blocked for everyone, including administrators. Non-admins also can't read _-prefixed keys outside the easy_mcp_ai_user_meta_readable_protected_keys allowlist. Omit the key to fetch all meta, or pass a specific key. single controls whether to return a single value or an array of values.

See it in action

Claude Desktop — MCP Connection
👤
Show me all user meta for user ID 12.
🤖
Tool called wp_get_user_meta
{"status": "success"}

Done! I've used wp_get_user_meta to complete that for you.

Example Use Cases & Sample Prompts

  1. Read all meta for a user
    • Prompt: “Show me all user meta for user ID 12.”
  2. Check a specific profile field
    • Prompt: “Get the ‘description’ meta for user ID 88 — I want to see their bio.”
  3. Read your own preferences
    • Prompt: “Show me my own meta keys and values.”
  4. Plugin preference lookup
    • Prompt: “Get the ‘wp_user-settings’ meta for user 200.”
  5. BuddyPress field audit
    • Prompt: “Read the BuddyPress profile meta on user 320.”

Frequently Asked Questions

What does wp_get_user_meta do?

User meta stores profile fields, plugin preferences, BuddyPress extended profile data, and more. wp_get_user_meta returns it all in one call. Users can always read their own meta without edit_users. Easy MCP AI enforces strict protection: auth-sensitive keys (session_tokens, _password_reset_key, _application_passwords, etc.) AND privilege keys (wp_capabilities, wp_user_level) are blocked for everyone, including administrators. Non-admins also can't read _-prefixed keys outside the easy_mcp_ai_user_meta_readable_protected_keys allowlist. Omit the key to fetch all meta, or pass a specific key. single controls whether to return a single value or an array of values.

How do I use wp_get_user_meta with my AI assistant?

Install the Easy MCP AI WordPress plugin, generate an API token in your dashboard, and connect your AI client (Claude, ChatGPT, Cursor, or any MCP-compatible assistant). Then simply describe what you want in natural language — for example: "Show me all user meta for user ID 12."

Do I need Easy MCP AI to use wp_get_user_meta?

Yes. wp_get_user_meta is one of 214 MCP tools bundled inside the Easy MCP AI WordPress plugin. Install the free plugin from WordPress.org, connect your AI client, and this tool becomes available immediately — no coding required.

Step 1

Get the Plugin

Install Easy MCP AI on your WordPress site to unlock wp_get_user_meta and all 96 core tools instantly.

Download Free Plugin

Step 2

Connect Your AI Client

Already have the plugin? Step-by-step setup guides for Claude, ChatGPT, Cursor, Windsurf, and 10+ more.

View Setup Guides →

Newsletter

The AI + WordPress space moves fast. Keep up.

New tools, workflow ideas, and product updates — be the first to know what's next.

No spam, unsubscribe anytime.