Connect
Bring your own tools to the Ark
The terminal is also a server for the Model Context Protocol. Connect an assistant or a script and it can read all 72,578 rows in 13 datasets with the same engine that draws the charts here, then hand you back a board to look at. It is public and read-only: no key, no account, and nothing it can change.
The address
Streamable HTTP, stateless, JSON responses.
https://human-ark-terminal.vercel.app/api/mcp
Claude Code
One command in your terminal; the tools are there in your next session.
claude mcp add --transport http human-ark https://human-ark-terminal.vercel.app/api/mcp
Claude, on the web or desktop
In Settings, open Connectors, add a custom connector, and paste the address above. Leave the sign-in fields empty: there is none.
Other MCP clients
Any client that takes a remote server by URL. Most read a block like this; check your client’s own notes for where it goes.
{
"mcpServers": {
"human-ark": { "type": "http", "url": "https://human-ark-terminal.vercel.app/api/mcp" }
}
}From a script
It is JSON-RPC by POST, so anything that can make a web request can call a tool.
curl -s https://human-ark-terminal.vercel.app/api/mcp \
-H 'content-type: application/json' \
-H 'accept: application/json, text/event-stream' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call",
"params":{"name":"count_by","arguments":
{"dataset":"scripts","by":"area"}}}'What it can do
- describe_ark
- The datasets, their fields, the values each field takes. The place to start.
- search_ark
- Find entries by name across every dataset.
- get_entries
- Read up to twenty entries in full, with their written notes and sources.
- query_ark
- The rows of one dataset that pass your filters, sorted and paged.
- count_by
- How many rows fall under each value of a category, with shares.
- summarize_field
- Quartiles, mean and range of a number field; correlation with another.
- compare_through_time
- Up to six series counted at the same moments on one time axis.
- build_board
- Compose series and panels, and get a link that opens the board here.
Filters are the same everywhere: a list of { field, op, value } with op one of is, not, min, max, contains, has, missing. Years are integers with BCE negative. The fields of each dataset are set out on the datasets page, and describe_ark returns the same thing to a program.
Things to ask
- Which language families have the largest share of moribund and nearly extinct languages? Build me a board.
- Compare how long civilizations lasted in Africa, West Asia and the Americas, and show the distributions.
- Were sea crossings later than land migrations? Use the migrations dataset and show the running totals.
- Find every script descended from Aramaic, put them on a timeline, and tell me which are still written.
- Does measured skin reflectance track latitude equally well in Africa and in South Asia?
- Set turning points in farming against turning points in writing, by part of the world.
A board is a small piece of JSON
build_board writes one for you, but you can write your own. Encode it as base64url and put it after /board?b=. Series ids are s1, s2… in order; a panel draws every series unless it names some. Anything the terminal cannot draw is dropped with a notice at the top of the board, never silently.
{
"v": 1,
"title": "Writing and the state",
"question": "Did writing systems multiply in step with civilizations, or on a clock of their own?",
"series": [
{
"id": "s1",
"name": "Civilizations",
"dataset": "civilizations",
"color": 0,
"where": [
{
"field": "start",
"op": "min",
"value": -4000
}
]
},
{
"id": "s2",
"name": "Writing systems",
"dataset": "scripts",
"color": 1,
"where": [
{
"field": "start",
"op": "min",
"value": -4000
}
]
},
{
"id": "s3",
"name": "Turning points in writing",
"dataset": "events",
"color": 2,
"where": [
{
"field": "kind",
"op": "is",
"value": [
"writing"
]
}
]
}
],
"panels": [
{
"id": "p1",
"type": "time",
"title": "How many were in being",
"series": [
"s1",
"s2"
],
"from": -3500,
"to": 2026,
"scale": "linear"
},
{
"id": "p2",
"type": "time",
"title": "How many had begun",
"measure": "begun",
"from": -3500,
"to": 2026,
"scale": "linear"
},
{
"id": "p3",
"type": "breakdown",
"title": "Where each arose",
"by": "area",
"share": true
},
{
"id": "p4",
"type": "breakdown",
"title": "Kinds of script",
"series": [
"s2"
],
"by": "type"
}
]
}Panel types and their options: time (measure: alive or begun, normalize, from, to, scale), lifelines (limit, from, to, scale), map (routes: true draws the migration routes, routeSets: any of kin, ice, early, middle, late, routeBy: confidence or sea), breakdown (by, share, top), scatter (x, y, logX, logY), table (series, sort, descending).
Or take the files
Each dataset is one JSON file of columns and rows at /ark/<dataset>.json, linked from the datasets page; every table on a board downloads as CSV. The Ark gathers from many open sources, each with its own licence and each credited on the entry’s page: follow those when you publish.