About LLM
LLM is an MCP server published by sammcj in the AI category: an MCP server that provides LLMs access to other LLMs. Conduid read 4 tools from its source: ask_question, generate_code, generate_code_to_file and generate_documentation. It is published to npm as mcp-llm and starts with npx.
The repository has 83 stars and 14 forks, is licensed MIT, and its last commit was on 15 Mar 2025. The latest release is v1.0.6 (6 Mar 2025). It follows v1.0.5 (6 Mar 2025), and the 5 most recent releases go back to v1.0.2 (6 Mar 2025). It passes 4 of the 6 static checks Conduid ran on the repository; it does not pass Tests present and Scoped permissions. Its topics include llama, ollama and bedrock.
Install
claude mcp add mcp-llm -- npx -y mcp-llmnpx -y mcp-llmgit clone https://github.com/sammcj/mcp-llmTools (4)
ask_questionAsk a question to the LLM| Parameter | Type | Description |
|---|---|---|
| context | string | Additional context for the question |
| question * | string | Question to ask |
generate_codeGenerate code based on a description| Parameter | Type | Description |
|---|---|---|
| additionalContext | string | Additional context or requirements for the code |
| description * | string | Description of the code to generate |
| language | string | Programming language (e.g., JavaScript, Python, TypeScript) |
generate_code_to_fileGenerate code and write it directly to a file at a specific line number| Parameter | Type | Description |
|---|---|---|
| additionalContext | string | Additional context or requirements for the code |
| description * | string | Description of the code to generate |
| filePath * | string | Path to the file where the code should be written |
| language | string | Programming language (e.g., JavaScript, Python, TypeScript) |
| lineNumber * | number | Line number where the code should be inserted (0-based) |
| replaceLines | number | Number of lines to replace (0 for insertion only) |
generate_documentationGenerate documentation for code| Parameter | Type | Description |
|---|---|---|
| code * | string | Code to document |
| format | string | Documentation format (e.g., JSDoc, Markdown) |
| language | string | Programming language of the code |
Security checks
Static checks derived from the repository 10 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 334 words.
- ✓License declaredThe repository declares the MIT license.
- !Tests presentNo tests found. Behaviour changes may go unnoticed between versions.
- ✓Dependencies pinnedDependency versions are pinned by package-lock.json.
- ✓No dynamic code executionScanned 1 source file and found no eval, dynamic Function or shell execution.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
What the source scan found
- Transport
- stdiosrc/index.ts:9
- Starts other programs
- No calls that start other programs
- Outbound network calls
- No outbound network calls
- Writes or deletes files
- 2 callssrc/index.ts:592, src/index.ts:634
- Lockfile
- package-lock.json
Pattern matches on the source text of 1 files: places to read, not proof of what the code does at run time.
Releases
README
The repository's README runs to about 334 words, fetched a month ago. The original in the repository is authoritative.
Read full README