io.github.DennisPrediger/slac-mcp

Official registry Developer tools

MCP server exposing SLAC (Simple Logic & Arithmetic Compiler) as tools for LLM agents

Install

Add this to your client's MCP configuration (Claude Desktop: claude_desktop_config.json; Cursor: .cursor/mcp.json; VS Code and others use the same "mcpServers" shape).

NPM package slac-mcp
Claude Code
claude mcp add slac-mcp -- npx -y slac-mcp@1.1.1
JSON configuration (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "slac-mcp": {
            "command": "npx",
            "args": [
                "-y",
                "slac-mcp@1.1.1"
            ]
        }
    }
}

Documentation

From the project's README on GitHub, refreshed weekly. Links open on GitHub.

Contents
  1. slac-mcp
  2. Tools
  3. Usage
  4. Development
  5. License

slac-mcp

MCP server exposing SLAC (Simple Logic & Arithmetic Compiler) as tools for LLM agents.

Tools

ToolParametersDescription
evaluateexpression: stringCompiles and evaluates a SLAC expression, returns the result
get_syntaxnoneReturns the full SLAC language reference (syntax, operators, functions, examples)

Usage

cargo run

The server communicates over stdio using the Model Context Protocol.

Output Format

By default, evaluate returns the Rust Display representation of the result. Set OUTPUT_FORMAT=JSON to get serialized JSON instead

With MCP Inspector
npx @modelcontextprotocol/inspector cargo run
Example expressions
1 + 2
max(10, 20) + 1
'hello' + ' ' + 'world'
len('test') > 2 ? 'long' : 'short'

Development

cargo build
cargo run

Requires Rust 1.85+ (edition 2024).

License

Copyright 2026 Dennis Prediger

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Frequently asked questions

What is io.github.DennisPrediger/slac-mcp?

MCP server exposing SLAC (Simple Logic & Arithmetic Compiler) as tools for LLM agents

How do I install io.github.DennisPrediger/slac-mcp?

It runs on your machine. In Claude Code: claude mcp add slac-mcp -- npx -y slac-mcp@1.1.1. For other clients, paste the JSON configuration from this page into their MCP settings.

Does io.github.DennisPrediger/slac-mcp need an API key?

Its registry entry lists no required key or secret. Some features may still need an account with the service it connects to.

Is io.github.DennisPrediger/slac-mcp open source?

Yes. Its code is on GitHub under the Apache-2.0 license.

Who maintains io.github.DennisPrediger/slac-mcp?

It is published by DennisPrediger. AI.tn lists it but does not maintain or endorse it.

From the official MCP Registry. Listing is not an endorsement: review a server's code and permissions before giving it access to your data.