Conm Llama
FreeNot checkedPython cli tool using mcp protocol and llama-8b using groq api to calculate roots of a quadratic eqn.
About
Python cli tool using mcp protocol and llama-8b using groq api to calculate roots of a quadratic eqn.
README
A Python-based Command Line numerical methods solver that uses the Model Context Protocol (MCP) to find roots of quadratic equations using various numerical methods.
Features
- Bisection Method: Finds roots within a given interval
- Newton-Raphson Method: Fast convergence with single initial guess
- Secant Method: Similar to Newton-Raphson but doesn't require derivative
- Quadratic Formula: Direct calculation of all roots
- Interactive Mode: Custom input support for solving any quadratic equation
- AI-Powered: Uses Groq LLM to intelligently choose and apply methods
Installation
Clone project
git clone https://github.com/Bojji3487/mcp-conm-llamaInstall dependencies:
uv add -r requirements.txtSet up your Groq API key:
- Get an API key from Groq Console
- Create a
.envfile and add your key:
GROQ_API_KEY=your_key_here
Usage
Interactive Mode (Default)
python client.py
This launches an interactive menu where you can:
- Solve custom equations with your choice of method
- Run predefined test examples
- Ask free-form questions about numerical methods
Test Mode
python client.py --test
Runs a suite of predefined test cases to demonstrate all methods.
Example Custom Input Session
🔢 NUMERICAL METHODS SOLVER - Interactive Mode
============================================================
Options:
1. Solve a custom equation
2. Run test examples
3. Free-form question
4. Exit
Select option (1-4): 1
📐 Enter quadratic equation coefficients (ax² + bx + c = 0):
a = 1
b = -5
c = 6
🔧 Select a method:
1. Bisection Method
2. Newton-Raphson Method
3. Secant Method
4. Find all roots (Quadratic Formula)
5. Let AI choose the best method
Enter choice (1-5): 4
🔄 Processing...
📊 Result:
The quadratic formula gives us two real roots: x₁ = 3.000000 and x₂ = 2.000000
Special features
- Annotated Return Types: Added proper type hints for function returns
- Descriptive Error Handling: Descriptive error messages with actual values
- Interactive Client: Menu Driven interactive client that answers using AI
- Custom Input Support: Users can input any quadratic equation
- Additional Tool: Added
find_all_rootsusing the quadratic formula - Iteration Tracking: Shows number of iterations for convergence
- uv managed project: This is a uv project that uses uv, a fast alternative to pip...As well as uv starter project using
uv init
Mathematical Background
The solver handles equations of the form: ax² + bx + c = 0
- Bisection Method: Good ol' reliable but slower, requires interval with sign change, best for checking answer when your other methods are uncertain
- Newton-Raphson: Fast convergence, may fail if derivative is zero, easy AF tho....
- Secant Method: Good alternative when derivative is hard to compute, never used it much tbh.
- Quadratic Formula: Direct solution, handles complex roots
Troubleshooting
- "GROQ_API_KEY not found": Make sure your
.envfile exists and contains your API key - Import errors: Install all requirements using
uv add -r requirements.txt
License
MIT License - Feel free to modify and use as needed!
Installing Conm Llama
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/Bojji3487/mcp-conm-llamaFAQ
Is Conm Llama MCP free?
Yes, Conm Llama MCP is free — one-click install via Unyly at no cost.
Does Conm Llama need an API key?
No, Conm Llama runs without API keys or environment variables.
Is Conm Llama hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Conm Llama in Claude Desktop, Claude Code or Cursor?
Open Conm Llama on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
GitHub
PRs, issues, code search, CI status
by GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
by mcpdotdirectCompare Conm Llama with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All development MCPs
