# Overview (/docs)

Connect to the Quartr Pro MCP server from any MCP-compatible client and sign in
with your Quartr account. There is no API key to manage.

<Callout title="Quartr Pro required">
  A [Quartr Pro subscription](https://quartr.com/products/quartr-pro) is
  required. Student plans are not eligible.
</Callout>

The MCP server is for individual subscribers doing their own research
workflows. If you are building a product or integration on top of Quartr data,
use the [Quartr Public API](https://quartr.com/docs) instead. It is designed for
teams and programmatic access.

## Connection details

| Setting        | Value                                                                                                                                                                    |
| -------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Server URL     | `https://mcp.quartr.com/mcp`                                                                                                                                             |
| Transport type | Streamable HTTP (also listed as “Streaming HTTP” or “HTTP”), with JSON responses                                                                                         |
| Sessions       | Stateless, no session ID required                                                                                                                                        |
| Authentication | OAuth 2.1 with PKCE. Clients identify with a [Client ID Metadata Document](#client-id-metadata-documents) or [dynamic client registration](#dynamic-client-registration) |

## Connect a client

### Anthropic Marketplace

Search for **Quartr** in the
[Anthropic Marketplace](https://www.anthropic.com/partners/mcp) to install the
integration directly.

### ChatGPT App Store

Search for **Quartr** in the [ChatGPT App Store](https://chatgpt.com/apps) to
install the integration directly.

### Microsoft 365 Copilot

Quartr is available in Microsoft 365 Copilot in two ways. Both ask you to sign
in with your Quartr account on first use, and both are controlled by your
Microsoft 365 admin.

#### Quartr agent

A dedicated agent you open or @-mention for Quartr research.

- Install **Quartr** from the
  [Microsoft Marketplace](https://marketplace.microsoft.com/en-us/product/WA200011337?tab=Overview),
  or open **Agents → Get agents** in Microsoft 365 Copilot or Teams and search
  for **Quartr**.
- Admins: allow the **Quartr** app in the
  [Teams admin center](https://admin.teams.microsoft.com) under **Teams apps →
  Manage apps**.

#### Quartr connector

A data source Copilot uses in its regular answers, without opening the agent.
Works in Copilot Chat, Researcher, Copilot in Excel, and Copilot Cowork.

- Copilot Chat: **Settings → Sources**, then **Connect** on Quartr.
- Researcher: the **Sources** menu.
- Cowork: **Sources & Skills → Plugins**.
- Admins: enable **Quartr** in the
  [Microsoft 365 admin center](https://admin.microsoft.com) under **Copilot
  connectors → Your connections**.

### Perplexity

In Perplexity, go to **Settings → Connectors → Add connector**, select
**Advanced**, and add the server URL:

```text
https://mcp.quartr.com/mcp
```

### Claude Desktop

Install Quartr from the Anthropic Marketplace as above, or add it as a custom
connector: go to **Settings → Connectors → Add custom connector** and enter the
server URL:

```text
https://mcp.quartr.com/mcp
```

Leave the OAuth client ID and secret fields empty. Claude signs in with your
Quartr account the first time you use the connector.

### Claude Code

Add the server, then sign in with your Quartr account:

```sh
claude mcp add --transport http quartr https://mcp.quartr.com/mcp --scope user
claude mcp login quartr
```

Alternatively, start `claude`, run `/mcp`, select **quartr**, and choose
**Authenticate**.

### Codex

Add the server, then sign in with your Quartr account:

```sh
codex mcp add quartr --url https://mcp.quartr.com/mcp
codex mcp login quartr
```

Inside a Codex session, `/mcp` shows whether the server is connected and
authenticated.

### Other MCP clients

Any MCP client that supports the **Streamable HTTP transport** can connect to
`https://mcp.quartr.com/mcp`. Configure it as an HTTP MCP server in your client
of choice. OAuth sign-in starts automatically on first connection. See
[Connection details](#connection-details) if your client asks for more.

## Authentication

The server is its own OAuth 2.1 authorization server and follows the
[MCP authorization spec](https://modelcontextprotocol.io/specification/2025-11-25/basic/authorization).
You never handle an API key: on first connection your MCP client will:

<Steps>
  <Step>
    Identify itself with a Client ID Metadata Document, or fall back to dynamic
    client registration.
  </Step>
  <Step>
    Open a browser where you approve access and sign in with your Quartr
    account.
  </Step>
  <Step>
    Receive tokens scoped to `mcp:tools`, or `mcp:read` for a read-only
    connection.
  </Step>
</Steps>

Every request to `/mcp` needs a valid `Bearer` access token. Clients refresh it
with the refresh token, and can revoke either at `/oauth/revoke` (RFC 7009).
Revoking a refresh token also revokes its access token.

### Read-only access

To connect without write access, tick **Read-only access** on the consent
screen, or have your client request the `mcp:read` scope. Read-only connections
only see the tools marked Read-only, so the AI can't create, change, or delete
watchlists, keywords, saved items, workspaces, or search filters.

### Endpoints

Clients discover everything from the metadata documents, so you rarely need
these directly:

| Endpoint                                 | URL                                                             |
| ---------------------------------------- | --------------------------------------------------------------- |
| Protected resource metadata (RFC 9728)   | `https://mcp.quartr.com/.well-known/oauth-protected-resource`   |
| Authorization server metadata (RFC 8414) | `https://mcp.quartr.com/.well-known/oauth-authorization-server` |
| Authorization                            | `https://mcp.quartr.com/oauth/authorize`                        |
| Token                                    | `https://mcp.quartr.com/oauth/token`                            |
| Revocation (RFC 7009)                    | `https://mcp.quartr.com/oauth/revoke`                           |
| Dynamic client registration (RFC 7591)   | `https://mcp.quartr.com/oauth/register`                         |

All clients are public clients: token endpoint authentication is `none`, grants
are `authorization_code` and `refresh_token`, and PKCE with `S256` is required.

### Client ID Metadata Documents

Client ID Metadata Documents (CIMD) are the preferred way for a client to
identify itself. Instead of registering, the client uses an HTTPS URL as its
`client_id`, and the server fetches that URL to read the client's name and
redirect URIs. The server advertises support with
`client_id_metadata_document_supported: true` in its authorization server
metadata. See
[draft-ietf-oauth-client-id-metadata-document](https://datatracker.ietf.org/doc/draft-ietf-oauth-client-id-metadata-document/).

Host a JSON document like this, and pass its URL as `client_id`:

```json title="https://app.example.com/oauth/client-metadata.json"
{
  "client_id": "https://app.example.com/oauth/client-metadata.json",
  "client_name": "Example Research Assistant",
  "redirect_uris": ["https://app.example.com/oauth/callback"]
}
```

The server accepts the document when:

- The `client_id` URL uses `https`, has a path, and has no query string or
  fragment
- The `client_id` inside the document is exactly that URL
- It lists at least one entry in `redirect_uris`, and the `redirect_uri` in the
  authorization request matches one of them
- It is served without redirects, within 5 seconds, and is under 5 KB
- The `client_id` host and the redirect URI host are on Quartr's allowlist.
  Loopback redirect URIs (`localhost`, `127.0.0.1`, `[::1]`) are always allowed

The server caches the document for the `Cache-Control` `max-age` it was served
with, clamped between 5 minutes and 24 hours. Changes to the document can take
that long to apply.

<Callout title="Allowlisted domains only">
  To get a domain added to the allowlist, [contact
  us](https://quartr.com/contact).
</Callout>

### Dynamic client registration

Clients without CIMD support can register with a `POST` to `/oauth/register`
(RFC 7591) and use the returned `client_id`. The same redirect URI allowlist
applies. Registering again with the same client name and redirect URIs returns
the existing `client_id`.

## Rate limits

Requests are rate-limited per user, at two levels:

| Scope | Limit |
| --- | --- |
| Per tool | 20–100 requests per minute, shown on each tool |
| All tools combined | 100 requests per minute |
|  | 2,250 requests per hour |
|  | 8,500 requests per day |

If you exceed a combined limit, you will receive a `429` response with a
`Retry-After` header indicating when to retry. If you exceed a per-tool limit,
the tool call returns an error result with `error: "rate_limited"` and
`retryAfterSeconds`.

Rejected requests do not count toward the hourly or daily limits, so a brief
burst clears within a minute rather than triggering a longer lockout.
