Listed from the MCP registry; nobody on Odel publishes it.
Is this yours? Claim itLectionary readings (RCL, BCP Daily Office, Catholic) and liturgical calendar tools.
One address for any MCP client. No sign-in needed on this server.
6 read
Grouped by tool name. At most: only reads or looks up information.
Odel charges nothing per call. The publisher may charge for its own service.
Lectio API is a free, open-source Revised Common Lectionary API, liturgical calendar API, Book of Common Prayer Daily Office API, and Catholic lectionary API. Churches, apps, and assistants can fetch today's readings, a date's lectionary, or the current RCL year (A, B, or C) over HTTP.
curl "https://lectio-api.org/api/v1/readings/today?tradition=rcl&tz=America/New_York"
Interactive docs live at lectio-api.org/api/docs. The FAQ covers today's readings, the current RCL year, and the Daily Office (also in docs/FAQ.md). Machine-readable entry points: OpenAPI, llms.txt. A Model Context Protocol server is included for assistants (package). Built with Node.js, Express, and TypeScript.
A Model Context Protocol server is included in mcp-server/ and is served over official Streamable HTTP at https://lectio-api.org/mcp once this change is deployed. The health check is at /mcp/health. Local stdio (Claude Desktop, Cursor, MCPB) still works from the mcp-server package.
Canonical tools, all snake_case verb_noun, sharing date, tz, and tradition where they apply:
| Tool | Purpose |
|---|---|
get_readings | Readings for today, a YYYY-MM-DD date, or a startDate/endDate range |
get_calendar | Season, cycle, year overview, feast lookup, upcoming holy days, or factual context for a date |
list_traditions | Metadata for rcl, catholic, episcopal, and bcp |
search_lectionary | Find readings by season or feast name (not by scripture reference) |
Deprecated aliases kept for one release: explore_calendar → get_calendar, analyze_liturgical_context → get_calendar with focus=context. Resources include lectionary://today and lectionary://traditions. Prompts include prepare_sermon_readings. See mcp-server/README.md for configuration, the tool mapping, and the registry server.json (not published until you run mcp-publisher).
git clone https://github.com/asachs01/lectio-api.git
cd lectionary-api
npm install
cp .env.example .env
# Edit .env with your configuration
npm run dev
The API will be available at http://localhost:3000
All detailed documentation is located in the /docs directory:
/docs/FAQ.md — Today's readings, the current RCL year, Daily Office, and traditions (also at https://lectio-api.org/faq)/docs/DATABASE_*.md - Schema, setup, and optimization guides/docs/OBSERVABILITY.md - Monitoring and telemetry setup/docs/MIGRATION_GUIDE.md - Database migration procedures/docs/ENTITY_DIAGRAM.md - Database relationship diagramsOnce the server is running, access the interactive API documentation at:
http://localhost:3000/api/docshttp://localhost:3000/api/docs.jsonGET /health - Health status of the APIGET /api/v1/traditions - Get all lectionary traditionsGET /api/v1/traditions/:id - Get specific traditionGET /api/v1/traditions/:id/seasons - Get seasons for a traditionGET /api/v1/readings/today - Get today's readingsGET /api/v1/readings?date=YYYY-MM-DD - Get readings for a specific dateGET /api/v1/readings/range?start=YYYY-MM-DD&end=YYYY-MM-DD - Get readings for a date rangeGET /api/v1/calendar/current - Get current liturgical calendar infoGET /api/v1/calendar/:year - Get calendar for a specific yearGET /api/v1/calendar/:year/seasons - Get seasons for a year# Run all tests
npm test
# Run tests with coverage
npm run test:coverage
# Run tests in watch mode
npm run test:watch
# Run type checking
npm run typecheck
# Run linting
npm run lint
# Build the application
npm run build
# Start production server
npm start
Key environment variables (see .env.example for full list):
NODE_ENV=production
PORT=3000
DB_HOST=localhost
DB_PORT=5432
DB_NAME=lectionary_api
DB_USERNAME=postgres
DB_PASSWORD=your_password
REDIS_URL=redis://localhost:6379
JWT_SECRET=your_jwt_secret
lectionary-api/
├── src/
│ ├── controllers/ # Route handlers
│ ├── services/ # Business logic
│ ├── models/ # Data models
│ ├── middleware/ # Express middleware
│ ├── routes/ # API routes
│ ├── config/ # Configuration files
│ ├── utils/ # Utility functions
│ └── types/ # TypeScript type definitions
├── tests/
│ ├── unit/ # Unit tests
│ ├── integration/ # Integration tests
│ └── e2e/ # End-to-end tests
├── docs/ # Documentation
└── dist/ # Compiled JavaScript
# Build Docker image
docker build -t lectionary-api .
# Run with Docker Compose
docker-compose up
This project is configured for automated deployment to DigitalOcean App Platform.
DigitalOcean Account: Create an account at DigitalOcean
doctl CLI: Install the DigitalOcean command-line tool:
# macOS
brew install doctl
# Linux
snap install doctl
# Or download from: https://docs.digitalocean.com/reference/doctl/how-to/install/
Authentication: Configure doctl with your API token:
doctl auth init
The project includes a GitHub Actions workflow that automatically deploys on push to the main branch.
DIGITALOCEAN_ACCESS_TOKENmain branch to trigger deploymentUse the included deployment script for one-command deployment:
# Deploy to DigitalOcean
./scripts/deploy.sh
# View deployment logs
./scripts/deploy.sh logs
# Get app URL
./scripts/deploy.sh url
# Destroy deployment
./scripts/deploy.sh destroy
# Validate app configuration
doctl apps spec validate app.yaml
# Create new app
doctl apps create --spec app.yaml
# Update existing app
APP_ID=$(doctl apps list --format ID,Name --no-header | grep "lectio-api" | awk '{print $1}')
doctl apps update $APP_ID --spec app.yaml
The deployment is configured in app.yaml:
Production secrets should be set in the DigitalOcean dashboard:
JWT_SECRET: Strong random string (32+ characters)DB_PASSWORD: Will be auto-generated if using managed databaseREDIS_URL: Will be auto-configured if using managed RedisAfter deployment, validate the API is working:
# Get the app URL
APP_URL=$(doctl apps get <app-id> --format DefaultIngress --no-header)
# Test health endpoint
curl https://$APP_URL/health
# Test API documentation
open https://$APP_URL/api/docs
# Test sample endpoint
curl https://$APP_URL/api/v1/traditions
# View real-time logs
doctl apps logs <app-id> --follow
# View deployment history
doctl apps list-deployments <app-id>
# Get app metrics
doctl apps get <app-id>
The default configuration uses:
For production workloads, consider:
git checkout -b feature/new-featurenpm testgit commit -m 'Add new feature'git push origin feature/new-featureThis project is licensed under the MIT License - see the LICENSE file for details.
For more information, visit the API documentation or contact the development team.