MCP.so
登录

MCP Expr-Lang

@ivan-saorin

关于 MCP Expr-Lang

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

基本信息

分类

其他

许可证

MIT

运行时

go

传输方式

stdio

发布者

ivan-saorin

提交者

Ivan Saorin

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

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

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

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

FAQ from MCP Expr-Lang

What prerequisites are required?

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

评论

其他 分类下的更多 MCP 服务器