Sym-MCP

Eis4TY/Sym-MCP
★ 2 stars Python AI/LLM Updated 4d ago
A secure, low-latency SymPy MCP server for agents/LLMs, with AST + runtime sandboxing, process pool prewarming, and compact JSON outputs for reliable auto-retry workflows.
View on GitHub → Try with Claude — $10 free →

Quick Install

Copy the config for your editor. Some servers may need additional setup — check the README.

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "sym-mcp": {
      "command": "uvx",
      "args": [
        "sym-mcp"
      ]
    }
  }
}

Or install with pip: pip install sym-mcp

README Excerpt

English | [中文版](README.zh.md) A production-focused MCP service that lets agents/LLMs run SymPy safely and efficiently. It combines AST policy checks, runtime resource limits, and prewarmed workers to deliver low-noise, parse-friendly results. - Single tool: `sympy` (input only requires `code`) - Prewarmed worker pool to avoid repeated `import sympy`

Tools (20)

E_AST_BLOCKE_INTERNALE_MEMORYE_RUNTIMEE_SYNTAXE_TIMEOUTE_WORKERINFOSYMMCP_EXEC_TIMEOUT_SECSYMMCP_HINT_LEVELSYMMCP_LOG_LEVELSYMMCP_MAX_OUTPUT_CHARSSYMMCP_MEMORY_LIMIT_MBSYMMCP_POOL_SIZESYMMCP_QUEUE_WAIT_SECcodeerrhintlineout