# A read-only MCP server for 310,000 public domain artworks, with no API key

> Source: <https://dev.to/artnap/a-read-only-mcp-server-for-310000-public-domain-artworks-with-no-api-key-1h4c>
> Published: 2026-12-03 22:30:13+00:00

**Key takeaway:** Returning a human-readable sentence with the artist, year, museum and license as the first line of an MCP tool result, plus the same object as structuredContent, keeps assistants from misquoting the first line when they relay it to users.

Artnap is an archive of public domain art. Most of it is paintings and works on paper. The works come from the open access programs of about 70 museums and libraries. The Rijksmuseum, the Metropolitan Museum of Art and the National Gallery of Art are the largest.

Last month we put an MCP server in front of the archive. It lives at `https://artnap.com/mcp`, speaks Streamable HTTP and asks for no account. This post covers the choices we made and what one answer looks like.

You can try it from a terminal right now.

```
curl -s -X POST https://artnap.com/mcp \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json, text/event-stream' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call",
       "params":{"name":"get_artwork","arguments":{"id":"nga-46681"}}}'
```

The server answers a tool call without a session. That was on purpose. We wanted a person reading the docs to see a real painting come back before they set anything up.

Each answer has a sentence a person can read and a small JSON block under it.

```
A Girl with a Watering Can by Pierre-Auguste Renoir, 1876. National Gallery of Art. Public Domain (CC0 1.0 Universal).
{
  "id": "nga-46681",
  "title": "A Girl with a Watering Can",
  "artist": "Pierre-Auguste Renoir",
  "year": "1876",
  "museum": "National Gallery of Art",
  "license": "Public Domain (CC0 1.0 Universal)",
  "image_2500px": "https://img.artnap.com/artworks/nga/nga-46681/hd.jpg",
  "page_url": "https://artnap.com/artwork/nga-46681",
  "medium": "oil on canvas",
  "museum_record": "https://www.nga.gov/collection/art-object-page.46681.html",
  "license_line": "Public Domain (CC0 1.0 Universal). Image: National Gallery of Art."
}
```

The sentence is there because assistants often quote the first line of a tool result to the user word for word. If that line already holds the painter and the year next to the museum and its license, the quote is correct.

The same object is also sent as `structuredContent`, for clients that read it.

`search_artworks` returns up to 20 works. It filters by words or artist, and also by museum or main color.`get_artwork` returns one work by its id.`list_artists` finds artists by name.`list_museums` lists the holding institutions with a count for each.`get_license_summary` returns the license line for one work and says where to check it.
All five carry `readOnlyHint: true`. Nothing can be changed through the server, so a client never has to ask the user for permission to write.

We kept the list short. `search_artworks` has a `color` field with twelve fixed values, because "a blue painting for my hallway" is how people ask.

Every museum publishes under its own terms. Most of the archive is CC0 or Public Domain Mark, and a smaller share is CC BY. A single site-wide statement would be wrong for some works, so each result carries its own `license` and `license_line`, and `museum_record` points at the holder's page for that object. Anyone who doubts us can check the source in one click.

We had three reasons to skip keys.

A key means a signup form, and an assistant cannot fill one in for its user. The data is public domain to begin with. And the limit we need is simple: 5 requests a second per IP address. Above that the server answers 429 with a retry time.

The log keeps the tool name and how long the call took, for 30 days. It does not keep the question.

The server does not return sexually explicit works, and for now it leaves out most works that show nudity. Museums hold a lot of nudes and many of them are famous.

We still chose the stricter setting. The caller is an assistant that may be answering a child's homework question. It cannot see the image before it passes the link on.

A search tool is the wrong shape for bulk work. For that there is a CSV of the open list, updated monthly, at [artnap.com/open-data](https://artnap.com/open-data).

Each row has the work's id, title, artist and year. It also names the holder and links to the holder's record and to the Artnap page. A last column, `source_terms`, holds the terms the holder publishes under.

Image addresses follow the id, so you can build them yourself:

```
https://img.artnap.com/artworks/{source}/{id}/hd.jpg     2,500 px
https://img.artnap.com/artworks/{source}/{id}/thumb.jpg  480 px
```

There is also an [llms.txt](https://artnap.com/llms.txt) that describes the site for assistants in plain text.

In Claude, add `https://artnap.com/mcp` as a custom connector, or pick Artnap from the connector directory. In other clients, add it as a remote MCP server with the same address. The docs are at [artnap.com/developers](https://artnap.com/developers).

If a field you need is missing from the JSON, tell us in the comments. Which one would you add first?
