⌨️~/.claude.json
Also known as .claude.json, Claude Code global config
A file Claude Code writes for itself. It holds your account and MCP servers.
Think of it like
It is like a notebook the app keeps for itself. You do not need to open it.
Example
Emma added a server with claude mcp add, then looked for it in settings.json. It was in ~/.claude.json, where her own servers live.
Why it matters
It explains where your MCP servers and trust choices are kept.
Definition
Example code
bash
claude mcp add --transport http docs https://mcp.example.com/mcpCommon mistake
Key takeaways
- 1Written by Claude Code. Not by you.
- 2Account and MCP. And trust.
- 3Beside ~/.claude. Not inside.