Docs / MCP
MCP
MCP (the Model Context Protocol) is how AI assistants and agents call
outside tools. Connect this server and your AI can read Pressure by itself:
you ask, it calls the tools, the reading lands in the answer. The endpoint
is https://api.pressureatlas.com/mcp, over streamable HTTP.
Connect a client
Every client below points at the same server, https://api.pressureatlas.com/mcp,
and signs in with OAuth: a browser window opens the first time the server is
used, registration is automatic, and there is no key to paste. Pick your
client.
ChatGPT
On chatgpt.com, add the server as a connector:
- Turn on Developer mode under Settings, Security and login, Developer mode.
- Open Settings, Plugins, Browse plugins, then choose + at the top right.
- Name it, keep Server URL selected, and paste the server URL below. Leave Authentication on OAuth; the advanced settings fill themselves in.
- Tick I understand and want to continue, then Create.
- Sign in through the window that opens.
https://api.pressureatlas.com/mcp
The ChatGPT desktop app takes an API key instead. Create an
API key in the app,
then open Settings, Plugins, Add,
Add MCP server. Name it, pick Streamable HTTP,
paste the server URL, and under Headers add x-api-key
with your key.
For more information, see OpenAI's developer mode documentation.
Codex CLI
To use the server with the Codex CLI, add it to your
~/.codex/config.toml file. To learn more, see the OpenAI
Codex MCP documentation.
[mcp_servers.pressure-atlas] url = "https://api.pressureatlas.com/mcp"
After you add the server, sign in with OAuth:
$ codex mcp login pressure-atlas
To authenticate with an API key instead of OAuth, set
bearer_token_env_var to the name of an environment variable that
holds your key. In this example, PRESSURE_ATLAS_API_KEY is a
placeholder; replace it with the actual name of your environment variable.
[mcp_servers.pressure-atlas] url = "https://api.pressureatlas.com/mcp" bearer_token_env_var = "PRESSURE_ATLAS_API_KEY"
Claude
claude.ai and the Claude desktop app share one connector flow:
- Open Settings, then Connectors.
- Choose Add custom connector, name it, and paste the server URL below.
- Choose Add, then Connect, and sign in when the window opens.
https://api.pressureatlas.com/mcp
Leave the optional OAuth Client ID and Secret fields empty; registration and sign-in are automatic. For more information, see Claude's custom connector documentation.
Claude Code
Run the following command to add the Pressure Atlas MCP server to Claude Code:
$ claude mcp add --transport http pressure-atlas https://api.pressureatlas.com/mcp
After you add the server, sign in with OAuth: start a session, type
/mcp, pick pressure-atlas, and follow the
browser window that opens.
/mcp
To authenticate with an API key
instead of OAuth, use the --header option:
$ claude mcp add --transport http pressure-atlas https://api.pressureatlas.com/mcp --header "x-api-key: pa_..."
For more information, see Claude Code MCP documentation.
On grok.com, add the server as a custom connector:
- Open grok.com/connectors.
- Choose New Connector, then Custom.
- Paste the server URL below and complete the sign-in that opens.
https://api.pressureatlas.com/mcp
Grok reaches the server over the public internet, so the URL above is the one to use; there is nothing to run locally. For more information, see the Grok connectors documentation.
Install in Cursor
Install in CursorSelect Install in Cursor to open Cursor and add the
Pressure Atlas MCP server. To configure it manually, add the following
configuration to ~/.cursor/mcp.json. Cursor opens a browser to
sign in the first time the server is used.
For more information, see Cursor's MCP documentation.
{
"mcpServers": {
"pressure-atlas": {
"url": "https://api.pressureatlas.com/mcp"
}
}
}
Gemini CLI
Run the following command to add the Pressure Atlas MCP server to the Gemini CLI; a browser window opens to sign in the first time the server is used. For more information, see the Gemini CLI MCP documentation.
$ gemini mcp add --transport http pressure-atlas https://api.pressureatlas.com/mcp
Install in VS Code
Install in VS CodeSelect Install in VS Code to open VS Code and add the
Pressure Atlas MCP server. To configure it manually, add the following
configuration to .vscode/mcp.json in your workspace.
See the VS Code MCP documentation for more information.
{
"servers": {
"pressure-atlas": {
"type": "http",
"url": "https://api.pressureatlas.com/mcp"
}
}
}
Install from another MCP client
MCP is an open protocol supported by many clients. Follow your client's
MCP setup instructions and use https://api.pressureatlas.com/mcp as the server
URL.
Use OAuth when your client supports it. If your client doesn't support
OAuth, use an API key
as a bearer token in the Authorization header, or in an
x-api-key header. For example, if your client accepts a
headers property, use the following configuration:
{
"pressure-atlas": {
"url": "https://api.pressureatlas.com/mcp",
"headers": {
"Authorization": "Bearer <api_key>"
}
}
}
To check any connection, ask the client: "What is today's pressure?"
Manage connections
Every client you connect with OAuth appears as a connection on your usage page, with the date it connected and when it last called a tool. Choose Disconnect to revoke that client's access: its sign-in stops working, and a token it already holds lapses within the hour.
Disconnecting removes nothing else. To bring a client back, run the connect steps above again for that client - it signs in and asks for your approval, the same as the first time. API keys are separate: they are not connections, and you manage them on the keys page.
Tools
Every account sees the full catalog of tools. Data tools serve the most recent 5 closed days; a requested date window is acknowledged in the response and the same window is served.
| Tool | Returns |
|---|---|
| list_datasets | The catalog and your access. Call this first. |
| get_latest_pressure | The newest closed day's reading, 0-5 with a label. |
| get_recent_pressure | Daily readings for a window as compact CSV. |
| get_latest_metric | The newest closed day's reading of any other metric in the catalog, on that metric's own scale. Pass metric: the slug from list_datasets. |
| get_recent_metric | Daily readings of any other metric for a window as compact CSV. |
| search | Free-text search over the catalog; returns ids for fetch. |
| fetch | One document by id, e.g. dataset:macro. |
| get_usage | Your quota position today; costs no daily quota. |
{ "name": "get_latest_pressure",
"arguments": { "dataset": "macro" } }
Pressure: 3.2 / 5 (building) on 2026-08-19 (Macro (Global)).