Living Signals MCP server#
The Living Signals MCP server gives an AI assistant, or any program that speaks the Model Context Protocol (MCP), access to Living Signals data as a set of tools. It serves the same data as the REST API, under the same access rules.
Three terms appear throughout this page:
- A Claim is one assertion extracted from one news article. It is stored with the article and the source it came from.
- A Signal is a group of Claims that report the same occurrence within a bounded period of time.
- A Topic is a group of related Signals, used for browsing.
Signals are described by two kinds of vocabulary. The rubric is a defined set of categories and attributes. Annotation layers classify Signals with additional vocabularies, and access to each layer is granted separately. The REST reference describes the model in more detail under The model.
This page is also available as Markdown.
Quick start#
The server address is:
https://app.livingsignals.io/mcp
There are two ways to authenticate:
- Sign in with your Living Signals account. Assistants that support connectors open a Living Signals page where you sign in and approve the connection. The assistant then receives an OAuth access token. See Sign in through OAuth.
- Send an API key. Programs and command-line clients send a key in a request header. See API keys.
To check a key, list the tools it can use. Create a key in the application at
/access#keys, and put it in place of ls_live_<token>:
curl -s https://app.livingsignals.io/mcp \
-H "Authorization: Bearer ls_live_<token>" \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
The response is a JSON-RPC result. Each tool has a name, a description and a JSON Schema for its arguments:
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"tools": [
{
"name": "get_claim",
"description": "Returns one REST-identical immutable Claim row with article, source, geography, and signal_id. Country entitlement is checked after existence.",
"inputSchema": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Numeric Claim id returned by a Claim list or Signal detail."
}
},
"required": ["id"],
"additionalProperties": false
}
}
]
}
}
The example shows one tool of the list. Call a tool with tools/call:
curl -s https://app.livingsignals.io/mcp \
-H "Authorization: Bearer ls_live_<token>" \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"list_countries","arguments":{}}}'
A tool result arrives as text that contains JSON:
{
"jsonrpc": "2.0",
"id": 2,
"result": {
"content": [{ "type": "text", "text": "{ ...the tool's JSON output... }" }],
"isError": false
}
}
Who can connect#
You need a Living Signals account, or an API key created under one. Accounts are created by Living Signals. The application does not offer self-service sign-up.
What you can read follows your organization's access:
- Countries. Your organization is granted a set of countries. A tool call that names a country outside that set is refused as a whole. See Tool errors.
- Annotation layers. Each layer is granted separately. Results carry only the layers your organization has, and filtering by another layer is refused.
- Additional tools. Some tools are listed only for organizations that have them enabled. See Conditional tools.
Call list_countries to see your countries and annotation
layers. Access is the same whether you sign in or use an API key, because both
resolve to your organization.
Use of the MCP server is covered by the Living Signals Terms of Service. Where your organization has a signed agreement with Living Signals, that agreement comes first.
Sign in through OAuth#
Assistants that add the server as a connector use OAuth 2.0. The assistant does this work. You sign in and approve.
What the client does#
The client sends a POST to
/mcpwithout credentials. The server answers HTTP 401 with aWWW-Authenticateheader that names the resource metadata document:WWW-Authenticate: Bearer resource_metadata="https://app.livingsignals.io/.well-known/oauth-protected-resource"The client reads the two discovery documents:
Document Address Protected resource metadata https://app.livingsignals.io/.well-known/oauth-protected-resourceAuthorization server metadata https://app.livingsignals.io/.well-known/oauth-authorization-serverThe authorization server metadata lists the authorization, token and registration endpoints. Read the addresses from that document.
The client registers itself at the registration endpoint. Registration is open to any client. A registered client receives nothing until a Living Signals user signs in and approves it.
The client sends you to the authorization endpoint, using the authorization code grant. When the client uses PKCE,
S256is the only code challenge method accepted. Every authorization request leads to the approval page: a client does not need to sendprompt=consent, and any otherpromptvalue changes nothing.The client exchanges the code for an access token and sends it on each request as
Authorization: Bearer <access token>.
What you see#
Your assistant opens a Living Signals page in your browser. If you are not already signed in there, you sign in on the login page with your email address and password.
The approval page always follows. It is titled Authorize access, and it appears every time a client starts the sign-in: on the first connection and on every later reconnection, for every client. It shows:
- the name the client registered under;
- the account you are authorizing as, by name and email address, under Authorizing as;
- the scopes the client requested;
- Approve and Deny buttons.
If you take longer than ten minutes to sign in, the pending connection lapses and you arrive in the application with nothing connected. Start the connection again from your client.
Check that the account shown is yours, then choose Approve. The client can then see the same countries and data that your organization has access to. If you choose Deny, the client receives no access.
If the account shown is the wrong one, choose Sign out and start over on the page, sign in with the account you want to connect, and start the connection again from your client.
If the authorization was started under a different Living Signals account than the one you are signed in with, the page refuses the approval and asks you to start the connection again from your client.
Token lifetimes#
| Token | Lifetime |
|---|---|
| Access token | 1 hour |
| Refresh token | 7 days |
A refresh token is issued when the client requests the offline_access scope.
Each refresh returns a new access token and a new refresh token, and the 7 days
start again. The previous refresh token stays valid until its own 7 days end. A
refresh takes place between the client and the server and needs no action from
you.
A connection that goes unused for more than 7 days has no valid refresh token left. The client then starts the sign-in again, and the approval page is shown again.
A request with an expired access token gets HTTP 401 with the code
invalid_credentials.
Disconnecting#
The access token is stored in the client. Signing out of the Living Signals web application does not end the connection.
To end it, open your profile page in the application (/profile), find the
client under Connected apps, and choose Disconnect. This deletes the
client's tokens and the approval recorded for your account and that client. The
client's next request gets HTTP 401 with the code invalid_credentials. To
connect again, the client starts the sign-in again, and the approval page is
shown again.
Only the person who made a connection can disconnect it. Access through a connection ends in one other way, and two actions do not end it:
- Removal from the organization ends it. When a person is removed from
their organization and belongs to no other active organization, the next
request from their connection gets HTTP 403 with the code
no_active_organization. - A password reset or change does not end it. A password reset signs you out of the web application in every browser. The connection is not affected.
- Signing out does not end it, as stated above.
Where OAuth tokens work#
OAuth access tokens are accepted by the MCP server only. The REST API accepts API keys only.
API keys#
Send the key in either header:
Authorization: Bearer ls_live_<token>
X-API-Key: ls_live_<token>
- The same key works for the MCP server and the REST API.
- Keys are managed in the application at
/access#keys. Any signed-in member of your organization can create a key, see the organization's keys, and revoke any of them. - The full key is shown once, when you create it. Living Signals stores a hash of the key and cannot show it again.
- A key belongs to your organization. Every key of an organization has that organization's access.
- A key keeps working after the person who created it leaves the organization. Revoke the key to end its access.
- Keys created in the application have no expiry date.
- Revoking a key takes effect on the next request, which gets HTTP 403 with the
code
key_revoked.
The REST reference covers keys under Authentication and entitlements.
Client setup#
The address to enter in every client is https://app.livingsignals.io/mcp.
The Claude apps and ChatGPT sign you in with your Living Signals account, so they need no API key. Command-line tools and scripts use an API key.
Menu names belong to each assistant's maker and can change. If yours differ,
look for the option that adds a custom connector or MCP server. The application
gives the same steps on its Connect page (/connect), which needs a signed-in
account.
Claude Desktop and claude.ai#
- In Claude, open Customize → Connectors.
- Choose Add, then Add custom connector.
- Name it
Living Signals, paste the server address as the server URL, and add the connector. - Sign in and approve when the assistant asks. If it shows Connect next to Living Signals first, choose it. What you see describes both pages.
- Start a new chat and ask "Which countries can I query in Living Signals?" An answer that lists your organization's countries shows that the connection works.
No configuration file or API key is needed.
On a Claude Team or Enterprise plan, an owner first adds the connector under Organization settings → Connectors. Each person then opens Customize → Connectors and chooses Connect next to Living Signals.
Claude Code#
Claude Code is the command-line tool, and it connects with an API key. Create a
key in the application at /access#keys, then run this command with your key
in place of ls_live_<token>:
claude mcp add --transport http living-signals https://app.livingsignals.io/mcp --header "Authorization: Bearer ls_live_<token>"
Keep --header at the end of the command. The option accepts several values,
so anything placed after it is read as another header.
If Claude Code reports error 401, the key is missing or was not recognized:
check the --header value. Error 403 means the key was revoked or has expired,
or your organization's access is not active. API keys describes
how keys are created and revoked.
ChatGPT#
- In ChatGPT on the web, open Plugins (
chatgpt.com/plugins). - Select the plus button, then Add custom MCP server.
- Enter
Living Signalsas the name. Under Connection, paste the server address as the Server URL. - For authentication, choose OAuth. Read the risk warning, select I understand and want to continue, then Create as a plugin.
- Install the plugin. When ChatGPT sends you to Living Signals, sign in and approve. What you see describes both pages.
- Start a new conversation, type @, select Living Signals and ask "Which countries can I query in Living Signals?"
This connection uses your Living Signals account, so no API key is needed. Your ChatGPT plan and your workspace's settings decide whether you can add a custom MCP server. If the option is missing, ask your workspace administrator.
Microsoft 365 Copilot#
Microsoft 365 Copilot does not add this connector from its own chat settings. An agent built in Copilot Studio can use the Living Signals server as a tool: the administrator adds the server address as a Model Context Protocol tool. Ask your Microsoft 365 administrator, and give them this page.
Without such an agent, there are two other routes. Export Signals from the application as a CSV file and attach the file to your Microsoft 365 Copilot chat, or retrieve data with the REST API and give the result to Microsoft 365 Copilot in the same way.
Other clients#
Any client that can send an HTTP POST with a JSON body and a request header can use the server with an API key. The next section describes the transport.
Transport#
The server speaks JSON-RPC 2.0 over HTTP at one address.
- POST a JSON-RPC request, or an array of requests, with credentials. The
response is JSON with
Content-Type: application/json;charset=utf-8. An array gets an array of responses. - The server keeps no session. It issues no session id, and each request is
handled independently. You can call
tools/listortools/callwithout callinginitializefirst. - The server does not stream and does not send messages on its own. A
GETthat asks fortext/event-streamgets HTTP 405. - A JSON-RPC notification (a method name that starts with
notifications/) gets HTTP 202 with an empty body. In an array, notifications produce no entry in the response. OPTIONSgets HTTP 204 withAllow: GET, POST, OPTIONS.DELETEand other methods get HTTP 405 with the sameAllowheader.- Any other
GETreturns one line of plain text that names the tools and the path of this page. It needs no credentials.
Methods#
| Method | Result |
|---|---|
initialize |
Protocol version, capabilities (tools and prompts, both with listChanged: false), server name living-signals, and a short instructions text. |
ping |
An empty object. |
tools/list |
The tools the caller can use. |
tools/call |
The output of one tool. |
prompts/list |
The prompts. See Prompts. |
prompts/get |
The text of one prompt. |
Any other method returns the JSON-RPC error -32601.
Protocol versions#
The server supports these MCP protocol versions:
2025-11-252025-06-182025-03-262024-11-05
initialize answers with the version the client asked for when it is one of
these. A request that names any other version, or none, is answered with
2025-03-26.
Tools#
Every authenticated caller lists the ten tools in this section. Conditional tools describes the tools that appear only under certain conditions.
Every tool returns JSON as text. Signal, Claim, Topic and country rows have the same fields as the REST API returns, and each tool entry links to the REST section that lists them. Signal rows can carry one field more, listed under Differences from the REST API.
Recommended order#
list_countries: see which countries and annotation layers you can read.get_rubric: read the category and attribute ids before you filter.search_signals: find Signals by country, rubric, annotation codes, date or search words.describe_signal: read one Signal with every Claim that supports it.list_claims: read Claims directly, or collect newly extracted Claims on a schedule.
Use list_annotation_layers before you filter by
annotation codes, and list_topics to browse by Topic.
Shared behaviour#
Default window. search_signals, list_topics, list_claims,
search_claims and get_top_places return the last 90 days when since is
omitted (the default is 90d). The window applies to the date of the
occurrence, so a recent article about an older event falls outside it. Pass
since: "all" for the whole corpus. See
The default window.
since values. A number followed by h, d or w (hours, days, weeks),
an ISO date or timestamp that begins YYYY-MM-DD, or all. The bound is
exclusive.
since works in whole days. The server reduces the bound to its UTC
calendar date and returns records dated after that date. An hour or a time of
day only decides which date the bound falls on. since: "24h" returns records
dated today or later, and since: "1h" normally returns none. To include a
given day, send the day before it. Use since_extracted, on list_claims and
search_claims, when you need hours or a time of day. The REST reference shows
worked examples under Time windows.
country values. ISO 3166-1 alpha-2 codes in one string, separated by
commas. Case does not matter. Several codes match any of them. Omit country
to use every country you have access to.
Page size. limit is a positive integer. The default is 50, and a larger
value than 500 is treated as 500. get_top_places has its own limits.
Paging. search_signals, list_topics and list_claims return
next_cursor. When it is not null, call the same tool again with the same
arguments and cursor set to that value. Repeat until next_cursor is null.
pagination.count is the number of rows in the current page. A cursor is
valid only for the tool and arguments that produced it. The server does not
detect a cursor reused with other arguments, and the result of doing so is
undefined.
Search. search_signals with query, and search_claims, combine word
matching with matching by meaning, and rank results by relevance. A search
returns one set of at most limit results. It does not page: next_cursor is
null, and sending cursor together with query is an error. The result
carries a search object:
| Field | Meaning |
|---|---|
query |
The search text as the server read it, with surrounding and repeated spaces removed. |
mode |
hybrid, or lexical when matching by meaning was unavailable for this request. |
reranked |
false when results are in base retrieval order. |
truncated |
true when more results matched than limit allowed. Narrow the query or the filters. |
limit |
The limit applied. |
list_countries#
Returns the countries you can read, with coverage figures for each, and the ids
of your annotation layers. The output has the same shape as
GET /api/v1/countries.
No parameters.
get_rubric#
Returns the rubric: every category with its member attributes, and every
attribute with its label, description and categories. The Women, Peace and
Security attributes also list their directions, stages and filter syntax. The
output is the same document as GET /api/v1/rubric.
No parameters.
list_annotation_layers#
Returns the annotation layers granted to your organization, each with its
complete list of codes. The output has the same shape as
GET /api/v1/annotation-layers.
No parameters.
search_signals#
The main tool for exploring. Returns Signal rows, as listed under
GET /api/v1/signals. Without query, rows come
in a stable order that can be paged. With query, rows are ranked by
relevance.
All filters you send must hold together. Within category, within
attribute_any, and within one annotation layer, any one value is enough.
Every value in attribute must hold.
| Parameter | Required | Type | Meaning |
|---|---|---|---|
query |
no | string | Search words or meaning, 2 to 500 characters, with at least one letter or digit. See Search under Shared behaviour. |
country |
no | string | Country codes. |
category |
no | string | Rubric category ids, separated by commas. A Signal matches when any attribute of any listed category is true. An unknown id is an error. |
attribute |
no | string | Rubric attribute ids, separated by commas. Every listed attribute must be true. A Women, Peace and Security attribute can be written id:direction or id:direction:stage. |
attribute_any |
no | string | Rubric attribute ids, separated by commas. At least one must be true. Accepts the same syntax as attribute. |
glide_v1 |
no | string | Codes from the glide_v1 annotation layer, separated by commas. |
acled_v1 |
no | string | Codes from the acled_v1 annotation layer, separated by commas. |
iasc_v1 |
no | string | Codes from the iasc_v1 annotation layer, separated by commas. |
iep_positive_peace_v1 |
no | string | Codes from the iep_positive_peace_v1 annotation layer, separated by commas. A code can be written code:direction to require a direction for that code. |
geospatial_v1 |
no | string | Codes from the geospatial_v1 annotation layer, separated by commas. |
undp_thematic_v1 |
no | string | Codes from the undp_thematic_v1 annotation layer, separated by commas. |
iep_positive_peace_v1_direction |
no | string | Directions for the iep_positive_peace_v1 layer, separated by commas: strengthening, eroding or mixed. Alone, it matches any code that carries the direction. Sent with iep_positive_peace_v1, the direction must hold for the listed codes. |
topic |
no | string | UUID of a Topic. Returns the Signals grouped under it. The default 90-day window still applies: send since: "all" to read every one. |
since |
no | string | Lower bound on the Signal's latest occurrence date (signal_end). Default 90d. |
limit |
no | number | Page size. Default 50, maximum 500. |
cursor |
no | string | next_cursor from the previous page. Cannot be sent together with query. |
include_annotations |
no | boolean | Has no effect for customer callers, whose results always carry their granted layers. |
Annotation codes are listed by list_annotation_layers, and the layers are
described in the REST reference under
Appendix: annotation layers. An unknown
code is an error. Filtering by a layer your organization does not have returns
annotation_layer_not_entitled.
Output: signals, next_cursor, pagination (limit and count), and
search when query was sent.
describe_signal#
Returns one Signal with its complete list of supporting Claims in ascending
Claim id order, as listed under
GET /api/v1/signals/{id}. The output does not
include satellite imagery.
| Parameter | Required | Type | Meaning |
|---|---|---|---|
id |
yes | string | Signal UUID, as returned by search_signals. |
include_annotations |
no | boolean | Has no effect for customer callers, whose results always carry their granted layers. |
Signal ids can be retired when Signals merge or split. A retired id that has an
active successor returns that successor, with a resolved_from object that
names the id you asked for. A retired id with no active successor returns the
tool error signal_retired. See
Signal lifecycle and id stability.
Output: signal (the Signal row with a claims array), and resolved_from
when the id was resolved to a successor.
list_topics#
Returns current Topics, as listed under
GET /api/v1/topics. A Topic matches when at least
one of its Signals satisfies all the filters at once. Topic rows carry no
rubric values and no annotations.
Topic ids can change when the data is rebuilt. Use them within one session, and store Signal or Claim ids when you need a lasting reference.
| Parameter | Required | Type | Meaning |
|---|---|---|---|
country |
no | string | Country codes. |
category |
no | string | As for search_signals. |
attribute |
no | string | As for search_signals. |
attribute_any |
no | string | As for search_signals. |
glide_v1 |
no | string | As for search_signals. |
acled_v1 |
no | string | As for search_signals. |
iasc_v1 |
no | string | As for search_signals. |
iep_positive_peace_v1 |
no | string | As for search_signals. |
geospatial_v1 |
no | string | As for search_signals. |
undp_thematic_v1 |
no | string | As for search_signals. |
iep_positive_peace_v1_direction |
no | string | As for search_signals. |
since |
no | string | Applied to the Topic's Signals, as for search_signals. Default 90d. |
limit |
no | number | Page size. Default 50, maximum 500. |
cursor |
no | string | next_cursor from the previous page. |
Output: topics, next_cursor, pagination.
list_claims#
Returns Claim rows in ascending id order, as listed under
GET /api/v1/claims. Claims do not change after
they are extracted. A new Claim can have signal_id: null for a time, until it
is assigned to a Signal.
| Parameter | Required | Type | Meaning |
|---|---|---|---|
country |
no | string | Country codes. |
signal |
no | string | Signal UUID. Returns the Claims assigned to that Signal. The default 90-day window still applies: send since: "all" to read every one. describe_signal returns them all in one call. |
since |
no | string | Lower bound on occurred_on: the event date, or the article's publication date when no event date is known. Default 90d, unless since_extracted is sent. |
since_extracted |
no | string | Lower bound on extracted_at, the time Living Signals extracted the Claim. Has no default. Sending it turns off the default since window. |
limit |
no | number | Page size. Default 50, maximum 500. |
cursor |
no | string | next_cursor from the previous page. |
To collect new Claims on a schedule, send since_extracted with a value that
overlaps your previous run, follow next_cursor to the end, and discard Claim
ids you already have. The REST reference gives the same method under
Polling recipe.
Output: claims, next_cursor, pagination.
search_claims#
Searches the Claim text, its stored context (not returned), and place names.
Returns Claim rows ranked by relevance, with the search object described under
Shared behaviour. It does not page. To collect every new
Claim, use list_claims.
| Parameter | Required | Type | Meaning |
|---|---|---|---|
query |
yes | string | Search words or meaning, 2 to 500 characters, with at least one letter or digit. |
country |
no | string | Country codes. |
signal |
no | string | Signal UUID. Limits the search to that Signal's Claims. The default 90-day window still applies. |
since |
no | string | Lower bound on occurred_on. Default 90d, unless since_extracted is sent. |
since_extracted |
no | string | Lower bound on extracted_at. Turns off the default since window. |
limit |
no | number | Maximum number of results. Default 50, maximum 500. |
Output: claims, next_cursor (always null), pagination, search.
get_claim#
Returns one Claim row with its article, source and location, as listed under
GET /api/v1/claims/{id}. The server looks the
Claim up first and checks country access second, so an id in a country you
cannot read returns country_not_entitled, and an id that does not exist
returns not_found.
| Parameter | Required | Type | Meaning |
|---|---|---|---|
id |
yes | string | The Claim's numeric id, sent as a string of digits. |
Output: claim.
get_top_places#
Returns the places in one country that the most Claims refer to. Only Claims located at a specific point are counted.
| Parameter | Required | Type | Meaning |
|---|---|---|---|
country |
yes | string | Exactly one country code. |
since |
no | string | Lower bound on occurred_on. Default 90d. |
limit |
no | number | Maximum number of places. Default 10, maximum 50. |
Output: country_code, and places, where each place has place_name,
place_admin1, count, lat and lng.
Conditional tools#
These tools are listed by tools/list only when the conditions below hold. If
a tool is absent from your list, it is not available to you. Calling it anyway
returns a tool error.
send_feedback#
Sends a report from the user to the Living Signals team. It is listed when the server has feedback switched on. The tool description instructs assistants to use it only when the user asks to report something, or agrees to a report the assistant offered to send.
| Parameter | Required | Type | Meaning |
|---|---|---|---|
kind |
yes | string | bug, data, idea or other. |
message |
yes | string | The report, 5 to 4,000 characters. |
signal_id |
no | string | UUID of the Signal the report is about. |
claim_id |
no | string | Numeric id of the Claim the report is about. |
country |
no | string | Country codes the report concerns. |
Limits: 5 reports in 10 minutes and 30 in 24 hours. The limits count against the person behind the call: the signed-in person for an OAuth connection, or the person who created the API key. When no person is known, they count against the organization. The same text from the same sender within 24 hours is not stored twice.
Output: id, status and message. status is received, or
already_received for a repeat. A received result also has attached, with
the references that were stored.
Analyst tools#
The server can offer additional tools for an automated research analyst to organizations that have it enabled. They are not listed otherwise.
Internal tools#
The Living Signals team has internal workspace tools on this server. They are
not listed for customers. A caller outside the team that calls one gets the
tool error team_key_required.
Prompts#
The server offers one prompt. It is not applied unless the client asks for it:
the instructions text returned by initialize mentions that the prompt
exists and does not include its text.
wps_lens#
Asks the assistant to apply a Women, Peace and Security approach to its analysis: to consider how effects differ by gender, to include early-warning information from women's networks and civil society, to assess risks of gender-based violence, and to relate recommendations to National Action Plans. It also sets out principles for advice about conflict.
The prompt takes no arguments. prompts/get with {"name": "wps_lens"}
returns its description and one message with the role user that contains the
prompt text. Any other name returns the JSON-RPC error -32602.
Errors and limits#
An error reaches you in one of three ways, depending on where the request failed. A client needs to check all three.
| Where it failed | HTTP status | Body |
|---|---|---|
| Before the request was read: credentials, HTTP method, JSON syntax | 4xx or 5xx | See HTTP errors |
| In the protocol: unknown method, missing tool name, rate limit, unexpected failure | 200 | A JSON-RPC error |
| In a tool: invalid argument, no access, not found | 200 | A JSON-RPC result with isError: true |
HTTP errors#
A request without valid credentials gets an HTTP error status. The body has the
JSON-RPC error code -32001, and error.data.code names the reason:
HTTP/1.1 401 Unauthorized
WWW-Authenticate: Bearer resource_metadata="https://app.livingsignals.io/.well-known/oauth-protected-resource"
Content-Type: application/json;charset=utf-8
{
"jsonrpc": "2.0",
"id": null,
"error": {
"code": -32001,
"message": "Provide an API key via Authorization: Bearer or X-API-Key, or connect via OAuth.",
"data": { "code": "missing_credentials" }
}
}
| HTTP | data.code |
Meaning |
|---|---|---|
| 401 | missing_credentials |
No Authorization: Bearer or X-API-Key header was sent. |
| 401 | invalid_credentials |
The key is not recognized, or the OAuth access token has expired or was disconnected. |
| 403 | key_revoked |
The key has been revoked. |
| 403 | key_expired |
The key has expired. |
| 403 | customer_inactive |
The organization's access is not active. |
| 403 | no_active_organization |
The signed-in account belongs to no active organization. |
| 503 | auth_unavailable |
The server could not check credentials. Try again. |
Every 401 response carries the WWW-Authenticate header shown above.
Other HTTP errors:
| HTTP | Body | Cause |
|---|---|---|
| 400 | JSON-RPC error -32700, parse error |
The request body is not valid JSON. |
| 405 | Plain text, with an Allow header |
DELETE, another unsupported method, or a GET that asks for text/event-stream. |
| 503 | {"error": {"code": "release_in_progress", ...}}, with a Retry-After header |
The rubric is being updated across all countries. Try again after the stated number of seconds. |
JSON-RPC errors#
These arrive with HTTP 200:
{
"jsonrpc": "2.0",
"id": 2,
"error": { "code": -32601, "message": "method not found: resources/list" }
}
| Code | Meaning |
|---|---|
-32601 |
The method is not one the server supports. |
-32602 |
tools/call was sent without a tool name, or prompts/get named an unknown prompt. |
-32603 |
A tool failed in a way the server did not expect. The message is always The tool failed unexpectedly. Try again later. and does not describe the cause. |
-32029 |
The rate limit was exceeded. See Rate limit. |
Tool errors#
A tool that refuses a call returns a normal JSON-RPC result with
isError: true. The text content is a JSON object with four fields:
{
"jsonrpc": "2.0",
"id": 6,
"result": {
"content": [
{
"type": "text",
"text": "{\n \"kind\": \"error\",\n \"code\": \"country_not_entitled\",\n \"status\": 403,\n \"message\": \"Country access denied. Entitled countries: CM.\"\n}"
}
],
"isError": true
}
}
kind is always error. code identifies the error. status is a number in
the style of an HTTP status, and equals the REST API's status where the REST
API has the same error. The HTTP status of the MCP response itself is 200.
message explains the error, and often names the value that was refused.
code |
status |
Meaning |
|---|---|---|
invalid_parameter |
400 | An argument is missing, malformed or not in the vocabulary, or cursor was sent with query. |
invalid_cursor |
400 | cursor is not a value the server issued. |
authentication_required |
401 | send_feedback or an analyst tool was called without credentials. This can occur only on a server that accepts unauthenticated requests. |
country_not_entitled |
403 | A requested country, or the country of the requested Signal or Claim, is outside your organization's access. The whole call is refused. |
annotation_layer_not_entitled |
403 | A filter names an annotation layer your organization does not have. |
analyst_not_entitled |
403 | An analyst tool was called, and your organization does not have the analyst enabled. |
team_key_required |
403 | The tool is one of the Living Signals team's internal tools. |
not_entitled |
403 | Returned by internal tools only. |
not_found |
404 | No Signal or Claim has that id. |
unknown_tool |
404 | No tool has that name. |
signal_retired |
410 | The Signal id is retired and has no active successor. The result also carries error, id, relation and successors, and last_seen when it is known. |
internal_error |
500 | Returned by internal tools only. |
feedback_unavailable |
501 | send_feedback was called on a server that has feedback switched off. |
analyst_unavailable |
503 | An analyst tool was called on a server where the analyst is not enabled, or the service could not be reached. |
Two services add their own codes. send_feedback returns rate_limited
(status 429) when a report limit is reached, and forbidden (status 403) when
the report cannot be attributed to an organization. Where the analyst tools are
enabled, they can return further codes of their own.
Rate limit#
Requests from customer organizations are limited. The default is 240 requests per minute, counted over the preceding 60 seconds. The number is a server setting, so the hosted service can apply a different one.
- One HTTP POST counts as one request, whether it carries one JSON-RPC request or an array.
- With an API key, the limit is per key. MCP and REST requests made with the same key count against the same limit.
- With OAuth, the limit is per organization. Every person in the organization who is connected through OAuth counts against the same limit.
When the limit is exceeded, the response is HTTP 200 with the JSON-RPC error
-32029. It has no Retry-After header. Read the waiting time from
error.data.retryAfterSeconds:
{
"jsonrpc": "2.0",
"id": 5,
"error": {
"code": -32029,
"message": "rate limit exceeded; retry after 12 seconds",
"data": { "retryAfterSeconds": 12 }
}
}
In an array, every request gets this error.
Other limits#
| Limit | Value |
|---|---|
Page size (limit) |
Default 50, maximum 500 |
Places returned by get_top_places |
Default 10, maximum 50 |
Search text (query) |
2 to 500 characters |
| Default time window | 90 days |
| Feedback message | 5 to 4,000 characters |
Differences from the REST API#
The MCP server and the REST API read the same data and apply the same access rules. They differ in these ways:
| REST API | MCP server | |
|---|---|---|
| Credentials | API key | API key or OAuth access token |
| Requests without credentials | Four public routes are readable | Every POST needs credentials |
| Errors | HTTP status with {"error": {"code", "message"}} |
The three forms under Errors and limits |
| Rate limit exceeded | HTTP 429 with Retry-After and X-RateLimit-* headers |
HTTP 200 with JSON-RPC error -32029; no rate-limit headers on any response |
| Next page | nextPage, a complete URL |
next_cursor, a value to send back as cursor |
| Claim search | query on GET /api/v1/claims |
A separate tool, search_claims |
| Sources | GET /api/v1/sources |
No tool lists sources. Claim rows name their source. |
| Satellite imagery | Included in Signal detail for organizations with that grant | Not returned |
| Top places | No endpoint | get_top_places |
| Signal rows | analysis.wps has the fields the REST reference lists |
The same fields, and analysis.wps can also carry inference_revision, an identifier of the assessment run |
| Feedback and prompts | Not part of the REST API | Available as described on this page |
What each call logs#
For every JSON-RPC request from an authenticated caller, Living Signals records one usage entry with:
- the organization, and the API key when one was used (an OAuth request records no key);
- the tool name for
tools/call, or the method name for other requests; - the arguments of the tool call that are codes, ids, dates, limits or cursors, or the parameters of the method. Text you write is not stored, as set out below;
- the size of the response in bytes;
- how long the request took;
- the outcome (
ok,errororscope_denied) and, for a failure, the error message; - the time of the request.
Tool output is not stored in the usage entry. A request refused by the rate limit, and a request body that is not valid JSON, are recorded as well. Usage entries are read by the Living Signals team, on its internal usage pages.
Three kinds of text are kept out of the usage entry:
- Search. The
querytext ofsearch_signalsandsearch_claimsis replaced by its length in characters, recorded asquery_chars. The filters sent with it are recorded as they are. An argument the tool does not define is recorded by its length too. - Feedback. The
messagetext is replaced by its length. The report itself is stored for the Living Signals team, with its kind, the references you attached, theUser-Agentyour client sent, and the person or organization it came from. - Analyst tools, where enabled. The text sent to the analyst is replaced by its length in characters, no other argument is recorded, and a failure is recorded by its code only.
A request that fails authentication has no usage entry, because the caller is unknown. When a key or token was sent and refused, the server writes the error code and HTTP status to its own log.
What is sent to outside services#
Search and feedback pass content you send to services outside Living Signals, when those services are configured for the server:
- Search.
search_signalswithquery, andsearch_claims, send the search text to an outside embedding service. The server then sends the search text, together with text from the candidate Signals and Claims, to an outside reranking service. These requests carry the search text and no information about who is searching. - Feedback. After a report is stored, up to three things happen to it.
- Sorting. Its kind, text and references (the Signal, the Claim and the countries you attached) are sent to an outside language model service that sorts it. Nothing that says who sent it goes with them: no name, no email address and no organization.
- Filing. Depending on the result, the report may be filed in an outside issue tracker. The issue holds the report's text, kind and references, the sorting result, and a Living Signals reference number that only the Living Signals team can match to a sender. It does not name you or your organization.
- Email to the team. Depending on the result, the report may be emailed to the Living Signals team, through an outside email delivery service. That email includes the text and your organization's name. It names a person, with their email address, when one is known: you, for a signed-in connection, or the person who created the API key. Otherwise it carries the organization's contact address or the key's label in that place.
The other tools in the Tools section read Living Signals data and send nothing to an outside service.