Bottomlines.ai MCP

A remote MCP server for your Pathfinder reports. Query publishers, apps and seat lines from ChatGPT, Claude, Cursor or any MCP client. Read only, your company only.

https://mcp.bottomlines.ai/mcp
  • 12 tools
  • oauth 2.1
  • streamable http
  • read only
bottomlines mcpexample

>what changed since the last report?

bottomlines changes report=latest

Report 2026-11-16, compared with the crawl of 2026-11-09.

publishers+38−12 removed
apps+21−7 removed
changes.csvlink valid 24 h

Install

Hosted, so there is nothing to download and nothing to run.

Add it once, then /mcp to sign in.

terminal
claude mcp add --transport http bottomlines https://mcp.bottomlines.ai/mcp

The first call opens a browser: enter your work email, type the 6-digit code we send from reports@bottomlines.ai, then select Allow. The client keeps a refresh token, so you sign in once per client.

Verify

Confirm the connection, then the data.

Connection

terminal
claude mcp list

Answers bottomlines: connected. In a chat client the server appears in the connectors list with 12 tools.

First queries

  • What changed since the last report?
  • Which CTV apps carry our DIRECT line?
  • Break down our publishers by ad system.

A correct answer names the report date and the crawl it is compared with, or says it cannot answer.

Tools

Twelve read-only tools. Counts are computed over the whole report, never estimated by the model.

ToolWhat it answers
get_startedWho is signed in, which customers and reports they can open, and what the words mean.
list_reportsThe released reports, newest first, with both crawl dates and headline numbers.
report_overviewOne report's totals: publishers, apps, websites, lines added and removed.
breakdownCounts grouped by ad system, relationship, match type, platform or store.
changesWhat moved since the compared crawl: lines added and removed, publishers gained and lost.
line_coverageHow far one seat line reaches: the publishers and apps carrying it.
tracked_linesThe seat lines this customer asked Bottomlines to watch.
list_publishersPublisher rows, with a download link for the whole list.
list_appsApp and website rows, with a download link for the whole list.
list_partner_declarationsPublishers declaring an inventory partner (INVENTORYPARTNERDOMAIN).
searchFind a publisher, app or line across the reports, for clients that cite their sources.
fetchOpen one search result.

Authentication

OAuth 2.1, the flow every remote MCP client already implements. This server is also the authorization server, at https://mcp.bottomlines.ai.

  1. Discovery

    An unauthenticated call returns 401 with a WWW-Authenticate header naming the resource metadata. The client reads it, finds the authorization server and registers.

  2. Authorization

    A browser opens here. You enter your work email, we send a 6-digit code from reports@bottomlines.ai, and you grant access to that client by name.

  3. Tokens

    The authorization code, bound to the client by PKCE, is exchanged for a 1-hour access token and a 30-day refresh token. The client refreshes on its own, so you sign in once.

EndpointWhat it is
POST /mcpMCP, Streamable HTTP, JSON responses. Bearer token required.
GET /.well-known/oauth-protected-resourceResource metadata (RFC 9728). Where a client starts.
GET /.well-known/oauth-authorization-serverServer metadata (RFC 8414).
POST /registerDynamic client registration (RFC 7591), restricted to known clients and localhost.
GET /authorizeSign-in. PKCE S256 required, redirect address matched exactly.
POST /tokenauthorization_code and refresh_token. Public clients, no secret.
POST /revokeToken revocation (RFC 7009).

Security

The server is public, so it is built to be useless to anyone outside your company.

No anonymous access

Every call is refused until a person has signed in and allowed that client. There is no API key and no unauthenticated read.

Two steps to sign in

A 6-digit code from reports@bottomlines.ai, then an explicit grant naming the client. Personal mail providers are refused.

One list of who is authorised

An address is admitted only when its domain is on your company's list, the same list your report links use. Blocked addresses stay blocked, with or without a +tag.

Short-lived, rotating tokens

Access tokens last one hour. Refresh tokens last 30 days and rotate on every use; replaying an old one ends the connection.

Read only, scoped to you

No tool writes. Answers are scoped to the customers the signed-in address belongs to, rechecked on every call rather than once at sign-in.

Rate limited and logged

Limits per connection, person, address and instance, and one switch that stops the server. Every call is logged for 90 days, never its rows.