An Caighdeán Oifigiúil MCP Server
Dedicated Model Context Protocol (MCP) server for the statutory text of An Caighdeán Oifigiúil (2017) in Irish (ga) and English (en).
Browse An Caighdeán OifigiúilGeneral guides: Grammar.ie MCP Server
Endpoints
| Transport | Method | URL |
|---|---|---|
| Streamable HTTP (JSON-RPC 2.0) | POST | https://grammar.ie/caighdean/mcp |
| Server-Sent Events (SSE) | GET | https://grammar.ie/caighdean/mcp/sse |
| SSE Session Messages | POST | https://grammar.ie/caighdean/mcp/messages?sessionId={id} |
Client Configuration
Streamable HTTP (recommended)
{
"mcpServers": {
"caighdean-oifigiuil": {
"url": "https://grammar.ie/caighdean/mcp"
}
}
}SSE via mcp-remote
{
"mcpServers": {
"caighdean-oifigiuil": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://grammar.ie/caighdean/mcp/sse"]
}
}
}Available Tools
| Tool | Description |
|---|---|
list_chapters | Lists all 14 statutory chapters, preambles, and abbreviations with their section IDs and canonical URLs. |
get_section | Retrieves an exact statutory section or clause by ID (e.g. "1.1.4", "5.2.3", "noda") in ga (default), en, or both. |
get_chapter | Retrieves a complete chapter by ID ("1"–"11", "reamhra", "reamhra-1958", "noda"). |
search_caighdean | Searches across statutory sections by keyword, grammatical term, or section ID. |
Test with cURL
curl -X POST https://grammar.ie/caighdean/mcp \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "get_section",
"arguments": {
"section_id": "1.1.4",
"lang": "both"
}
}
}'