MCP.so
登录

MCP Expr-Lang

@ivan-saorin

基本信息

分类

其他

许可证

MIT

传输方式

stdio

作者

ivan-saorin

提交者

Ivan Saorin

关于 MCP Expr-Lang

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

MCP Expr-Lang 配置

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

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

MCP Expr-Lang 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 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

常见问题

1

What prerequisites are required?

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

评论

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