llmxray
MCP server by LogneBudo Community
Explains what went wrong with your own Ollama calls, with the fix for each. It runs locally, and its MCP tools are read-only. Built for developers and agents running local models.
Install llmxray
Built from the published package, never by AI.
claude mcp add llmxray -- npx -y llmxrayRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"llmxray": {
"args": [
"-y",
"llmxray"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"llmxray": {
"args": [
"-y",
"llmxray"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"llmxray": {
"args": [
"-y",
"llmxray"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add llmxray -- npx -y llmxray{
"mcpServers": {
"llmxray": {
"args": [
"-y",
"llmxray"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add llmxray npx -y llmxrayGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the llmxray block.
About
LLMxRay sits between your tools and Ollama. It opens a second port, 11435, that behaves like Ollama and forwards every call. It records counts and timings such as prompt size, cache reuse, prefill speed and stop reasons. It flags problems such as prompts silently cut to fit the context, or a model running partly on CPU, and gives the fix in plain sentences. Its MCP server exposes seven read-only tools so an agent can diagnose its own calls.
Everything stays on your machine. Turn records are kept locally for 30 days, and prompt text is stored only if you opt in. Both ports answer only this machine by default. It suits developers and agents running local models who want to know why a run was slow or why the prompt cache broke.
Written from the project's README and checked against it.
Tools it gives your assistant
diagnose_my_turnsLists what stands out in recent turns, as sentences with the fix.read_my_last_turnReports the last turn in numbers, including cache share, prefill and generation speed.list_local_modelsShows pulled models, loaded models, context size and whether each fits in video memory.list_my_turnsReturns the turn history, one line per turn with tokens, cache and speed.compare_my_turnsCompares medians before and after a moment to show whether a change helped.estimate_my_promptChecks whether a prompt of N tokens fits the loaded context before sending it.read_llmxray_statusShows where LLMxRay runs, the observe port, the forwarded Ollama and turns kept.
What you need
- Ollama running with at least one model pulled
- Node.js for npx, or Docker
| Setting | Needed | What it is |
|---|---|---|
LLMXRAY_Environment variable | Optional | The running LLMxRay server the tools read from (start it with `npx llmxray`). Default: http://localhost:5174 |
OLLAMA_Environment variable | Optional | The Ollama daemon, for the list_local_models tool. Default: http://localhost:11434 |
From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.
Try asking
- Diagnose my last Ollama turns and tell me what to fix
- Check whether a 6000-token prompt fits my loaded model context
- Compare my turns before and after I changed the system prompt
Good to know
- The MCP tools are read-only.
- The MCP server needs LLMxRay running locally with npx llmxray.
- Both ports answer only this machine by default.
- Prompt text is stored only if you opt in.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to llmxray
All alternatives →Azure MCP Server bundles all Azure MCP tools into one local MCP server. It connects AI agents to Azure services and can be used alone or with the GitHub Copilot for Azure extension in VS Code.
Manages monitors, status pages, incidents and maintenances in an openstatus workspace from Claude, ChatGPT, or Cursor. It suits teams that run uptime monitoring and status pages and want their AI assistant to update them.
SmartBear MCP gives AI assistants access to SmartBear's testing and monitoring tools, including BugSnag, Reflect, Swagger, PactFlow and QTM4J. It is aimed at teams that already use these products. Products are reached through remote servers or a local npm package.
Lets AI assistants manage Fettle uptime monitoring, including monitors, incidents, heartbeats, maintenance windows and status page incidents. Built for developers and operations teams who use Fettle and want to work from Claude, Cursor or Codex.
Superlog is an open-source agentic telemetry system that ingests traces, logs and metrics and groups noisy signals into incidents. It is aimed at teams debugging production systems with OpenTelemetry data.
Microsoft Learn MCP gives AI assistants direct access to official Microsoft documentation and code samples through a remote MCP endpoint. It is for developers who use MCP-compatible clients and want answers based on current Microsoft docs.
Compare with Azure MCP Server, openstatus or SmartBear MCP
llmxray: common questions
Does LLMxRay send my data to the cloud?
No. The source says nothing leaves your machine unless you send turns to your own trace viewer. It needs no API keys.
How do I point my tools at LLMxRay?
Send your tools to http://localhost:11435 instead of Ollama's 11434. The source says this port behaves exactly like Ollama and forwards everything.
How long are turn records kept?
Records of tokens, cache, timings, client and model are kept on your machine for 30 days. The prompt text is not kept unless you opt in.
How do I install llmxray?
In Claude Code run claude mcp add llmxray -- npx -y llmxray. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is llmxray the official server?
llmxray is a community project by LogneBudo, not verified by a company domain.
Is llmxray free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is llmxray safe to use?
It scores 68 of 100. Grades: maintenance B, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to llmxray?
Similar MCP servers: Azure MCP Server, openstatus, SmartBear MCP, Fettle.
Does llmxray work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
