Lets agents manipulate mathematical expressions symbolically with SymPy instead of computing them by hand.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add sympy -- uv run --with einsteinpy --with 'mcp[cli]' --with pydantic --with sympy mcp run server.py~/.codex/config.toml
[mcp_servers.sympy]
command = "uv"
args = ["run", "--with", "einsteinpy", "--with", "mcp[cli]", "--with", "pydantic", "--with", "sympy", "mcp", "run", "server.py"]
# codex mcp add sympy -- uv run --with einsteinpy --with 'mcp[cli]' --with pydantic --with sympy mcp run server.py~/.cursor/mcp.json
{
"mcpServers": {
"sympy": {
"command": "uv",
"args": [
"run",
"--with",
"einsteinpy",
"--with",
"mcp[cli]",
"--with",
"pydantic",
"--with",
"sympy",
"mcp",
"run",
"server.py"
]
}
}
}.vscode/mcp.json
{
"servers": {
"sympy": {
"type": "stdio",
"command": "uv",
"args": [
"run",
"--with",
"einsteinpy",
"--with",
"mcp[cli]",
"--with",
"pydantic",
"--with",
"sympy",
"mcp",
"run",
"server.py"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"sympy": {
"command": "uv",
"args": [
"run",
"--with",
"einsteinpy",
"--with",
"mcp[cli]",
"--with",
"pydantic",
"--with",
"sympy",
"mcp",
"run",
"server.py"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"sympy": {
"command": "uv",
"args": [
"run",
"--with",
"einsteinpy",
"--with",
"mcp[cli]",
"--with",
"pydantic",
"--with",
"sympy",
"mcp",
"run",
"server.py"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"sympy": {
"command": "uv",
"args": [
"run",
"--with",
"einsteinpy",
"--with",
"mcp[cli]",
"--with",
"pydantic",
"--with",
"sympy",
"mcp",
"run",
"server.py"
]
}
}
}