mpl_mcp_plot_barchart
Plots barchart of given datavalues
Do the numeric and symbolic maths, and plot the result, without writing the script.
LABSCO SUMMARY
The symbolic half is what matters: an integral or an eigenvalue comes back computed by SymPy rather than recalled, and the plotting tools then draw whatever you just worked out.
A FastMCP server in three parts: Matplotlib plotting, NumPy numeric work, and SymPy symbolic algebra and calculus.
Python 3.12 or higher and uv. Cloned from the repository and launched through its setup.sh from the client config.
Build from source
USE CASES
diff, integrate, limit and series run in SymPy, so the result is computed rather than remembered.
Plot the equation itself rather than sampling it into points first.
Line, bar and scatter from the same values, so you can try the shape that reads best.
solve, solveset, linsolve and nonlinsolve are all exposed, alongside matrix determinant, inverse, rref and eigenvalues.
Stem plots for discrete data, stacked area or bar charts for parts of a whole.
Listed in project code.
mpl_mcp_plot_barchartPlots barchart of given datavalues
mpl_mcp_plot_scatterPlots scatter chart of given datavalues
mpl_mcp_plot_chartPlots line/scatter/bar chart of given datavalues
mpl_mcp_plot_stemPlots stem chart of given datavalues
mpl_mcp_plot_stackPlots stacked area/bar chart of given datavalues
mpl_mcp_eqn_chartPlots mathematical equations
numpy_mcp_numerical_operationDo numerical operation like add, sub, mul, div, power, abs, exp, log, sqrt, sin, cos, tan, mean, median, std, var, min, max, argmin, argmax, percentile, dot, matmul, inv, det, eig, solve, svd
numpy_mcp_matlib_operationDo matrix operations: rand-mat, zeros, ones, eye, identity, arange, linspace, reshape, flatten, concatenate, transpose, stack
sympy_mcp_algebra_operationDo algebraic operations like simplify, expand, factor, collect
sympy_mcp_calculus_operationDo calculus operations like diff, integrate, limit, series
sympy_mcp_equation_operationDo symbolic equation operations like solve, solveset, linsolve, nonlinsolve
sympy_mcp_matrix_operationDo symbolic matrix operations like create, det, inv, rref, eigenvals
BEFORE YOU INSTALL
12 tools registered in the project's code.
INSTALLATION
git clone https://github.com/abhiphile/fermat-mcp{
"servers": {
"fmcp": {
"command": "bash",
"args": [
"<YOUR_MCP_SERVER_ABSOLUTE_PATH>/setup.sh"
],
"description": "fmcp server is for mathematical computations, including numerical and symbolic calculations, as well as plotting."
}
}
}<YOUR_MCP_SERVER_ABSOLUTE_PATH> is the full path of the fermat-mcp folder that git clone created. setup.sh creates a uv virtual environment, installs the dependencies and starts the server.
{
"mcpServers": {
"fmcp": {
"command": "bash",
"args": [
"<YOUR_MCP_SERVER_ABSOLUTE_PATH>/setup.sh"
],
"description": "fmcp server is for mathematical computations, including numerical and symbolic calculations, as well as plotting."
}
}
}<YOUR_MCP_SERVER_ABSOLUTE_PATH> is the full path of the fermat-mcp folder that git clone created. setup.sh creates a uv virtual environment, installs the dependencies and starts the server.
{
"mcpServers": {
"fmcp": {
"command": "uv",
"args": [
"--directory",
"<YOUR_MCP_SERVER_ABSOLUTE_PATH>",
"run",
"server.py"
]
}
}
}<YOUR_MCP_SERVER_ABSOLUTE_PATH> is the full path of the fermat-mcp folder that git clone created.
npx -y @smithery/cli install @abhiphile/fermat-mcp --client gemini