Stochastic-Thinking
MCP server from chirag127/Stochastic-Thinking-MCP-Server
claude mcp add --transport stdio chirag127-stochastic-thinking-mcp-server npm start \ --env PORT="optional runtime port" \ --env LOG_LEVEL="debug|info|warn|error"
How to use
Stochastic Thinking MCP Server exposes a single tool named stochasticalgorithm. This tool provides access to a suite of stochastic and probabilistic decision-making algorithms, including MDPs (with Q-learning and policy gradients), Monte Carlo Tree Search for planning, Multi-Armed Bandit strategies (epsilon-greedy, UCB, Thompson Sampling), Bayesian Optimization for parameter tuning under uncertainty, and Hidden Markov Models for time-series state inference. Use it to model complex decision processes, optimize long-horizon strategies, or explore different action sequences under uncertainty. The server is designed to integrate with your MCP-enabled assistant, allowing you to pass problem definitions, problem parameters, and desired algorithm configurations to obtain probabilistic decisions and policy-like guidance. An example payload demonstrates selecting an algorithm (mdp) and providing problem specifics and hyperparameters, which the server will process to return a structured result.
How to install
Prerequisites:
- Node.js and npm installed on your machine
- Access to the MCP server repository (or the npm package for the server)
Installation steps:
-
Install via Smithery (as described in the README): npx -y @smithery/cli install @chirag127/stochastic-thinking-mcp-server --client claude
-
Manual installation (alternative):
Clone the repository
git clone https://github.com/chirag127/Stochastic-Thinking-MCP-Server.git cd Stochastic-Thinking-MCP-Server
Install dependencies
npm install
Start the server
npm start
Additional notes
Notes and tips:
- The server exposes a single tool called stochasticalgorithm for applying stochastic algorithms to decision problems.
- If you’re using Smithery for installation, ensure you specify the client you’re integrating (e.g., claude).
- Typical runtime variables include the port (PORT) and log level (LOG_LEVEL) to control output verbosity.
- The npm package name to reference is @chirag127/stochastic-thinking-mcp-server; use the npm_package field to indicate this name when coordinating deployments.
- If you encounter port conflicts, adjust the PORT environment variable accordingly. Ensure that your MCP client can reach the server endpoint at the configured port.
Related MCP Servers
zen
Selfhosted notes app. Single golang binary, notes stored as markdown within SQLite, full-text search, very low resource usage
MCP -Deepseek_R1
A Model Context Protocol (MCP) server implementation connecting Claude Desktop with DeepSeek's language models (R1/V3)
mcp-fhir
A Model Context Protocol implementation for FHIR
mcp
Inkdrop Model Context Protocol Server
mcp-appium-gestures
This is a Model Context Protocol (MCP) server providing resources and tools for Appium mobile gestures using Actions API..
dubco -npm
The (Unofficial) dubco-mcp-server enables AI assistants to manage Dub.co short links via the Model Context Protocol. It provides three MCP tools: create_link for generating new short URLs, update_link for modifying existing links, and delete_link for removing short links.