---
title: For agents and developers
url: https://www.sam-page.com/developers
description: How AI agents and developers can use sam-page.com: MCP, WebMCP, NLWeb, A2A, search, Markdown and OpenAPI. No keys needed.
author: Sam Page
updated: 2026-12-04
---

# For agents and developers

Everything on this site is open to AI agents and developers. There are no keys and no sign-up. Please be gentle: Ask allows 20 questions an hour and 60 a day per IP address, and every question and enquiry reaches me by email.

## When to use this site

Use it to find out who I am and what I do, to read or quote what I've written about growth, go-to-market, marketing, sales, customer experience, digital product, AI and leadership, to read The Friday Takeaway, or to get in touch about advisory work or speaking. For 7DOTS agency work go to [7dots.com](https://www.7dots.com), and for DealCraft to [dealcraft.ai](https://www.dealcraft.ai).

## At a glance

| What | Where |
|---|---|
| Index for AI | [/llms.txt](https://www.sam-page.com/llms.txt), everything in one file at [/llms-full.txt](https://www.sam-page.com/llms-full.txt), Thinking only at [/thinking/llms.txt](https://www.sam-page.com/thinking/llms.txt) |
| Any page as Markdown | Add `.md` to the address, or send `Accept: text/markdown` |
| MCP server | `https://www.sam-page.com/mcp` (Streamable HTTP): ask, search, read, send an enquiry |
| Read-only MCP server | `https://www.sam-page.com/mcp/docs`: search, read, resources |
| WebMCP | Tools on every page, through `document.modelContext` |
| NLWeb | `POST https://www.sam-page.com/ask` (v0.55, with streaming) |
| A2A | `POST https://www.sam-page.com/a2a`, card at [/.well-known/agent-card.json](https://www.sam-page.com/.well-known/agent-card.json) |
| Search | `GET https://www.sam-page.com/api/search?q=...` |
| OpenAPI | [/openapi.json](https://www.sam-page.com/openapi.json) |
| Catalogs | [ARD](https://www.sam-page.com/.well-known/ard.json), [AI Catalog](https://www.sam-page.com/.well-known/ai-catalog.json), [Agent Skills](https://www.sam-page.com/.well-known/agent-skills/index.json), [API catalog](https://www.sam-page.com/.well-known/api-catalog), [MCP server card](https://www.sam-page.com/.well-known/mcp/server-card.json) |
| Structured data | [/schema.json](https://www.sam-page.com/schema.json), feeds listed in [/schemamap.xml](https://www.sam-page.com/schemamap.xml) |

## MCP

Add `https://www.sam-page.com/mcp` as a remote MCP server in Claude, ChatGPT, Cursor or any MCP client. It's stateless, so every request stands alone.

| Tool | What it does |
|---|---|
| `ask_sam` | Answers a question in my voice from my writing and CV, with sources. Each question is logged and emailed to me. |
| `search_writing` | Finds posts, articles, Takeaway editions and my 7DOTS articles by meaning. Read-only. |
| `get_page` | Returns any page as Markdown, such as `/cv` or `/thinking/<slug>`. Read-only. |
| `list_latest` | Lists the newest pieces. Read-only. |
| `send_enquiry` | Sends me a message. Only with the person's approval of the exact message. |

`https://www.sam-page.com/mcp/docs` offers the three read-only tools and the key pages as resources.

```bash
curl -s https://www.sam-page.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":"search_writing","arguments":{"query":"customer experience","limit":3}}}'
```

## In the browser (WebMCP)

Every page registers tools with `document.modelContext.registerTool()`, for browsers with WebMCP: `ask_sam`, `search_writing`, `get_page_markdown`, `list_latest`, `fill_enquiry_form` and `fill_takeaway_signup`. The last two only fill in the form; the person checks it and presses send.

## NLWeb

```bash
curl -s https://www.sam-page.com/ask -H 'Content-Type: application/json' \
  -d '{"query":{"text":"How should a board think about AI?"},"prefer":{"mode":"list, summarize"},"meta":{"version":"0.55"}}'
```

`list` returns matching pieces as schema.org items, `summarize` adds an answer from Ask, and `"prefer": {"streaming": true}` (or `Accept: text/event-stream`) streams the results as server-sent events. GET works too: `https://www.sam-page.com/ask?query=...`.

## A2A

```bash
curl -s https://www.sam-page.com/a2a -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"message/send","params":{"message":{"role":"user","messageId":"1","parts":[{"kind":"text","text":"What does Sam advise on?"}]}}}'
```

## Search

```bash
curl -s 'https://www.sam-page.com/api/search?q=go-to-market&limit=5'
```

Returns `{"query": "...", "results": [{"title", "url", "kind", "date", "summary", "themes", "markdown", "score"}]}`.

## Contact and the newsletter

`POST https://www.sam-page.com/api/enquire` with `{"name", "email", "company", "need"}` sends me an enquiry, and `POST https://www.sam-page.com/api/subscribe` with `{"email"}` signs someone up to The Friday Takeaway. Only do either when the person has asked you to and approved what's sent.

## Errors

REST endpoints return `{"error": {"code": "...", "message": "..."}}`, with `INVALID_QUERY` (400), `NOT_FOUND` (404), `RATE_LIMITED` (429) or `UNAVAILABLE` (503). MCP and A2A use JSON-RPC errors, and MCP tool failures come back as results with `isError: true` and a code. NLWeb uses its own failure response, with codes such as `NO_RESULTS` and `RATE_LIMITED`.

## Versions and changes

This is version 1.0. Additions can come at any time. Nothing here will change in a way that breaks callers without at least 30 days' notice on this page and in llms.txt.

- 4 December 2026: first version.

## Privacy

Questions and enquiries are saved and emailed to me, as they are from the website. Please don't put personal details in a question. More in [Privacy](https://www.sam-page.com/privacy).
