Mathjs vs Stata MCP

A side-by-side look at the Mathjs and Stata MCP MCP servers: transport, auth, tools, quality signals, and the config to install either one in Claude, Cursor, Windsurf or VS Code.

Mathjs logoMathjsData Science Tools · Local subprocess (stdio)Math.js MCP — wraps the mathjs.org API (free, no auth)52GoodAuth: not declaredStata MCP logoStata MCPData Science Tools · Local subprocess (stdio)Let LLM help you achieve your regression analysis with Stata57GoodAuth: no auth required

Verdict: choose Mathjs for data science tools work as a local process; choose Stata MCP for data science tools as a local process. You can also run both side by side in one mcpServers block.

Which MCP server should you choose?

Mathjs logoChoose Mathjs when

  • You need dedicated capabilities in the Data Science Tools domain.
  • You prefer a local stdio subprocess transport.
  • You want tools like evaluate, convert_units.
Explore Mathjs

Stata MCP logoChoose Stata MCP when

  • You need dedicated capabilities in the Data Science Tools domain.
  • You prefer a local stdio subprocess transport.
  • Its auth model fits you: No auth required.
  • You want tools like stata_do, get_data_info, help.
Explore Stata MCP

Feature & specification comparison

Rows where the two servers differ are marked.

SpecMathjs logoMathjsStata MCP logoStata MCP
CategoryData Science ToolsData Science Tools
Quality signal52/100 · Good57/100 · Good
Install commandConfirmedConfirmed
TransportLocal subprocess (stdio)Local subprocess (stdio)
AuthNot declaredNo auth required
PricingNot declaredFree
Required env varsNone listedNone listed
Verified ownerCommunity listingCommunity listing
GitHub stars0267
Directory activity 1 views 0 installs 0 upvotes 7 views 0 installs 0 upvotes
Tools24

Tools & capabilities

Mathjs tools 2

  • evaluateEvaluate mathematical expressions: arithmetic, algebra, trigonometry, statistics. Returns computed result. E.g., "2+2", "sin(pi/2)", "sqrt(16)", "mean([1,2,3])". Use when you need to calculate or simplify math.
  • convert_unitsConvert between units: length, weight, temperature, volume, time, etc. Returns converted value. E.g., "5 m to ft", "100 kg to lbs", "32 degF to degC". Use for unit conversions.

Stata MCP tools 4

  • stata_doExecute a Stata do-file and return the execution log. Accepts a do-file path, runs it via the configured Stata executable, and can optionally read log content only when return-code errors are detected. Use when you need to run Stata commands, perform regression or statistical analysis, or execute a do-file.
  • get_data_infoGet descriptive statistics and a data preview for a supported data file (.dta, .csv, .tsv, .psv, .xlsx, .xls, .sav, .zsav). Returns overview, variable details, and optional head rows filtered by requested variables. Use when you need to understand a dataset or have no prior knowledge of the data.
  • helpRetrieve documentation and usage information for a Stata command. Use when you need to understand a command's syntax, options, or troubleshoot errors before running it.
  • read_logRead a Stata log file (.log or .smcl) and return its content. Supports full, core, and dict output formats. Use `lines` to return only the first/last N lines.

Ready-to-paste client configs

Paste either block (or both) into your client config, e.g. claude_desktop_config.json or ~/.cursor/mcp.json. We only show a config when the install command is confirmed.

Mathjs

mcpServers (Claude Desktop / Cursor)
{
  "mcpServers": {
    "mathjs": {
      "command": "npx",
      "args": [
        "-y",
        "@pipeworx/mcp-mathjs"
      ]
    }
  }
}

Stata MCP

mcpServers (Claude Desktop / Cursor)
{
  "mcpServers": {
    "stata-mcp": {
      "command": "uvx",
      "args": [
        "stata-mcp"
      ]
    }
  }
}

Frequently asked questions

Mathjs is categorized under Data Science Tools and uses a local stdio subprocess. Stata MCP belongs to Data Science Tools and uses a local stdio subprocess. Pick Mathjs for data science tools work and Stata MCP for data science tools.

Copy the mcpServers block from the config section on this page into your client's config (for example claude_desktop_config.json or ~/.cursor/mcp.json), then fully restart the client.

Mathjs has no declared pricing — check the project's own site. Stata MCP is listed as free. Auth: no auth required. If a server needs environment variables such as API keys, define them under the env key in your client's MCP config.

Yes. MCP clients support multiple servers: add mathjs and stata-mcp as separate keys in the same mcpServers object, and your assistant will call tools from either one.

On AllMCPs, Mathjs has a quality signal of 52/100 (Good) with 1 views, 0 installs and 0 GitHub stars. Stata MCP has 57/100 (Good) with 7 views, 0 installs and 267 GitHub stars.