API & MCP

Everything a person can do on Personal Archive Search, a program or AI agent can do with the same inputs and get the identical result.

HTTP API

Personal Archive Search

Search your own text collection by phrase or multiple terms, with word/case/accent controls, file filters and exact source references.

Inputs of Personal Archive Search
FieldTypeDefaultDescription
documentstable[{"name":"notes.md","body":"Project notes\nThe blue cabinet is 600 mm wide."}]Documents
query (required)textarea"cabinet"Search phrase
modeselect (phrase, all, any)"phrase"Match mode
caseSensitivebooleanfalseMatch case
wholeWordbooleanfalseWhole words only
ignoreAccentsbooleanfalseIgnore accents
nameFiltertext—File name contains

Example request

Try an example

curl -X POST https://paperwellarchivesearch.usefulweb.app/api/v1/calculate -H 'content-type: application/json' -d '{}'

Every result contains

inputs (normalised, defaults applied), summary, result (validated against the published schema), units, assumptions, sources, warnings, computedAt and links.

MCP (Model Context Protocol)

{
  "mcpServers": {
    "paperwell-archive-search": { "type": "http", "url": "https://paperwellarchivesearch.usefulweb.app/mcp" }
  }
}