openLCA MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| OLCA_PORT | No | The port on which the openLCA IPC server is running. In the setup example, this is set to '8080'. | 8080 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| olcabasic_runA | Run olcaBASIC code against openLCA, in a session that keeps its state between calls.
|
| olcabasic_helpA | The olcaBASIC command reference, straight from the language's command registry. Without a topic: the rules of the language, the commands most programs use and the name of every command (short; read it before the first olcabasic_run). With a topic (navigation, explore, build, edit, entities, parameters, calculate, result, scenarios, check, epd, output, programming, session) or a command name (for example 'MAKE PROCESS' or 'RESULT CONTRIBUTION'): syntax, an example and notes. |
| olcabasic_resetA | Clear the olcaBASIC session's state: variables, SUBs, folders, scenarios, last results and CONFIRM DELETE. The openLCA database is not touched and the connection stays open. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| Database Information | Overview of the connected openLCA database |
| LCA Assistant Instructions | IMPORTANT: Read this first. How to work with the user: when to ask, how to present results, how to check a model. Short; the rules of the language itself are in olcabasic_help. |
| openLCA IPC Protocol Reference | Complete JSON-RPC protocol specification for openLCA IPC. All 60 methods with parameter formats, response structures, curl examples, and known gotchas. Use this to help users connect to openLCA from any programming language. |
| openLCA Resources | Links to databases, documentation, forums, tutorials, and training courses. Use when someone asks where to learn openLCA, find data, or get help. |
TDQS
Scored across 3 tools
The three tools have distinct roles: help (documentation), run (execution), reset (state clearing). run's description is dense but its purpose is unambiguous relative to help and reset. Only minor overlap exists in that help's topic list overlaps with run's inline syntax summary.
All three follow a strict prefix_namespace_verb pattern (olcabasic_help, olcabasic_reset, olcabasic_run), consistent snake_case with a shared prefix.
Three tools is thin for a language-driven server, but a REPL-style design (help/run/reset) is a coherent minimal surface. It earns its tools, though help doubles as both overview and reference, and one might expect at least a session-inspection or status tool.
Execution, documentation and session reset cover the essential lifecycle for a code-execution MCP. Gaps are modest: no read-only query/validate tool distinct from dry_run, and no way to list or resume sessions, but dry_run and reset largely compensate.