# OpenGrant MCP endpoint

This URL is a Model Context Protocol server (Streamable HTTP). Send JSON-RPC 2.0 requests with POST and `Content-Type: application/json`. No sign-in is needed.

Tools (read-only, no sign-in, public facts):
- `search_grants`: Search open, rolling and forthcoming UK grant schemes (deadline not yet passed) and return their public facts, soonest deadline first: funder, status, deadline, award range, where it applies, who can apply, the official guidance link and OpenGrant's canonical URL. Results are sorted soonest deadline first. Use closes_before for 'closing this month' questions. These are the same free facts listed in https://opengrant.co.uk/llms-full.txt; detailed criteria and application steps are on the funder's own guidance page (officialGuidanceUrl). Always tell users to confirm deadlines and eligibility there before applying. Set include_recently_closed to also find schemes that closed in the last 90 days (e.g. to answer 'what was the deadline for X'). `deadline` is a UK date (YYYY-MM-DD) when the source gave no time, otherwise an ISO instant; `deadlineUk` is the same in words. Page through results with offset; `total` is the full count.
- `get_grant`: Read the public facts for one grant scheme by its OpenGrant id (the UUID in https://opengrant.co.uk/opportunities/{id}). Works for open, forthcoming and recently closed schemes; a scheme whose deadline has passed is reported as closed.
- `get_funder`: Read a UK funder's public profile: type, charity or company number, website, register description and income, published 360Giving totals, its open, rolling and forthcoming schemes and its recently closed ones, each with its URL. Look a funder up by OpenGrant slug (from a funderUrl), UK charity number, or name (returns the closest matches if there is more than one).
- `count_matching_grants`: Count open, rolling and forthcoming UK grant schemes matching optional filters, with the same rules as search_grants. Returns a number and a link to the matching search on the website. Use search_grants to see the schemes themselves.
- `list_example_grants`: List up to three showcase grants whose full record (summary, criteria and contacts) is public. These are fixed examples, not search results; use search_grants to find schemes.
- `get_example_grant`: Read one showcase grant's full record by UUID. For any other grant use get_grant, which returns its public facts.

- Server card: https://opengrant.co.uk/.well-known/mcp/server-card.json
- Developer guide: https://opengrant.co.uk/developers
