MCP.so
Sign In

MCP Expr-Lang

@ivan-saorin

Basic information

Category

Other

License

MIT

Transports

stdio

Author

ivan-saorin

Submitted by

Ivan Saorin

About MCP Expr-Lang

MCP Server around https://expr-lang.org

MCP Expr-Lang config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "eval": {
      "command": "/path/to/mcp-expr-lang/bin/server"
    }
  }
}

MCP Expr-Lang tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is MCP Expr-Lang?

MCP Expr-Lang is an expression evaluation tool for Claude Desktop that integrates the expr-lang evaluation engine via the Model Context Protocol. It allows users to perform complex calculations, data transformations, and array/object manipulations directly within Claude conversations.

How to use MCP Expr-Lang?

Install by cloning the repository, building the Go binary (Go 1.18+ required), and configuring Claude Desktop’s config.json with the path to the server binary under the "eval" key. After restarting Claude, use the eval tool by asking Claude to evaluate an expression.

Key features of MCP Expr-Lang

  • Evaluate mathematical and logical expressions
  • Transform, filter, and reduce arrays and objects
  • Sort complex data structures
  • Perform string manipulations (concatenation, length, case)
  • Use conditional logic (ternary, if-else)
  • Built-in math, string, array, and date functions

Use cases of MCP Expr-Lang

  • Calculate arithmetic or Boolean expressions during a conversation
  • Sort a list of users by age or other attributes
  • Filter and transform JSON datasets on the fly
  • Validate data with conditional logic or string operations

Frequently asked questions

1

What prerequisites are required?

Go 1.18 or higher, Claude Desktop application, and Git. ###

Comments

More Other MCP servers