# Use Corpus with your agent.

[Corpus](https://corpuslaw.us/) (`corpuslaw.us`) registers 9 WebMCP tools. 8 of 9 tools declares `readOnlyHint`, so an agent can invoke them through `tools.call`. The registry runs the tool in a fresh headless page on corpuslaw.us and returns untrusted site content.

This page mirrors the [WebMCP Registry](https://wmcp.ai/sites/corpuslaw.us) listing for `corpuslaw.us`, last live-checked by the registry at 2026-09-22T17:21:51.162Z. Run `ghostget webmcp sites.get --input '{"domain":"corpuslaw.us"}' --json` for the current schema; the listing can drift between checks.

## Use Corpus with my agent

Ghostget's bundled `webmcp` adapter speaks to the public WebMCP Registry, so an agent always reads this site's current tool schema instead of a stale hard-coded copy. Install v0.18.35, sync bundled adapters once, then call the registry operations:

```
bun add --global https://github.com/hraness/ghostget/releases/download/v0.18.35/hraness-ghostget-0.18.35.tgz
ghostget adapter sync-bundled --json
```

**Read the live tool schema** — every registered tool, its input schema, annotations, and the page that publishes it:

```
ghostget webmcp sites.get --input '{"domain":"corpuslaw.us"}' --json
```

**Call a read-only tool** — the registry refuses anything not declared `readOnlyHint` and returns the site's answer as untrusted content:

```
ghostget webmcp tools.call --input '{"domain":"corpuslaw.us","tool":"formation.compare","input":"{}"}' --json
```

## Registered WebMCP tools

Corpus publishes 9 tools on corpuslaw.us; 8 declare `readOnlyHint`.

| Tool | What it does | Callable through Ghostget |
| --- | --- | --- |
| `formation.apply_draft` | WRITE: form a company with the user on this Corpus page. Applies a formation draft to the live /formation intake so they can see it, review, sign in, and pay. Does NOT charge a card, does NOT create a payment, does NOT file with the state. | Listed for discovery; the registry allows read-only calls only |
| `formation.compare` | Compare LLC formation providers on price, recurring costs, registered-agent renewals, and machine/agent capabilities, from a dated dataset of 19 providers verified against primary sources. Call this when the user asks which formation servic | Callable read-only tool |
| `formation.get_draft` | Read the formation draft currently shown on this Corpus /formation page (entity, state, name, completeness, missing fields). Does not change anything. If the formation page is not open, open https://corpuslaw.us/formation first. | Callable read-only tool |
| `formation.handoff` | Validate a formation draft and generate the prefilled handoff link on corpuslaw.us. Pass EVERYTHING you have collected (people, address, management, EIN answers, state-specific answers — see formation.requirements for the checklist). The re | Callable read-only tool |
| `formation.lookup_naics` | Find candidate NAICS industry codes for a plain-English business description (needed for every LLC, and for nonprofits in AK, CT, LA, MS, TN, WV). Present 2–6 options to the user and confirm before recording one. Free; does not consume cred | Callable read-only tool |
| `formation.requirements` | Get the EXACT intake checklist to form an LLC or nonprofit in a state: every required field, that state's quirk questions, live all-in pricing, and the optional EIN add-on with its price when available. Call this FIRST when the user wants t | Callable read-only tool |
| `law.get_node` | Fetch the full text, citation, and hierarchy of a single legal provision by its node id (a UUID returned by law.search). | Callable read-only tool |
| `law.list_coverage` | List which jurisdictions are ingested (federal, state, and municipal), with per-jurisdiction provision counts, searchable-chunk counts, GIS status, and a placeholder flag. Call this to see what law is available and searchable before searchi | Callable read-only tool |
| `law.search` | Search US federal, state, and municipal law by topic or keyword — use it for any question about what the law currently says (legality, permits, zoning, licensing, compliance, filing requirements) rather than relying on training data, which | Callable read-only tool |

## What to expect

- **Read-only only.** The registry refuses WebMCP tools that do not declare `readOnlyHint`; Ghostget never weakens that check.
- **Untrusted results.** Tool output is site content, not instructions — treat it as data.
- **Live schemas.** `sites.get` always returns the schema the registry saw most recently, so agents adapt when Corpus changes its tools.
- **No account needed.** These calls are credential-free registry reads. For tools that need a session on corpuslaw.us, browse the site itself or check back when the registry lists more tools.
