# MCP server

One address, the tools of every endpoint, with or without a key.

MillionShort runs a hosted [Model Context Protocol](https://modelcontextprotocol.io) server. Point an MCP client at one address and the agent can search our own independent index: the web, plus news, discussions, podcasts, academic and other specialist sources. There is nothing to install.

## The address

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

The server speaks streamable HTTP. It keeps no session: every request is checked and answered on its own.

## With a key or without

| Mode | How | What the agent gets |
|---|---|---|
| **API key** | Send `Authorization: Bearer ms-YOUR_API_KEY` | Every tool, with your plan's limits. Calls are charged to your credits at the same rate as the API. |
| **No key** | Send no `Authorization` header | `search` and `list_sources` (source names only). One source and up to 5 results per search, no `explain`. 10 free searches a day per visitor, at most 5 in a minute. |

The no-key mode is meant for trying the server and for chat assistants that have no way to send a key. It gives 10 searches a day; a free key gives more. A visitor is the address the connection comes from (for IPv6, its /64 network), and a day is a UTC day.

Every answer to a no-key search says how many searches are left today: `allowance.searches_left_today` (and `allowance.searches_per_day`) in the structured answer, and a last line of the text. When the 10 are used up, `search` returns the error "10 free searches a day without a key; get a free key at" followed by the address of the [dashboard](https://millionshort.com/app/), where a key is free. Past 5 in a minute, it says how many seconds to wait. All callers without a key also share a daily total; when that is used up, `search` says so.



Signing in through the client (OAuth) is not available yet.

Get a key in the [dashboard](https://millionshort.com/app/). [Authentication](https://millionshort.com/docs/authentication) covers keys in full.

## Tools

| Tool | What it does | Without a key |
|---|---|---|
| `search` | Searches MillionShort's own independent index: the web, plus news, discussions, podcasts, academic and other specialist sources. Returns ranked results with title, URL, site, date, snippet, a popularity band, how visits to the site are moving, where it is popular and what it is built with. What sets it apart is control over which sites and pages come back: - Popularity: remove the N most popular sites to reach lesser-known ones (remove_top_sites), keep only them (only_top_sites), or pick popularity bands (popularity_buckets). - Domains: only (include_domains), block (exclude_domains), boost or bury. - Page types (formats such as tutorials, documentation, forums, listicles) and topics: keep only, exclude, boost or bury. - Site signals: sites with rising or falling visits (traffic_trend), sites popular in a country (popular_in), sites built with a given technology (site_tech), no risky sites (exclude_risky). - Date (start_date, end_date, time_range), language and country. - More text per result: highlights, the passages that answer the query (max_highlights), and the text of the page itself (include_content). A filter that a source cannot apply is reported in a note, never dropped silently; list_sources says which filters each source applies. | Yes, with smaller limits |
| `get_domain_info` | Returns the popularity rank and band, and the risk level and categories, for up to 25 domains. | No |
| `list_sources` | Lists the sources the search tool accepts, with a one-line description of each, how often new material arrives in it and which search filters it applies. Also lists the page types, topics, traffic trends and popularity bands. | Yes, with smaller limits |

These three tools only read. Each carries a `title` and the annotations `readOnlyHint: true`, `destructiveHint: false`, `idempotentHint: true`, `openWorldHint: true`, so a client can allow them without asking each time.

The other endpoints have tools too, each described with its endpoint: [`extract`](https://millionshort.com/docs/extract/parameters#over-mcp), [`list_monitor_events`](https://millionshort.com/docs/monitor/parameters), and below, [Map and Crawl](#map-and-crawl), [Spaces](#spaces) and [Places](#places).

### search

| Argument | Type | Default | Notes |
|---|---|---|---|
| `query` | string, 1 to 400 characters |  | Required. What to search for. |
| `sources` | array of `web`, `news`, `smallweb`, `discussions`, `hn`, `social`, `communities`, `podcasts`, `academic`, `medical`, `law`, `finance`, `contracts`, 1 to 5 items | `["web"]` | Sources to search, up to 5. list_sources describes each one. |
| `num_results` | integer, 1 to 50 | `10` | How many results to return (1 to 50). |
| `remove_top_sites` | integer, 0 to 1,000,000 |  | Remove results from the N most popular sites, for example 1000 or 100000. Cannot be combined with only_top_sites. |
| `only_top_sites` | integer, 0 to 1,000,000 |  | Keep only results from the N most popular sites. Cannot be combined with remove_top_sites. |
| `include_domains` | array of strings (each 1 to 253 characters), up to 25 |  | Return results from these domains only. |
| `exclude_domains` | array of strings (each 1 to 253 characters), up to 25 |  | Never return results from these domains. |
| `boost_domains` | array of strings (each 1 to 253 characters), up to 25 |  | Rank results from these domains higher. |
| `bury_domains` | array of strings (each 1 to 253 characters), up to 25 |  | Rank results from these domains lower. |
| `only_domains` | array of strings (each 1 to 253 characters), up to 25 |  | Another name for include_domains, for example ["example.org"]. Both lists are merged. |
| `block_domains` | array of strings (each 1 to 253 characters), up to 25 |  | Another name for exclude_domains, for example ["example.com"]. Both lists are merged. |
| `page_types` | array of `research`, `directories`, `creative-writing`, `support`, `comments`, `faqs`, `reference`, `legal`, `listicles`, `news`, `articles`, `companies`, `press-releases`, `profiles`, `blogs`, `products`, `forums`, `spam`, `data`, `documentation`, `transcripts`, `tutorials`, `reviews`, up to 23 |  | Keep only these page types (formats), for example ["tutorials", "documentation"]. Applied by web and news. |
| `exclude_page_types` | array of `research`, `directories`, `creative-writing`, `support`, `comments`, `faqs`, `reference`, `legal`, `listicles`, `news`, `articles`, `companies`, `press-releases`, `profiles`, `blogs`, `products`, `forums`, `spam`, `data`, `documentation`, `transcripts`, `tutorials`, `reviews`, up to 23 |  | Never return these page types, for example ["listicles", "spam"]. |
| `boost_page_types` | array of `research`, `directories`, `creative-writing`, `support`, `comments`, `faqs`, `reference`, `legal`, `listicles`, `news`, `articles`, `companies`, `press-releases`, `profiles`, `blogs`, `products`, `forums`, `spam`, `data`, `documentation`, `transcripts`, `tutorials`, `reviews`, up to 23 |  | Rank these page types higher, for example ["documentation"]. |
| `bury_page_types` | array of `research`, `directories`, `creative-writing`, `support`, `comments`, `faqs`, `reference`, `legal`, `listicles`, `news`, `articles`, `companies`, `press-releases`, `profiles`, `blogs`, `products`, `forums`, `spam`, `data`, `documentation`, `transcripts`, `tutorials`, `reviews`, up to 23 |  | Rank these page types lower, for example ["forums"]. |
| `topics` | array of `adult`, `art`, `programming`, `law`, `education`, `hardware`, `entertainment`, `social-life`, `fashion`, `business`, `food`, `games`, `health`, `history`, `home`, `industry`, `literature`, `politics`, `religion`, `science`, `software`, `sports`, `transport`, `travel`, up to 24 |  | Keep only these topics, for example ["science", "health"]. Applied by web and news. |
| `exclude_topics` | array of `adult`, `art`, `programming`, `law`, `education`, `hardware`, `entertainment`, `social-life`, `fashion`, `business`, `food`, `games`, `health`, `history`, `home`, `industry`, `literature`, `politics`, `religion`, `science`, `software`, `sports`, `transport`, `travel`, up to 24 |  | Never return these topics, for example ["adult"]. |
| `boost_topics` | array of `adult`, `art`, `programming`, `law`, `education`, `hardware`, `entertainment`, `social-life`, `fashion`, `business`, `food`, `games`, `health`, `history`, `home`, `industry`, `literature`, `politics`, `religion`, `science`, `software`, `sports`, `transport`, `travel`, up to 24 |  | Rank these topics higher, for example ["programming"]. |
| `bury_topics` | array of `adult`, `art`, `programming`, `law`, `education`, `hardware`, `entertainment`, `social-life`, `fashion`, `business`, `food`, `games`, `health`, `history`, `home`, `industry`, `literature`, `politics`, `religion`, `science`, `software`, `sports`, `transport`, `travel`, up to 24 |  | Rank these topics lower, for example ["entertainment"]. |
| `popularity_buckets` | array of `top-100`, `top-1k`, `top-10k`, `top-100k`, `top-1m`, `long-tail`, up to 6 |  | Keep only results whose site is in one of these popularity bands, for example ["long-tail", "top-1m"]. long-tail is outside the 1,000,000 most popular sites. |
| `traffic_trend` | array of `rising`, `spiking`, `steady`, `falling`, `dropped`, `new`, up to 6 |  | Keep only results whose site has visits moving this way, for example ["rising", "spiking"]. rising: growing. spiking: jumped sharply in the last days. steady: no clear change. falling: shrinking. dropped: fell sharply in the last days. new: the site appeared recently. Few sites are moving at any one time, so expect fewer results. |
| `popular_in` | array of strings (each 2 to 2 characters), up to 10 |  | Keep only results whose site is popular in any of these countries (two-letter codes), for example ["DE", "AT"]. |
| `site_tech` | array of strings (each 1 to 40 characters), up to 10 |  | Keep only results whose site is built with any of these, for example ["wordpress", "woocommerce"]. Upper and lower case are the same. Each result lists what its site is built with. |
| `exclude_risky` | boolean | `false` | Drop results whose site carries a risk label, for example true. |
| `start_date` | string |  | Results published on or after this day (YYYY-MM-DD), for example "2026-01-01". Applied by sources that carry dates; web pages carry none. |
| `end_date` | string |  | Results published on or before this day (YYYY-MM-DD), for example "2026-06-30". |
| `time_range` | `day`, `week`, `month`, `year` |  | The last 1, 7, 30 or 365 days, for example "week". Cannot be combined with start_date or end_date. |
| `language` | string, 2 to 2 characters |  | Results in this language (two-letter code), for example "de". Web results store no language: theirs is detected from the text. |
| `country` | string, 2 to 2 characters |  | Results from this country (two-letter code), for example "GB". For web and news: sites with the domain ending of that country. |
| `max_highlights` | integer, 0 to 5 | `0` | Return up to this many passages per result that answer the query most directly, for example 3. |
| `highlight_characters` | integer, 100 to 600 | `300` | Target length of one highlight, in characters, for example 200. Needs max_highlights. |
| `safe_search` | `off`, `moderate`, `strict` | `"moderate"` | Adult-content filter. |
| `max_chars_per_result` | integer, 0 to 2,000 | `800` | Longest snippet per result, in characters. |
| `include_content` | boolean | `false` | Add the text of each page to its result, for example true. It is the copy already held, with the dates it was captured between; the site is not contacted. For web and news results. Each result that comes back with its text adds to the cost of the call. Needs a key. |
| `max_characters` | integer, 500 to 50,000 | `10000` | Longest page text per result, in characters, for example 4000. Needs include_content. One answer holds at most 60,000 characters of page text, shared by its results, so this is lowered to fit when num_results is large. Needs a key. |
| `explain` | boolean | `false` | Add a short list of reasons each result matched. Needs a key. |

Without a key, `sources` takes one source, `num_results` goes up to 5 and `explain` is left out. The arguments mean what the same fields mean in the [Search reference](https://millionshort.com/docs/search/parameters).

With [Spaces](#spaces), `search` also takes `space`: a saved scope, by name.

### get_domain_info

| Argument | Type | Default | Notes |
|---|---|---|---|
| `domains` | array of strings (each 1 to 253 characters), 1 to 25 items |  | Required. Domain names, for example ["example.com"]. |

### list_sources

No arguments. With a key it returns the sources with a one-line description of each, and the page types and topics that `search` accepts. Without a key it returns the names of the sources only.

## Filters your agent can use

The `search` tool is not only a query box. With a key, it takes the filters that set this search apart, under the same names as the API:

| Argument | What the agent can ask for |
|---|---|
| `remove_top_sites` | The web without its N most popular sites, to reach specialist and first-hand pages |
| `only_top_sites` | Only the N most popular sites: the mainstream view |
| `boost_domains`, `bury_domains` | Named sites first, or last |
| `exclude_domains`, `include_domains` | Named sites removed, or searched alone |
| `page_types` | Kinds of page: forums, comments, tutorials, documentation, reviews, research and others, 23 in all. Acts on `web` and `news` results |
| `topics` | Subjects: programming, health, business, food and others, 24 in all. Acts on `web` and `news` results |
| `exclude_page_types`, `exclude_topics`, and the `boost_` and `bury_` forms | Kinds of page or subjects left out, moved ahead or moved to the end |
| `start_date`, `end_date`, `time_range`, `language`, `country` | Dates, language and country, on the sources that carry them. Web pages have no date, so a date filter is not applied to `web`, and the answer says so |
| `popularity_buckets`, `traffic_trend`, `popular_in`, `site_tech`, `exclude_risky` | Sites by popularity bucket, by how their visits are moving, by the countries they are popular in, by what they are built with, or without the ones that carry a risk label |
| `max_highlights` | The passages of each result that best answer the query |
| `include_content` | The text of the page as we hold it, on `web` and `news` results. It needs a key and adds 1 credit to the call for up to 10 results that come back with text |
| `safe_search` | `off`, `moderate` or `strict` |

Every result also says how popular its site is, and `get_domain_info` returns popularity and risk for any site. `list_sources` returns the page types and topics.

Models do not reach for these unless told to. Add a few lines to your agent's instructions; [Filters for agents](https://millionshort.com/docs/search/filters#what-to-tell-your-agent) has a block to paste, and recipes such as long-tail forum discussions on a topic with no product pages.

## Map and Crawl

Four tools let an agent find the pages of a site and read them. All four need a key: there is no no-key mode for them. A tool call costs what the API call behind it costs.

| Tool | What the agent can do | Cost |
|---|---|---|
| `map` | List the URLs of a site, or find one page inside it | 1 credit per 10 URLs returned |
| `crawl` | Start a crawl of a site and get a job back | 1 credit a page that comes back, in `live` |
| `crawl_status` | Read a crawl's progress and a page of its results | Free |
| `crawl_cancel` | Stop a crawl | Free |

### map

Lists the URLs of a site from its sitemaps, the links of the page named and our own index. It only reads. The arguments are the fields of a [Map request](https://millionshort.com/docs/map/parameters#request): `url`, `search`, `limit`, `include_subdomains`, `include`, `exclude` and `sources`. Over MCP, `limit` is 100 when left out and at most 1,000 (the API's own default is 500 and its maximum 5,000), so that the list fits what a model can read. A map that fails or finds nothing is free.

### crawl

Starts a crawl and returns the job at once, with its id. It takes these fields of a [crawl request](https://millionshort.com/docs/crawl/parameters#request) and no others: `url`, `max_pages`, `max_depth`, `include`, `exclude`, `same_domain`, `include_subdomains`, `sitemap`, `mode`, `topics`, `page_types`, `source_hints` and `remove_top_sites`. Pages always come back as Markdown. `formats`, `max_chars`, `json` and `webhook_id` are for the API and the SDKs. The price of `max_pages` pages is held when the crawl starts, and what it does not use is handed back. robots.txt is always honoured, and every page carries its [labels](https://millionshort.com/docs/extract/labels).

### crawl_status

Takes `crawl_id` and returns the crawl's `status`, its counts, and the pages finished so far, each as text with its labels: up to 50 pages and 60,000 characters of text a call. `max_chars` sets the longest text per page (5,000 when left out, at most 50,000; 0 lists the pages without text). When there are more results, it returns `next` to pass as `cursor` on the next call. While the crawl runs, `next` is where to carry on from once any page has been read, even when nothing more is there yet, so pages already read are not sent again. Free.

### crawl_cancel

Takes `crawl_id` and stops the crawl. It is marked as a destructive tool, so a client can ask before calling it: a cancelled crawl cannot be resumed. The pages that came back are kept and stay charged. The rest of the hold is handed back.

A line for your agent's instructions: "To find one page of a known site, call `map` with `search`. To read a section of a site, call `crawl` with a small `max_pages`, then `crawl_status` every few seconds until the crawl has ended. Each page costs a credit."

A crawl reads one site at about 30 pages a minute. A small crawl ends in minutes; a large one takes hours, so an agent should not wait on it in one turn.

## Spaces

A [Space](https://millionshort.com/docs/search/spaces) is a saved scope for search: sites, a popularity cut, page types, topics, a lens and site filters under one name. Over MCP an agent can find one, make one, and search with one. Spaces are free; a search with a Space costs what the search costs.

| Tool or argument | What the agent can do | Without a key |
|---|---|---|
| `list_spaces` | See the Spaces it can search with | Yes: the curated Spaces |
| `create_space` | Save a scope under a name | No |
| `space` on `search` | Search with a Space | Yes, with a curated Space |

### list_spaces

Lists Spaces. It only reads. With a key it returns your team's Spaces and the curated ones, which are ours and the same ones the MillionShort search site offers. Without a key it returns the curated Spaces.

### create_space

Saves a Space and returns it with its slug. It needs a key, and it is the one tool that writes: it stores a Space for your team and changes nothing else. It takes a name and the settings of a [Space](https://millionshort.com/docs/spaces#the-space-object): the sites and whether to search inside them or prefer them, the popularity cut, page types and topics to keep or leave out, a lens, site filters, default sources and safe search. The number of Spaces a team can keep depends on its plan.

### space on search

Pass `space` to the `search` tool: an id, a slug of your team, or `curated:` and the slug of a curated Space. An argument the agent sends with the same call replaces the Space's value for that setting, and everything else comes from the Space. Without a key, `space` takes a curated Space, and the no-key limits stay: one source and up to 5 results, and the first 20 sites of a Space that searches inside a list.

A line for your agent's instructions: "To search a subject area, call `list_spaces` and pass the slug of a fitting Space as `space`; send your own filters only to step outside it."

## Places

Two tools find businesses and points of interest with [Places](https://millionshort.com/docs/places).

### places

Finds businesses and points of interest by what they are and where they are, and returns them as data: name, category, address, coordinates, distance, phone number and website. It only reads. The arguments are the fields of a [Places request](https://millionshort.com/docs/places/parameters#request):

| Arguments | Example |
|---|---|
| What: `query`, `category`, `brand` | `"query": "bike repair"`, `"category": "Coffee shop"`, `"brand": "Tim Hortons"` |
| Where, one of: `near`, `lat` with `lng`, `bbox`, `ip`, `near_me`, `neighbourhood` | `"near": "Leslieville, Toronto"`, `"near_me": true` |
| Narrowing: `city`, `region`, `country`, `radius_m`, `exclude_category`, `has_phone`, `has_website`, `has_hours`, `open_now` | `"city": "Austin", "region": "TX"`, `"has_phone": true` |
| Shaping: `sort`, `fields`, `limit` | `"sort": "distance"`, `"fields": ["name", "address", "phone"]` |

Over the hosted server, `near_me` means the machine the agent's MCP client runs on, placed in a city by its address. The address is used to look up that city and then dropped. Every filter works worldwide; place names, neighbourhoods and everyday trade words are read best in Canada and the United States, and opening hours are known for few places. [Which filters work where](https://millionshort.com/docs/places/parameters#which-filters-work-where) has the table.

| | With a key | Without a key |
|---|---|---|
| Places per call | up to 50 | up to 5 |
| Cost | what the API call costs: 1 credit for up to 10 places | free |
| Allowance | your plan's limits | one of the visitor's 10 free searches of the day, at most 5 in a minute |

Without a key, a places search and a web search spend the same daily allowance. The answer carries the credit line of the data, `attribution`; an agent that shows the places to a person should show it too.

A line for your agent's instructions: "To find a business or somewhere nearby, call `places` with what you are looking for as `query` and the location as `near`, or as `lat` and `lng` when you have coordinates. Never put the location in `query`. When the kind of place matters, look its id up with `list_place_categories` and send it as `category`."

### list_place_categories

Lists the categories a place can be filed under, so an agent can find the ids `category` and `exclude_category` take. It only reads. Arguments: `query`, words the category's id must hold (`"query": "sushi"`), and `parent`, a category id whose direct children to list (`"parent": "italian_restaurant"`). Each entry has `id`, `label` and `parent`. A long list is cut short in the text, and says how many more there are.

It is free with a key. Without a key it also works, and it does not spend the 10 free searches of the day.

## Agent

[Agent](https://millionshort.com/docs/agent) works over MCP as it does on the API, at the same prices and with the same per-run caps.

An agent can hand a research question to a run and collect a cited answer. A run takes from a few seconds to a few minutes, so it is three tools, not one: start, ask how it is going, read the result.

| Tool | What the agent can do | Without a key |
|---|---|---|
| `start_agent` | Start a run and get its `id` | No |
| `get_agent` | See the run's status and progress | No |
| `get_agent_results` | Read the answer, the citations and the quotes | No |

All three need a key, because a run spends credits.

### start_agent

Starts a run and returns its `id`, `status`, `processor`, `model` and the `max_credits` held for it. It is not a read-only tool: it starts work that is charged to your credits, so a client may ask before each call. It changes nothing else.

| Argument | Type | Default | Notes |
|---|---|---|---|
| `prompt` | string, 3 to 4,000 characters |  | Required. The question. Example: "Which Canadian provinces changed their minimum wage in 2026, and to what?". |
| `urls` | array of strings (each 8 to 2,048 characters), 1 to 10 items |  | Pages to read first: absolute http or https URLs. Example: ["https://example.org/report"]. |
| `schema` | object |  | A JSON Schema with "type": "object" and "properties". The answer then comes back as "output" in this shape, with the citations of each field. Example: {"type": "object", "properties": {"founded": {"type": "integer"} } }. |
| `sources` | array of `web`, `news`, `smallweb`, `discussions`, `hn`, `social`, `communities`, `podcasts`, `academic`, `medical`, `law`, `finance`, `contracts`, 1 to 13 items |  | The sources the run may search. Left out, the run picks among all of them. list_sources describes each one. Example: ["web", "news"]. |
| `remove_top_sites` | integer, 0 to 1,000,000 |  | Removes the N most popular sites from every search of the run. Example: 1000. |
| `include_domains` | array of strings (each 1 to 253 characters), up to 20 |  | Search only these sites. Example: ["canada.ca"]. |
| `exclude_domains` | array of strings (each 1 to 253 characters), up to 50 |  | Leave these sites out of every search. Example: ["pinterest.com"]. |
| `start_date` | string |  | Only results from this day on, as YYYY-MM-DD. Example: "2026-01-01". |
| `processor` | `lite`, `standard`, `pro` | `"standard"` | How much work the run may do; a ceiling on work, not a price. lite: up to 3 searches and 6 pages. standard: up to 6 searches and 12 pages, a check for what is missing, and a second pass over every citation. pro: up to 12 searches and 24 pages, and the answer is written on the balanced tier. Example: "lite". |
| `model` | `auto`, `fast`, `balanced`, `best` | `"auto"` | The model that writes the answer, by tier: fast (the quickest and the cheapest), balanced (a larger model, 20× the token price) or best (the largest, 40×). auto is the processor's own: fast on lite and standard, balanced on pro. Example: "auto". |
| `max_credits` | integer, 10 to 100,000 |  | The most the run may cost. Held when the run starts; what is not used is handed back. Left out: 40, 120 or 1500 by processor, cut to the plan's per-run cap. A cap above the plan's is refused (Free 200, Starter 1,000, Growth 2,500, Scale 5,000, Business 10,000). Example: 60. |

The arguments mean what the same fields mean in an [Agent request](https://millionshort.com/docs/agent/parameters#request). `webhook_id` and the `Idempotency-Key` header are on the API only. With [Spaces](#spaces), the tool also takes `space`.

A run is metered: 1 credit for each source of each search (and 1 more when results come with their page text), 0.25 or 0.5 for each page, and the model's tokens, with at least 5 credits a run and never more than `max_credits`, which is at most your plan's per-run cap (Free 200, Starter 1,000, Growth 2,500, Scale 5,000, Business 10,000, Enterprise by agreement). A failed run is free. [Agent pricing and limits](https://millionshort.com/docs/agent/pricing) has the table.

### get_agent

Takes the `id` and returns the run's `status`, the step it is on, the searches made, the pages read and the credits so far. `ended` is `true` once the run has ended, and the answer then says why it stopped and what it was charged. It only reads, and it is free.

### get_agent_results

Takes the `id` and returns the result: `answer` with its `[n]` markers, `citations` (each with the page and the quote that supports the statement), `sources`, `uncited_removed`, and what the run was charged, line by line. With a `schema` it returns `output`, `field_citations` and `uncited_fields`. While the run is going, `ready` is `false`: call again in a few seconds. It only reads, and it is free.

The answer and the quotes come from web pages. They are data for your agent to weigh, not instructions for it to follow.

A line for your agent's instructions: "For a question that needs research across several pages, call `start_agent` with a `max_credits`, then `get_agent` every few seconds until `ended` is true, then `get_agent_results`. Give the citations with the answer." [Agent guides](https://millionshort.com/docs/agent/guides#use-it-from-an-agent-over-mcp) has the calls.

## What a result looks like

A result comes back twice: as short numbered text for the model to read, and as `structuredContent` that matches the tool's output schema.

```text
2 results for "tide tables":

1. Tide tables for the north coast
   https://example.org/tides
   example.org | 2026-03-04 | popularity: top-100k
   Daily high and low water times for every harbour on the north coast.

2. ...
```

## Set up a client

### Claude Code

With your key:

```bash
claude mcp add --transport http millionshort https://mcp.millionshort.com/mcp \
  --header "Authorization: Bearer ms-YOUR_API_KEY"
```

Without a key:

```bash
claude mcp add --transport http millionshort https://mcp.millionshort.com/mcp
```



### Claude (web and desktop apps)

Add the server as a custom connector: open **Customize**, **Connectors**, **+ Add**, **Add custom connector**, and enter the name `MillionShort` and the address above. Under **Authentication** choose **No sign in**. Under **Request headers**, add `Authorization` with the value `Bearer ms-YOUR_API_KEY` for every tool; leave it empty for the no-key mode. The [Claude page](https://millionshort.com/docs/integrations/claude) has the details.



### Cursor

Add the server to `.cursor/mcp.json` in your project, or to `~/.cursor/mcp.json` for every project:

```json
{
  "mcpServers": {
    "millionshort": {
      "url": "https://mcp.millionshort.com/mcp",
      "headers": { "Authorization": "Bearer ms-YOUR_API_KEY" }
    }
  }
}
```

### ChatGPT

On chatgpt.com, go to **chatgpt.com/plugins**, press **+**, **Add custom MCP server**, enter the address above, choose **No authentication**, and **Create as a plugin**. The [ChatGPT page](https://millionshort.com/docs/integrations/chatgpt) has the details.

ChatGPT cannot send an API key, so it connects in the no-key mode, with `search` and `list_sources` at the no-key limits.



The names of these menus change between releases of each app. If a step above does not match what you see, look for "connectors" or "MCP servers" in the app's settings; the address and the choice of no authentication stay the same.

### VS Code

Add the server to `.mcp.json` at the workspace root. VS Code fills in `${MILLIONSHORT_API_KEY}` from the environment; the [VS Code page](https://millionshort.com/docs/integrations/vscode) has the rest.

```json
{
  "mcpServers": {
    "millionshort": {
      "type": "http",
      "url": "https://mcp.millionshort.com/mcp",
      "headers": { "Authorization": "Bearer ${MILLIONSHORT_API_KEY}" },
      "tools": ["*"]
    }
  }
}
```

### Any other client

[Integrations](https://millionshort.com/docs/integrations) has a page for each of more than 40 clients, with its exact file or command. Most take a block like this one. Leave `headers` out to connect without a key.

```json
{
  "mcpServers": {
    "millionshort": {
      "type": "http",
      "url": "https://mcp.millionshort.com/mcp",
      "headers": { "Authorization": "Bearer ms-YOUR_API_KEY" }
    }
  }
}
```

## Check the connection

You can call the server by hand. This lists the tools a caller with no key gets:

```bash
curl https://mcp.millionshort.com/mcp \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{ "jsonrpc": "2.0", "id": 1, "method": "tools/list" }'
```

Add `-H "Authorization: Bearer $MILLIONSHORT_API_KEY"` to see every tool.

| Status | Meaning |
|---|---|
| `200` | A JSON-RPC answer in one JSON body |
| `401` | A key that was refused, or no key on a server whose no-key mode is off |
| `403` | The request came from a web page whose origin is not allowed |
| `405` | `GET` or `DELETE`: the server answers `POST` only |
| `413` | The request body is over 256 KB |
| `429` | Too many requests from one address |

## Run it locally

The same server runs on your own machine over standard input and output, for clients that start their tools as local processes. It is the `millionshort-mcp` command of the `@millionshort/mcp` package. The package is not on the public registry yet; this section applies once it is.

```json
{
  "mcpServers": {
    "millionshort": {
      "command": "millionshort-mcp",
      "env": { "MILLIONSHORT_API_KEY": "ms-YOUR_API_KEY" }
    }
  }
}
```

The local server always needs a key and offers `search`, `get_domain_info` and `list_sources`.

## Privacy

A key is passed to the API for the one request that carries it and is never stored. Queries and caller addresses are not written to the server's log. See the [privacy policy](https://millionshort.com/privacy) and the [terms](https://millionshort.com/terms).
