LODA API MCP Server
OfficialThe 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
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@LODA API MCP Serversearch for sequences containing prime numbers"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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
# Development with auto-rebuild
npm run dev
# Type checking
npm run type-check
# Clean build
npm run clean && npm run buildConfiguration
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
{
"mcpServers": {
"loda-api": {
"command": "node",
"args": ["/absolute/path/to/your/loda-mcp/build/index.js"],
"env": {
"LODA_API_BASE_URL": "https://api.loda-lang.org/v2"
}
}
}
}Environment Variables
Variable | Description | Default |
| LODA API endpoint override |
|
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/loda-lang/loda-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server