Guide
Gianna for AI agents
Connect Claude, ChatGPT, Codex, Cursor, or any MCP client to Gianna for the liturgical calendar, exact prayers and Scripture, novenas, Mass and Confession times, and your own reminders and tasks.
Updated 2026-10-02 · View resource
Gianna runs an MCP server at https://gianna.chat/mcp. Connect your AI agent
to it and the agent can:
- look up any day's feast, season, colour, readings, and holy days in the Ordinary Form, the 1962 calendar, or the Dominican calendar;
- quote Scripture and common prayers exactly, from public-domain sources;
- find and start a novena, then mark each day prayed;
- find a church and its Mass and Confession times, with the source and the date each time was checked;
- look up saints, relics, apparitions and Eucharistic miracles, the lineage of bishops, and parish groups;
- find jobs where Catholics want to hire Catholics for any kind of work;
- add tasks, set reminders, and keep prayer intentions in your Gianna household, which Gianna then delivers on the web, by email, or on Telegram.
General-purpose models often misremember prayers and feast days and make up Mass times. Gianna's tools return checked text and dates, with the source.
Catholic reference data (the liturgy, Scripture, prayers, teaching, churches, saints, relics, lineage, groups and jobs) is free with a Gianna account. Acting on a household needs a plan. The Terms do not allow reselling the data or copying it in bulk.
Connect by signing in
No key needed. Gianna asks you to sign in and approve the connection. If you have no account yet, create a free one on the same page. It needs no card.
- Claude (web and desktop): open Settings, Connectors, choose Add
custom connector, and enter
https://gianna.chat/mcp. - ChatGPT: turn on Developer mode in Settings, Security and login.
Then open Plugins, choose +, and enter
https://gianna.chat/mcp. - Codex: run
codex mcp add gianna --url https://gianna.chat/mcp, thencodex mcp login giannato open the sign-in page in your browser.
On the approval page, leave Also add and change ticked if the assistant should set reminders, add tasks, and keep your novena. The connection appears in Settings, Developer access, where you can disconnect it.
A browser with a built-in agent that supports WebMCP can use the same tools while you are signed in to gianna.chat in that browser. It acts as you, with your plan's limits, and the browser asks you before it changes anything. In the app it can also open a section or send Gianna a message in your chat.
Sign in an agent with a code
Any agent that can make HTTP requests can sign you in without a key or a
browser of its own, using the OAuth device flow (RFC 8628). Give it
https://gianna.chat/onboard.md and it does this:
- It asks Gianna for a code:
POST /oauth/device_authorizationwith{"client_name": "Claude Code"}. - It shows you a link to
https://gianna.chat/activateand a code such asBCDF-GHJK. Open the link, sign in or create a free account, check the code matches, and approve. - It polls
POST /oauth/tokenwithgrant_type=urn:ietf:params:oauth:grant-type:device_codeand itsdevice_codeuntil you decide, then receives its key.
An agent you approve can do whatever you can do in Gianna. It appears in Settings, Developer access, where you can see what it changed and disconnect it. Codes expire after 30 minutes.
The Gianna skill
The skill tells an agent when to use Gianna's tools and how: quote prayers
exactly, cite Mass time sources, and check that an action succeeded. It is at
https://gianna.chat/skill.md in the Agent Skills format.
- Codex: save it as
~/.agents/skills/gianna/SKILL.md. - Claude Code: save it as
~/.claude/skills/gianna/SKILL.md.
mkdir -p ~/.agents/skills/gianna
curl -o ~/.agents/skills/gianna/SKILL.md https://gianna.chat/skill.md
Coding agents and other clients: use a key
1. Create a key
In Gianna, open Settings, Developer access and create an API key. Tick Allow changes if the agent should add tasks, reminders, intentions, or novenas. Copy the key; it is shown once.
Set it in your shell so the examples below can read it:
export GIANNA_API_KEY=gianna_...
2. Connect your agent
Claude Code
claude mcp add --transport http gianna https://gianna.chat/mcp \
--header "Authorization: Bearer $GIANNA_API_KEY"
Codex
To use a key instead of signing in, add to ~/.codex/config.toml:
[mcp_servers.gianna]
url = "https://gianna.chat/mcp"
bearer_token_env_var = "GIANNA_API_KEY"
Cursor
Add to ~/.cursor/mcp.json:
{
"mcpServers": {
"gianna": {
"url": "https://gianna.chat/mcp",
"headers": { "Authorization": "Bearer ${env:GIANNA_API_KEY}" }
}
}
}
VS Code
Add to .vscode/mcp.json:
{
"servers": {
"gianna": {
"type": "http",
"url": "https://gianna.chat/mcp",
"headers": { "Authorization": "Bearer ${env:GIANNA_API_KEY}" }
}
}
}
Gemini CLI
Add to ~/.gemini/settings.json:
{
"mcpServers": {
"gianna": {
"httpUrl": "https://gianna.chat/mcp",
"headers": { "Authorization": "Bearer $GIANNA_API_KEY" }
}
}
}
Any other MCP client
Use the Streamable HTTP transport and the URL https://gianna.chat/mcp, with
either the header Authorization: Bearer <your key> or OAuth 2.1 sign-in
(discovered from /.well-known/oauth-protected-resource/mcp).
Things to ask
- "What feast is it on Sunday, and what colour are the vestments?"
- "Give me the exact text of the Apostles' Creed in Latin."
- "Start the novena to St Joseph and remind me at 7am each day."
- "When is Confession at St Mary's in Cambridge this Saturday?"
- "Add an intention for my aunt's recovery."
- "Is the Ascension a holy day of obligation in England and Wales this year?"
Tools
| Tool | What it does | Scope |
|---|---|---|
get_liturgical_day | A day's celebration, rank, colour, saints, readings, or Office hour | liturgy:read |
get_scripture | Exact Bible text with its citation | liturgy:read |
get_prayer | Exact text of a common prayer, in English or Latin | liturgy:read |
find_novena | Find a novena for a saint, feast, or need | liturgy:read |
find_church_teaching | Read the Catechism and Church documents from vatican.va | liturgy:read |
find_catholic_sources | Find reliable Catholic sources on a question | liturgy:read |
find_churches | Churches near a place | directory:read |
get_church_times | A church's Mass and Confession times, with source | directory:read |
find_saints, get_saint | Saints by name, title or patronage, and one saint's full record | reference:read |
find_people, get_person | Shared profiles for saints, clergy and office holders, with exact linked records | reference:read |
find_offices, get_office | Offices with current, appointed and recorded previous holders | reference:read |
find_relics, get_relic | Relics, apparitions and Eucharistic miracles, by name, saint or place | reference:read |
get_lineage | Who consecrated a bishop, back as far as the records go | reference:read |
find_dioceses | Sourced dioceses, offices of the Holy See and religious institutes, with current office holders | reference:read |
find_groups | Parish groups to join | reference:read |
find_jobs | Catholics hiring Catholics for paid jobs, contract work and volunteer roles in any field | reference:read |
list_tasks, list_reminders, list_routines | Your household's plans | household:read |
list_prayer_intentions, get_active_novena | Your prayer life in Gianna | household:read |
find_memories, get_parish | What Gianna remembers, and your parish | household:read |
add_task, complete_task, update_task, remove_task, reopen_task | Change tasks | household:write |
add_reminder, update_reminder | Set and change reminders | household:write |
add_prayer_intention, update_prayer_intention, mark_prayer_intention_prayed | Keep intentions | household:write |
start_novena, complete_novena_day, update_novena_intention, add_novena_intention | Keep novenas and offer them for prayer-list intentions | household:write |
add_memory | Ask Gianna to remember something | household:write |
mark_relic_visited | Record a visit in your pilgrimage journal | household:write |
add_group_join_request, add_job_interest_request | Ask your approval to join a group or send interest in a job | household:write |
get_approval_request | Whether you approved, declined, or have not yet answered | household:read |
report_problem | Tell Gianna's maintainers that a tool errored or returned something wrong | any key |
reference:read covers every reference tool, including those marked
liturgy:read and directory:read; keys made with those two scopes keep
working. A key without a scope does not see that scope's tools.
Results
Every tool returns structuredContent in one shape, published as each tool's
outputSchema:
| Field | Meaning |
|---|---|
text | The tool's full answer, the same text as the result's content, including prayers, passages and lists |
status | What the tool did: observed, applied, no_change, or a failure such as invalid_arguments or rejected |
state_changed | true only when the call changed stored state |
verified | For a change, true when Gianna read the records back and found them changed exactly as reported; null when there is nothing to check or it cannot be read back (memory) |
records | Typed items, each with a type and an id that never changes |
sources | Titles and links behind the answer |
receipt | A sentence safe to show the user |
replayed | true when this is the stored result of an earlier call with the same idempotency key |
Record types: person (a shared person UUID), office (an institution/key),
saint (the id is a slug such as therese-of-the-child-jesus),
relic, bishop, see (a diocese or other see, with its office holders),
group, job, location (a church or shrine, with its
service times), and, for changes, task, reminder, intention, novena and
relic_visit with change set to created, updated or removed.
Your approval
Connecting an agent already needs your sign-in and approval, and changes need Also add and change (or a key with Allow changes). Anything that would share your details with someone else, such as asking to join a group or sending interest in a job, goes further: the agent files a request, Gianna emails you, and nothing is sent until you approve it in Settings, Developer access, where you see exactly what would be shared and with whom. Requests expire after seven days. The same page lists every change agents made, and revoking a key stops its agent at once.
Safe retries
Send _meta.idempotencyKey with a change (or an Idempotency-Key header). If
the connection drops, send the same call with the same key: Gianna returns the
first result instead of acting twice. Completed receipts survive restarts and
replay for 24 hours. Reusing a key for a different call is an error. If a request
is still in progress or its outcome is uncertain, read the affected records
before making another change. Do not bypass that result with a new key. After
24 hours, check the current state before repeating an action.
Read status alongside state_changed: observed is a read, applied reports
a change, and no_change may mean the requested state already exists. Use the
receipt to explain why nothing changed. A replay reports the original outcome;
it does not mean a new action ran.
Adding saints and relics
POST /registry/v1/import adds or updates registry records in bulk, as the
person who signed the agent in. Curators may add and update saints and relics;
anyone may add relics, which show as not yet reviewed until a curator checks
them, and may update their own until then. Send "dry_run": true first to see
what would change.
Link a relic with saint_person_id, using the UUID returned by a people read.
The legacy saint_slug remains supported as a stable page key. If both are
provided they must identify the same person. Do not pass a display name.
{
"dry_run": true,
"saints": [
{ "slug": "therese-of-the-child-jesus", "biography": "…",
"patronages": ["missions"], "death_date": "1897-09-30",
"sources": [{ "citation": "…", "url": "https://…" }] }
],
"relics": [
{ "id": "6f1c…", "name": "…", "kind": "first_class",
"saint_slug": "therese-of-the-child-jesus",
"latitude": 49.14, "longitude": 0.23, "place_name": "Lisieux",
"sources": [{ "citation": "…", "url": "https://…" }] }
]
}
A saint's slug is the address of its page; a known slug is filled in (fields
you leave out are kept), and a new one needs a name. A relic's id is yours
to choose and stays its id; sending it again replaces the record. Dates are a
year, a full date, or a century such as 13c. Each item's result is
created, updated, unchanged, or skipped with the reason. Re-running
the same import changes nothing.
Without MCP
Maintaining people and offices
Groups of saints have common person identities of kind group, linked to their
individual members through group_memberships. Use relic_people to record
each directly attributed saint or group, place_dedications for a church's
dedication, and person_novenas for an exact novena catalogue association.
Each relation has its own UUID and recorded source. A group's relic must not be
silently attributed to every member. Saints and relics remain editable through
the existing /registry/v1/import contract.
The Registry API reads and edits public people,
institutions, offices, appointments, episcopal records and jurisdiction links.
Use /registry/v1/{kind}, where kind is people, places, sees, offices,
appointments, lineage_people, consecrations, transitions,
group_memberships, relic_people, place_dedications or person_novenas.
Office keys are {institution-slug}/{office-key}; other keys are UUIDs, except
jurisdictions, which use slugs. These resources are separate from Gianna login
accounts and household members.
places edits global churches, shrines, chapels and other locations. Supply
name, kind, latitude and longitude when creating a record. Optional fields
are also_known_as, website, address and notes. Services, contact details
and enrichment controls are outside this write contract. The place UUID remains
unchanged when its name changes; place_dedications.place_id uses that UUID.
Enrichment also advances the edit timestamp. An outdated edit returns 409.
Reads require reference:read. Writes require an account-bound bearer token
with household:write and the person's current curator or administrator role.
The same free reference access applies to agents. A token grants no additional
authority. Use POST to add a resource. To edit, read it first and send PUT
with its latest resource.updated_at as expected_updated_at. Omitted fields
are retained; explicit null clears an optional field. Send sources as
sources: [{citation, url}]. Names do not establish identity links.
For a batch, use POST /registry/v1/resources/import with
{resources: [{kind, key, data}], mode: "fill_missing", dry_run: true}.
Each batch contains at most 500 resources. Inspect the results before repeating
with dry_run: false. The default fill_missing preserves existing corrections
and reviewed records. Keep explicit IDs and send an Idempotency-Key so retries
do not duplicate work. Completed receipts survive restarts for 24 hours; stable
resource keys remain necessary after that window. A partial failure returns 207 with
complete: false, completed results and failed_index; inspect these before
resuming. A batch is not one transaction across all resources.
Server errors during read-only preflight release the key for a retry of the
same request. Uncertain outcomes after application starts keep the key reserved;
read the affected records before making another change.
- The Gianna API offers the same data and actions as plain
JSON over HTTPS:
/liturgy/v1,/directory/v1,/household/v1and/registry/v1, each with a public OpenAPI document listed at /.well-known/api-catalog. - The feast calendars work in any calendar app, with no key.
- A summary for language models is at /llms.txt.
Limits and privacy
- Requests are limited per household per minute. Past the limit you get
429withRetry-After. - Changes through an agent act as the account that created the key and appear in Gianna straight away.
- Revoke a key in Settings, Developer access at any time. The agent loses access on its next request.
- Gianna is software. It does not replace a priest, Confession, or spiritual direction.