The LODA API MCP Server enables comprehensive interaction with LODA programs and OEIS integer sequences through a full-featured API.
Explore integer sequences: Retrieve detailed information about specific OEIS sequences by their A-number identifiers or search using keywords and names
Discover LODA programs: Access individual LODA assembly language programs by ID or search using keywords with pagination support
Execute LODA programs: Run LODA code to compute sequence terms with configurable term count and offset
Submit new programs: Contribute LODA program implementations for specific sequences
Monitor project statistics: View summary statistics about the LODA project's scope, growth, and browse all contributors with their contribution counts
LODA MCP Server
A Model Context Protocol (MCP) server for the LODA Language API, providing seamless access to the LODA language and integer sequences from the On-Line Encyclopedia of Integer Sequences® (OEIS®).
Available Tools
Tool | Description | Primary Use Case |
| Get details about a LODA program by ID | Analyze program implementations |
| Search for LODA programs | Find programs by keyword or ID |
| Evaluate a LODA program | Test and validate program correctness |
| Submit a new LODA program | Contribute new implementations |
| Get details about an integer sequence by ID | Research mathematical sequences |
| Search for integer sequences | Find sequences by keyword or ID |
| View LODA project summary statistics | Understand project scope and growth |
| List all keywords and their descriptions | Explore available keywords |
| List all submitters and their number of programs | See top contributors |
Quick Start
Prerequisites
Node.js 18.0.0 or higher
npm 8.0.0 or higher
Installation
Install dependencies:
npm installBuild the server:
npm run buildTest the installation:
npm run test-connection # Test API connectivity npm start # Start the server locallyRun in HTTP server mode:
npm start -- -p 8080
Development Workflow
Configuration
Claude Desktop Integration
Add to your Claude Desktop configuration file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
Environment Variables
Variable | Description | Default |
| LODA API endpoint override |
|