Skip to main content

Context Layer 18 min read

How to Connect Claude to a Data Catalog or Context Layer

Quick answer

Connect Claude to a data catalog or context layer over the Model Context Protocol (MCP). Add the platform's remote MCP server from Claude's connectors directory or as a custom connector by URL, register it in Claude Code with claude mcp add, or run a local server as a Claude Desktop extension or a stdio process. Atlan's hosted MCP server is listed in the directory, and every call runs with the signed-in person's own Atlan permissions.

  • Directory connector: add a listed remote server from Claude
  • Custom connector: paste a remote MCP server URL, then sign in
  • Claude Code CLI: register a remote server with claude mcp add
  • Desktop extension: install a local .mcpb bundle in Claude Desktop
  • Local stdio server: run the server as a local process in Claude Code

Plan the context Claude will read

Get the AI Context Stack

You connect Claude and Claude Code to a data catalog or context layer over the Model Context Protocol (MCP). MCP is the open standard for connecting AI apps to tools and data. You either add the platform’s remote MCP server by its URL and sign in, or run a local MCP server on your own machine. Atlan’s context layer takes the remote route: a hosted MCP server, listed in Claude’s connectors directory, where every call runs with the signed-in person’s own Atlan permissions.

Plan Your Claude MCP Connection


Takes your Claude app and the data system you want it to reach, and returns the MCP server option, the authentication method, the permission scope, and the first read-only test to run. Read the skill.

Paste into a new chat

Use the skill at https://atlan.website/skills/warehouse-mcp-connection-plan.md to plan how to connect Claude to our data catalog or warehouse over MCP. Ask me for whatever it needs.

Run once in a terminal

curl -fsSL --create-dirs \
  -o ~/.agents/skills/warehouse-mcp-connection-plan/SKILL.md \
  https://atlan.website/skills/warehouse-mcp-connection-plan.md

For an agent

curl -fsSL https://atlan.website/skills/warehouse-mcp-connection-plan.md

If you run a data or AI platform team, your analysts and engineers are probably already asking Claude about your tables. Registering the server is the quick part. What decides whether Claude gets those answers right is what the server returns, because a wrong guess becomes a wrong metric in a dashboard or a broken model in a pull request. If a lookup comes back with only a table name, Claude still has to guess. If it comes back with the certified definition, the owner, and the lineage from a context layer, Claude has something to check before it writes SQL or answers a metric question.


How do Claude and Claude Code get context from a data catalog?

Claude apps connect to MCP servers through a built-in MCP client, and the data catalog or context layer sits behind an MCP server.

A prompt alone carries only so much. Instructions, agent memory, and agent skills tell Claude when to go looking, and the server is where it looks. Without one, Claude Code runs into the enterprise context gap on the first question about your own data.

Local and remote MCP servers


Servers come in two kinds, and they differ in where they run and how you sign in. The MCP architecture underneath is the same for both.

  • Local servers run on your machine and talk to Claude over stdio, the spec’s local transport (standard input and output). They reach private systems through your machine’s network access, which suits development, testing, and systems with no public endpoint. Placement decides what the server can reach; whatever a tool returns still goes to Claude. The MCP spec says local servers should read credentials from the environment rather than use its OAuth flow.
  • Remote servers expose one HTTPS endpoint over Streamable HTTP, for example https://mcp.example.com/mcp. Authorization is optional in the current spec (revision 2026-07-28). When a server uses it over HTTP, it follows the spec’s OAuth 2.1-based authorization, and some servers also accept an API key sent as a request header.

Where each kind of server works


Where each kind works depends on the Claude app, according to Anthropic’s connector docs:

Claude app Remote servers Local servers
claude.ai on the web Yes, as connectors No
Claude mobile app Yes, as connectors No
Claude desktop app Yes, as connectors Yes, as desktop extensions
Claude Code Yes, added from the CLI or synced from claude.ai Yes, as stdio servers

For a catalog or context layer that a whole team shares, remote is the better default. One hosted endpoint reaches every Claude app, and each person signs in with their own AI agent identity rather than a shared key.


What you need before you connect Claude

Check four things before you start, so the setup does not stall halfway.

  • A Claude plan that allows it. Custom connectors work on Free, Pro, Max, Ultra, Team, and Enterprise plans, with one custom connector on Free. On Team and Enterprise plans, an Owner adds connectors for the organization.
  • An account on the catalog or context layer platform, with the access you want Claude to have.
  • The server details from the platform’s documentation: a directory listing, a remote MCP server URL, a .mcpb file, or a package to run locally.
  • The right Claude app: the Claude desktop app for desktop extensions, and Claude Code installed in your terminal for the command-line patterns.

How to connect Claude and Claude Code to a catalog or context layer: five patterns

There are five connection patterns: three for remote servers and two for local ones. Which one fits depends on the Claude app your team uses and where the server runs, and the same patterns apply when you connect an AI coding agent to a data warehouse over MCP.

Pattern 1: Add a listed connector from the connectors directory


If the platform publishes its server in Anthropic’s Connectors Directory, this is the shortest path. It works in claude.ai and the Claude desktop app.

  1. Go to Customize > Connectors. In the desktop app, select Customize in the sidebar, then Connectors.
  2. Select Discover and search for the catalog or context layer platform.
  3. Select Connect to Claude, then sign in to the platform and approve the access Claude asks for.

On Team and Enterprise plans, an Owner adds the connector for the organization first, and members then connect with their own accounts. Anthropic is renaming Customize to Plugins, so from November 2026 many accounts list connectors on the Plugins page instead. A plugin can bundle a platform’s connector with skills that use it.

Done when: the connector is listed under Your connectors with the status Connected.

Pattern 2: Add a custom connector by URL


If the platform is not in the directory, add its remote MCP server URL as a custom connector. The platform’s documentation gives the URL.

  1. Go to Customize > Connectors, select Add, then Add custom connector.
  2. Enter a name and the remote MCP server URL, then select Continue.
  3. Choose how people sign in: Sign in now, Sign in when needed, or No sign-in. A server that uses an API key takes No sign-in, with the key added under Request headers, a beta that only some organizations have.
  4. Select Add, then Connect if the connector asks you to sign in.

On Team and Enterprise plans, an Owner adds it from Organization settings > Connectors with Add, then Custom. The Free plan allows one custom connector. Claude calls a custom connector from Anthropic’s cloud, so the server must be reachable over the public internet from Anthropic’s IP ranges. A server inside a private network needs those addresses allowlisted, or one of the local patterns below.

Adding a remote MCP server as a custom connector in Claude

Adding a custom connector by URL. Source: Atlan


Once the connector is added, Claude asks you to sign in to the platform.

Signing in to a remote MCP server added as a custom connector in Claude

Signing in to a custom connector. Source: Atlan


Done when: the connector is on in a chat’s + > Connectors menu, and Claude calls one of its tools when you ask about a table you know.

Pattern 3: Register a remote server from the Claude Code command line


In Claude Code, add the server’s URL with claude mcp add:

claude mcp add --transport http catalog https://mcp.example.com/mcp

The server is saved at local scope by default, which means it loads only in the project where you added it. If the server uses OAuth, run /mcp inside Claude Code, or claude mcp login catalog from your shell, and finish the sign-in in your browser.

You may not need this step at all. Connectors you added in claude.ai through patterns 1 and 2 show up in Claude Code when you sign in with the same claude.ai account. They are not loaded when Claude Code runs on an API key, such as ANTHROPIC_API_KEY, or through a third-party cloud provider.

Done when: /mcp lists the server and it is connected, with no sign-in pending.

Pattern 4: Install a Claude Desktop extension


A desktop extension is an MCP Bundle (.mcpb): a zip archive with a local MCP server and a manifest.json. Claude Desktop runs the server on your machine over stdio, so it can reach systems your machine can reach. The directory no longer accepts MCPB submissions, so you get the .mcpb file from the platform vendor or from your organization.

  1. In the Claude desktop app, go to Settings > Extensions. In the newer settings layout, go to Settings > Desktop app and select Manage next to Extensions.
  2. Drag the .mcpb file onto the page, or select Advanced settings > Install Extension and pick the file.
  3. Review the extension’s details and permissions, fill in any settings it needs, such as an API key, and install.

Done when: the extension appears in the list on the Extensions page.

Installing a local MCP server as a Claude Desktop extension

Installing a Claude Desktop extension. Source: Atlan


Pattern 5: Run a local stdio server in Claude Code


Claude Code can also start a local MCP server as a process on your machine. Instead of a URL, pass the command that runs the server after --:

claude mcp add --env CATALOG_API_KEY=<your-api-key> --transport stdio catalog -- npx -y <catalog-mcp-package>@<version>

--env passes environment variables, such as an API key, to the server. The package runs with your own operating-system permissions, so install one your team has reviewed and pin its version.

Done when: claude mcp list shows the server, and /mcp shows it connected inside a session.


Which connection pattern should you pick?

Two facts usually settle it: which Claude apps your team uses, and whether the server has an endpoint Anthropic’s cloud can reach.

Pattern Works in Server runs Sign-in Pick it when
1. Directory connector claude.ai, desktop, mobile, Claude Code Vendor-hosted The platform’s own sign-in, per person The platform is listed
2. Custom connector claude.ai, desktop, mobile, Claude Code Vendor-hosted or self-hosted, publicly reachable OAuth or request header The platform is not listed
3. claude mcp add --transport http Claude Code Any endpoint your machine can reach OAuth through /mcp, or headers Developers want a per-project setup
4. Desktop extension Claude desktop app Your machine Settings at install The server has to run on each user’s machine
5. Local stdio server Claude Code Your machine Environment variables You are testing or building an MCP server

For a shared catalog or context layer, patterns 1 and 2 give you one setup that every Claude app inherits. Patterns 4 and 5 fit enterprise data sources you connect to LLMs that have no public endpoint.


Common errors when connecting Claude to a catalog

Most failed setups trace back to five errors, and each has a documented fix.

  • A custom connector will not connect. Claude calls custom connectors from Anthropic’s cloud, so a server behind a VPN or firewall fails until Anthropic’s IP ranges are allowlisted. Use a local pattern for servers with no public endpoint.
  • An API key is rejected. Claude sends a request header exactly as you type it. For an Authorization header, include the scheme, as in Bearer your-token.
  • claude.ai connectors are missing in Claude Code. They load only when Claude Code signs in with a claude.ai account. Run /status to see which sign-in method is active.
  • The CLI rejects the server name. --env accepts several KEY=value pairs, so a name placed straight after it reads as another pair. Put another option, such as --transport stdio, between them.
  • Extensions are missing from Claude Desktop settings. Your organization has turned extensions off or limited them; ask an admin.

What can Claude do once a catalog or context layer is connected?

Once connected, Claude reads what the server exposes and calls it on demand.

What the server exposes


According to Anthropic’s MCP docs, a server can expose three things:

  • Tools: actions such as search, create, and modify. Claude lists the tools and picks one when a question needs it, which is ordinary tool use in AI agents.
  • Resources: data Claude can read. In Claude Code you reference them with @ mentions, like files.
  • Prompts: predefined interactions. In Claude Code they become commands.

Claude Code keeps large servers manageable with MCP tool search, on by default. Only tool names and server instructions load at session start, and full tool definitions load when Claude needs them. Tool results still take space in the context window: Claude Code warns when one tool’s output passes 10,000 tokens and, by default, saves output over 25,000 tokens to a file instead of the conversation. Big lineage graphs and search results hit those limits first.

Who approves each tool call


You also decide how much Claude can do without asking. Under Customize > Connectors, each tool, or group of tools, can be set to Always allow, Needs approval, or Blocked. Block the tools you do not need, keep write tools and any tool that returns sensitive data on Needs approval, and allow only bounded lookups. That is one part of AI agent access control; the server’s own permissions do the rest.

Questions Claude can answer before it acts


With a catalog or context layer behind it, Claude can answer questions like these before it acts:

  • Which source can I trust? Who owns this table, is it certified, and should it feed this metric?
  • What breaks if this changes? Which downstream models and dashboards depend on this column? Lineage over MCP answers it before the change ships.
  • Does this SQL use our definitions? Does the query follow the metric in the business glossary and read only certified tables? Grounding is where text-to-SQL for the enterprise starts, though joins, grain, and filters still need review.

Those answers are only as good as what the server can see. Most data teams run more than one warehouse, plus transformation, orchestration, and BI tools, and a catalog that covers one platform answers for that platform alone. A separate MCP server per system means a separate setup, sign-in, and permission model per system. An enterprise context layer that already spans those systems gives Claude one connection for definitions, ownership, and lineage. Keep each warehouse’s own MCP server for running queries at scale, and an MCP gateway if you need central routing and rate limits across many servers.


How does Atlan bring enterprise context to Claude and Claude Code?

Atlan is the Context Layer for AI, and Claude reaches it through one hosted MCP server.

It connects to more than 100 sources and joins what it finds into the Enterprise Data Graph, which ties metadata, lineage, business terms, and metric definitions together. Context Agents write and maintain documentation for stewards to certify, and context repositories package the definitions, policies, and skills an agent reuses.

How to add Atlan to Claude and Claude Code


Claude reaches all of it through Atlan MCP, a hosted server at https://mcp.atlan.com/mcp available on every Atlan tenant, according to Atlan’s setup guide. An Atlan admin first chooses who can use it, under Settings > Labs: only admins, selected personas, or everyone. Then it works through the patterns above:

  • claude.ai and Claude Desktop: Atlan is an official connector in Claude’s connectors directory (pattern 1). On personal plans you add it yourself; on Team and Enterprise plans an admin adds it once.
  • Claude Code: install the plugin with claude plugin install atlan@claude-plugins-official, or run claude mcp add --transport http atlan-oauth https://mcp.atlan.com/mcp, then /mcp to sign in (pattern 3).

The server offers 41 tools in 9 categories, including search and discovery, lineage, asset metadata, business glossary, and data quality. Ask whether a revenue table is safe to build on, and Claude can call semantic_search to find candidates, get_assets to read their certification and owners, and traverse_lineage to see what sits upstream and downstream, before it writes a line of SQL.

What Atlan returns, and who can see it


With OAuth, each tool call runs as the signed-in person, and Atlan MCP security applies the same persona, role, and domain policies as the Atlan UI. That gives you role-based access control for an AI context platform that reuses Atlan’s existing asset permissions; Claude’s own connector settings still apply on top. An API token instead acts as one service identity and must carry exactly one persona, which scopes what it can see, so keep tokens for automation.

Answers for your security review


An AI agent governance review will ask three more questions, and Atlan’s docs answer each:

  • What reaches Claude? Most tools return catalog metadata. One tool, query_assets, runs read-only SQL and returns up to 100 rows of real data, only for people with query permission on that connection. Block it in your connector settings if warehouse rows should not reach Claude.
  • Can Claude change the catalog? Write tools return a preview and wait for approval. An admin can keep writes to admins only in Labs, and Atlan support can switch the whole tenant to read-only mode, which turns off every write, admin, and lifecycle tool while search and lineage keep working. Claude-side Blocked settings belong to each person; read-only mode covers everyone.
  • What is logged? Each tool call is logged with tool name, client, tenant, duration, and outcome, with arguments and responses redacted, and metadata changes show in each asset’s activity history.

Starting read-only, with a handful of personas, is a practical shape for a context layer pilot.


Real stories from real customers: context layers that AI tools read

Workday describes Atlan’s MCP server as the way AI reads its shared business language, and DigiKey describes Atlan as its context operating system across every system it runs.

"Atlan captures Workday's shared language to be leveraged by AI via its MCP server. As part of Atlan's AI labs, we're co-building the semantic layer that AI needs."

Joe DosSantos, VP, Enterprise Data and Analytics, Workday

Workday Logo

"Atlan is our context operating system to cover every type of context in every system including our operational systems. For the first time we have a single source of truth for context."

Sridher Arumugham, Chief Data Analytics Officer, DigiKey

DigiKey Logo

Connect once, then let every Claude app inherit it

Any of the five patterns will get Claude talking to a catalog. Whether Claude then gets things right depends on what that connection can see, and whose permissions it carries.

Add the connector once in claude.ai, and the desktop app, mobile, and Claude Code pick it up. Sign people in with OAuth so each call carries their own access. Start read-only with a few personas, keep write tools behind approval, and widen access as your team checks the answers. The decision left is whether you would sign off on the business context Claude will now read.


FAQs about connecting Claude to a data catalog or context layer

1. What is an MCP server for a data catalog or context layer?


An MCP server exposes what a data catalog or context layer knows, such as definitions, owners, certification, and lineage, as tools, resources, and prompts. Claude and Claude Code call those tools when a question needs that context.

2. Can Claude on the web or mobile use a local MCP server?


No. Claude on the web and on mobile uses remote connectors. Local MCP servers run as desktop extensions in the Claude desktop app, as stdio servers in Claude Code, and in Cowork sessions that run on your computer.

3. Do connectors added in claude.ai also work in Claude Code?


Yes. When you sign in to Claude Code with your claude.ai account, the connectors you added in claude.ai appear in Claude Code, marked as coming from claude.ai. They do not load when Claude Code runs on an API key or a third-party cloud provider.

4. How are Atlan’s access policies enforced when Claude calls Atlan?


Atlan checks every call against the signed-in person’s permissions. With OAuth, each Atlan MCP tool call runs with that person’s identity, so the same persona, role, and domain policies that govern the Atlan UI apply to Claude.

5. Can Claude write back to Atlan?


Yes. By default Atlan MCP exposes read and write tools, such as update_assets and add_atlan_tags, and write tools show a preview and wait for approval before changing anything. To stop writes for the whole tenant, ask Atlan support for read-only mode, which turns off every write, admin, and lifecycle tool and keeps search and lineage.

6. Should you use OAuth or an API key to connect Claude to a catalog?


Use OAuth for people. Each person signs in, and every call is attributed to them with their own permissions. Use an API token for automation; in Atlan it acts as one service identity scoped to exactly one persona.


Sources

  1. Streamable HTTP, Model Context Protocol specification (2026-07-28)
  2. Authorization, Model Context Protocol specification (2026-07-28)
  3. Get started with connectors, Claude Docs
  4. Connectors directory, Claude Docs
  5. Add a connector that isn’t in the directory, Claude Docs
  6. Build a desktop extension with MCPB, Claude Docs
  7. Model Context Protocol (MCP), Claude Docs
  8. Plugins, Claude Docs
  9. Connect Claude Code to tools via MCP, Claude Code Docs
  10. Get started with custom connectors using remote MCP, Claude Help Center
  11. Manage plugins, skills, and connectors from one Plugins page, Claude Help Center
  12. Getting started with local MCP servers on Claude Desktop, Claude Help Center
  13. Set up Atlan MCP, Atlan Documentation
  14. Atlan MCP tools, Atlan Documentation
  15. Atlan MCP security, Atlan Documentation
Kovid Rathee

Written by

Kovid Rathee, Head of Solution Architecture, Data & AI, Nexifi

14+ years across data engineering, DevOps and cloud engineering, and agentic data engineering

Published 16 Nov 2026, updated 16 Nov 2026

Bridge the context gap.
Ship AI that works.