← Back to Tools Reference

wp_get_user

Read-only

Description

Use this tool to get the complete profile of a specific WordPress user, including their username, display name, email, role, and registration date. Your AI uses this to review account details before making changes or for auditing user data.

See it in action

Claude Desktop — MCP Connection
👤
Get the profile details of the user with username 'admin'.
🤖
Calling Tool: wp_get_user
Done! I've used wp_get_user to complete that for you.
{"status": "success"}

Example Use Cases & Sample Prompts

  1. Checking a user’s role
    • Prompt: “What role does the user ‘jane_smith’ currently have?”
  2. Verifying before editing
    • Prompt: “Look up the user ‘john_writer’ to confirm their current email before we update it.”
  3. Author profile check
    • Prompt: “Get the profile details for the author who wrote our most recent post.”
  4. Onboarding confirmation
    • Prompt: “After creating the new account, fetch its details to confirm the role and email are correct.”
  5. Support troubleshooting
    • Prompt: “A user says they can’t access the editor — look up their account to check their assigned role.”

Access this tool today

Install the Easy MCP AI plugin to securely expose wp_get_user to Claude, ChatGPT, and more.

Download Plugin