Surfaces UI in Claude

How to get Surfaces UI into Claude, the ways it can show your data once it is there, and what Claude itself is given along the way. For building Surfaces UI into your own app, start at getting-started.md.

For how it works underneath, with diagrams of each route, the trade-offs, the evidence and the open gaps, see the architecture note: data-boundary.md.

Everything here says what has been seen working and what has not. The dates are when it was last seen.

Pick by what you want to do

You want toUseNeeds
Look at data during a conversation: sort a table, flip a result to a chart, build a quick dashboardInline viewsThe desktop extension, in the Claude desktop app
Keep a page, reopen it later, share it with someoneA live pageThe plugin's artifact-pages skill and a database connector Claude already has
Give a small result to someone with no database accessA page with the rows insideThe plugin's artifact-pages skill
Have Claude analyse the data and tell you what stands outClaude querying your connector, at the level you allowA database connector, and the plugin's setting for how much Claude may read

You can have all of them at once. They do not depend on one another.

Two things to install

The desktop extension: inline views

One file, for the Claude desktop app on a Mac or Windows.

  1. Download surfaces.mcpb from this repository's releases.
  2. Double-click it, or drag it onto the Claude window, and install.
  3. Start a new chat and ask: "Use the surfaces tools to show a chart of the sample retail data."

With nothing filled in it shows six sample datasets. For your own database, open the extension's settings (Settings, Extensions, Surfaces UI) and give two things:

SettingWhat to enter
Your database's MCP serverThe command that starts it, for example uvx teradata-mcp-server
Database URI (connection string)The one line that server signs in with. Its own instructions may call it DATABASE_URI, a connection string or a database URL. For Teradata it starts with teradata://.

The database type is worked out from those two. The connection string is kept in your computer's secure store. Teradata, Postgres, MySQL and DuckDB are supported, each through that database's own MCP server.

Full instructions: packages/mcp/desktop/README.md.

Seen, 29 November 2026, on a Mac: installed by double-click with no Terminal; a chart on the sample data; then, with the two settings filled in, a schema explorer, an explorable result and a dashboard over a real Teradata system, all inline in one chat. Not seen: Windows.

Will it last? Anthropic's directory stopped listing desktop extensions in 2026 and points people to plugins instead. The desktop app still installs an extension you download, which is how this one is given out. Nobody has said that will stay or go. If it went, the plugin and the setup command below reach the same server.

The plugin: skills, pages, and the limit on what Claude reads

For Claude Code and the Code tab of the desktop app. Its skills load in a chat too.

text
/plugin marketplace add teradata-labs/surfaces-ui
/plugin install surfaces-analytics@surfaces-ui

It brings the skills (chart standards, dashboard design, data cleaning, personal data, and artifact-pages, which builds pages) and two settings that matter here:

SettingWhat it does
Use Surfaces UI for dashboardsClaude has a dashboard type of its own and uses it for a plain "make me a dashboard". Turn this on to get Surfaces UI pages instead.
What Claude may read from your dataA ceiling for the session: structure only, summaries or rows. Left at ask, Claude starts from names and types and asks before reading more.

Full instructions: surfaces-analytics.md.

Without the extension: one command

If you would rather not install an extension, this writes the same server into the desktop app's own config, copying the command and the sign-in from a database server the app already has:

bash
npx -y @surfaces-ui/mcp@0.7.0 setup

It prints no sign-in and changes only its own entry. Tested against scratch config files; not yet run on a person's own computer.

The ways to show data

Inline views

Drawn in the conversation by the extension's server. Ask for them in plain words; naming "surfaces" helps when another database connector is also switched on.

Ask forYou get
"Show sales.orders as a grid"A table you can sort, filter and page. Each of those runs in the database, so it works on any size of table.
"Chart revenue by month"A chart, with a text reading and a table of the same numbers.
"Pivot churn by country and gender"A pivot table with totals. The database does the grouping.
"Run this query and let me explore it"A result you can switch between table, chart and pivot, filter, and download.
"Open a SQL editor"An editor with your schema's names, and the result below it.
"Show me what tables there are"A searchable tree of databases, tables and columns.
"Build a dashboard of ..."Several views laid out together: metrics, charts, tables, filters.
"Check the data setup"Where the data comes from and whether the database answered.
"Show the surfaces timing report"How long the views took, how much of that was your database, and how much Surfaces added.

A live page

A Claude artifact that holds the questions, not the answers. Claude writes it from column names. Whoever opens it sees what their own database account allows, fetched through their own connector after they agree.

  • "Use artifact-pages to build a live page of sales.orders."
  • "Build a dashboard on customer churn from my Teradata data."

Seen, 28 November 2026: a grid over a 10,000 row Teradata table, sorted in Teradata, through a Teradata connector on the same computer.

A page with the rows inside

Also a Claude artifact, but the rows are written into it, so anyone it is shared with can read them without database access. Claude has to read those rows to write them, so this is the rows level below. Good for small results.

What Claude is given

Claude is given names, types, descriptions and row counts. Rows travel from the database to your screen by a path Claude is not on.

RouteDo rows pass through Claude?What holds that
Inline viewNoThe server's tools cannot return a value. A test draws marker values through every tool Claude can call and fails if one appears in an answer (packages/mcp/src/rows-stay-out.test.ts).
Live pageNo, when Claude builds it from structureThe page's queries run in the viewer's browser. Claude follows the plugin's level.
Page with rows insideYes, every row shownNothing: that is what the page is for.
Claude querying a connectorYes, whatever it readsThe plugin's setting, which is an instruction Claude follows.

The three levels, set by What Claude may read from your data:

LevelClaude readsYou can ask for
Structure onlyNames, types, descriptions, and query plansAny view or page. You read the result; Claude cannot comment on it.
SummariesGrouped totals, with groups under ten rows removed by the databaseAnalysis and findings. For individual records Claude offers a view for you to open.
RowsRows, no more than the task needsEverything, including a page with rows inside.

This is control, not privacy. The inline route is held by code and a test. The level is an instruction that Claude has followed every time it has been tried, including when asked directly to exceed it, and an instruction is not a lock. For a limit that must hold whatever any software does, set it on the database account Claude signs in with.

Know also that column names and descriptions always reach Claude; that a database's error message can quote a value; and that with the extension and a direct connector both switched on, the same request can be answered either way.

How fast is it

Each sort, filter and page is a new query, so a click costs what the database takes plus a small fixed amount.

Measured once, 29 November 2026: a 2,000,000 row DuckDB table through its MCP server, a page of 100 rows sorted and paged seven ways. Medians: 17 ms in the database itself, about 35 ms more in the database's MCP server, 6 ms added by Surfaces, 58 ms in all.

That is one machine and one database. To measure your own, sort and page a view a few times and ask Claude for "the surfaces timing report". It cannot see the time the Claude app itself takes between the view and the server; compare its total with how long a click feels.

When something does not work

You seeDo this
Claude says the Surfaces tools are not availableThe server did not start. Open Settings, Extensions, Surfaces UI and check it is enabled, then quit and reopen the app. Node.js 22 or later must be installed.
Sample data where you expected your ownAsk Claude to "check the data setup". It says which settings are filled in and what failed.
"The data server could not be reached"The command for your database's MCP server is wrong, or its program is not installed.
A view draws but stays empty in the Code tabThat tab does not let a view fetch its rows (seen 28 November 2026). Use a chat, or a live page.
A dashboard with Claude's own look, not Surfaces UITurn on the plugin's setting "Use Surfaces UI for dashboards", or ask for the artifact-pages skill by name.
A view on a live page shows an errorThe artifact-pages skill has a table of each message and what to do. Ask Claude to fix the page.

The app's own log for the extension is mcp-server-Surfaces UI.log, in ~/Library/Logs/Claude on a Mac. Lines that start [surfaces launcher] say which Node was used and how the server ended.

Not done

  • Windows has not been run, for the extension or the setup command.
  • A database server that signs in with several separate settings (host, user, password) or through a browser is not supported. One connection string only.
  • Snowflake, BigQuery, Databricks, SQL Server and Oracle are not supported.
  • Inline views do not load rows in the desktop app's Code tab. Cowork has not been tried.
  • The level setting has been run in headless sessions, not yet in the desktop app.
  • Nothing has been timed against Teradata.
  • What Claude read has so far been reported by Claude, not checked against a database's own query log.