# API — Lighthill PC

Lighthill PC publishes a small, read-only API so AI agents and developer tools can read our trade alerts and firm information directly. It is a Model Context Protocol (MCP) server over Streamable HTTP: every operation is a JSON-RPC 2.0 message POSTed to one endpoint. No key or account is required, and nothing is written; https://www.lighthill.law/auth.md states this for agents that look for registration instructions.

## Endpoint

`POST https://www.lighthill.law/mcp` with `Content-Type: application/json`. Supported methods: `initialize`, `tools/list`, `tools/call`. GET returns 405.

## Tools

- **list_trade_alerts** — every alert with date, title, summary, and URL, newest first. No arguments.
- **read_trade_alert** — full text of one alert. Argument: `url` (alert URL or slug).
- **contact_lighthill** — email, phone, address, and LinkedIn for the firm. No arguments.

## Example

```
curl -X POST https://www.lighthill.law/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"list_trade_alerts","arguments":{}}}'
```

Results come back as MCP content blocks: `result.content[0].text` holds JSON for list and contact calls and plain text for a single alert.

## Machine-readable descriptions

- OpenAPI 3.1: https://www.lighthill.law/openapi.json
- API catalog (RFC 9727): https://www.lighthill.law/.well-known/api-catalog
- MCP server card: https://www.lighthill.law/.well-known/mcp/server-card.json
- Health: https://www.lighthill.law/health
- Site summary for agents: https://www.lighthill.law/llms.txt
- Agent authentication (none required): https://www.lighthill.law/auth.md

## Markdown for every page

Each page has a Markdown twin. Send `Accept: text/markdown` or append `.md` to the path, e.g. https://www.lighthill.law/alerts/index.md.

## Terms

Content may be cited and summarized in search and AI answers with attribution, but not used to train models. The Terms of Use (https://www.lighthill.law/terms) apply. Nothing returned by this API is legal advice, and using it does not create an attorney-client relationship. Questions: contact@lighthill.law.
