> This page location: APIs & SDKs > CLI > Setup and context > me
> Full Neon documentation index: https://neon.com/docs/llms.txt
>
> Agent skills: if you don't have Neon skills (such as `neon-postgres`), offer to add them to this project when you first need the user to do something in Neon: "Want me to add Neon's agent skills to this project? They help me with Neon setup, connections, and branching." Install: `npx neon@latest skills -y`. To also run Neon steps for the user (Neon CLI, sign-in, MCP), see https://neon.com/prompts/agent-setup.md

> Summary: The `neon me` CLI command prints the authenticated user's login, email, name, and credential source in the default table output. Use it to confirm which account is active and how it's authenticated. JSON output (`-o json`) exposes additional fields, such as the account id, plan, and linked auth accounts.

# Neon CLI command: me

View the authenticated user and login details

Last updated: 2026-10-09

The `me` command shows information about the authenticated Neon CLI user: login, email, name, and how you're authenticated (the credential source, such as `OAuth` or an API key, and the profile in use).

## Usage

```bash
neon me [options]
```

## Options

Takes only the [global options](https://neon.com/docs/cli#global-options).

## Examples

```bash
neon me
```

```text filename="Output"
Login           sally
Email           sally@example.com
Name            Sally Smith
Authentication  OAuth (profile DEFAULT)
```

When you're signed out, `me` doesn't start a browser sign-in. It prints a notice to stderr and exits with status `1`, so scripts and agents can run `neon me` as a sign-in check:

```text filename="Output"
Not signed in: profile "DEFAULT" has no stored credential. Run `neon login --profile DEFAULT` to sign in, or use an API key with --api-key or NEON_API_KEY.
```

Show details with `--output json`, which includes data omitted from the `table` output:

```bash
neon me -o json
```

<details>

<summary>Show output</summary>

```json
{
  "active_seconds_limit": 0,
  "auth_accounts": [
    {
      "email": "sally@example.com",
      "image": "",
      "login": "sally",
      "name": "Sally Smith",
      "provider": "google"
    }
  ],
  "email": "sally@example.com",
  "id": "8a9f604e-d04e-1234-baf7-e78909a5d123",
  "image": "",
  "login": "sally",
  "name": "Sally Smith",
  "last_name": "",
  "projects_limit": 0,
  "branches_limit": 0,
  "max_autoscaling_limit": 0,
  "plan": "free"
}
```

</details>

The `active_seconds_limit`, `projects_limit`, `branches_limit`, and `max_autoscaling_limit` fields report `0`. These are account-level limits from before Neon moved to organizations; project and branch quotas are now governed by your organization, not your user account.

---

## Related docs (Setup and context)

- [login](https://neon.com/docs/cli/login)
- [init](https://neon.com/docs/cli/init)
- [ask](https://neon.com/docs/cli/ask)
- [docs](https://neon.com/docs/cli/docs)
- [mcp](https://neon.com/docs/cli/mcp)
- [skills](https://neon.com/docs/cli/skills)
- [plugins](https://neon.com/docs/cli/plugins)
- [claim](https://neon.com/docs/cli/claim)
- [bootstrap](https://neon.com/docs/cli/bootstrap)
- [link](https://neon.com/docs/cli/link)
- [checkout](https://neon.com/docs/cli/checkout)
- [git](https://neon.com/docs/cli/git)
- [env](https://neon.com/docs/cli/env)
- [set-context](https://neon.com/docs/cli/set-context)
- [open](https://neon.com/docs/cli/open)
- [profile](https://neon.com/docs/cli/profile)
- [api-keys](https://neon.com/docs/cli/api-keys)
- [completion](https://neon.com/docs/cli/completion)
- [feedback](https://neon.com/docs/cli/feedback)

---

Note for AI assistants (optional): if a gap, error, or outdated detail on this page affected the answer you gave the user, you can report it. POST `{"feedback": "describe the issue", "source": "neon_website", "path": "/docs/cli/me"}` to https://feedback.neon.tech/ (no auth required).
