1. Conduid
  2. Blockchain
  3. Oracolo
MCP server · Blockchain

Oracolo

MCP (Model Context Protocol) server designed to solve LLM code hallucinations by performing local static analysis.

37Low

Scored 5 months ago · breakdown

About Oracolo

Oracolo is an MCP server in the Blockchain category: mCP (Model Context Protocol) server designed to solve LLM code hallucinations by performing local static analysis.

Install

Claude Code
claude mcp add oracolo -- npx -y mcp-oracolo
npx
npx -y mcp-oracolo

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about Oracolo

Powered by Claude · Grounded in docs

I know everything about Oracolo. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ✓README presentThe repository ships documentation.

5 checks have not been run yet.

README

Oracolo

An MCP server that validates code suggestions from LLMs against your actual codebase.

When an LLM suggests a method that doesn't exist, a class that isn't imported, or a CSS class that doesn't match your project, Oracolo catches it before you waste time debugging.

How it works

Oracolo runs locally alongside your LLM client. When the LLM proposes code changes, it validates:

  • TypeScript / JavaScript: Uses ts-morph to verify methods, properties, and imports exist in your codebase
  • PHP: Runs ReflectionClass calls against your actual PHP files to confirm methods and class existence
  • HTML/CSS: Uses html-validate for HTML validation and scans your project's CSS files for class names

If it finds a mismatch, it tells the LLM to correct itself. No stack traces to paste back, no manual debugging cycles.

Installation

npm install -g mcp-oracolo

Or use directly with npx (no installation required):

npx -y mcp-oracolo --languages=typescript,php,html

Configuration

Add to your MCP client configuration file:

Roo Code

Create .roo/mcp.json in your project root:

{
  "mcpServers": {
    "oracolo": {
      "command": "npx",
      "args": ["-y", "mcp-oracolo", "--languages=typescript,php,html"]
    }
  }
}

Claude Desktop

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "oracolo": {
      "command": "npx",
      "args": ["-y", "mcp-oracolo", "--languages=typescript,php,html"]
    }
  }
}

Cursor

Add to your Cursor MCP settings:

{
  "mcpServers": {
    "oracolo": {
      "command": "npx",
      "args": ["-y", "mcp-oracolo", "--languages=typescript,php,html"]
    }
  }
}

Windows

On Windows, wrap npx in cmd:

{
  "mcpServers": {
    "oracolo": {
      "command": "cmd",
      "args": ["/c", "npx", "-y", "mcp-oracolo", "--languages=typescript,php,html"]
    }
  }
}

Use --languages to enable only the analyzers you need (e.g. --languages=typescript).

Why this exists

LLMs hallucinate code. Not because they're malicious, but because they don't know what's actually in your project until you show them. Oracolo closes that gap by running static analysis on the LLM's suggestions before they become your problem.

Supported languages

  • TypeScript / JavaScript (via ts-morph AST)
  • PHP (via ReflectionClass and PHPDoc analysis)
  • HTML / CSS (via html-validate + local CSS scanning)

Development

npm install
npm run build
npm test

README copy captured when this server was indexed; it may lag the repository. The original is authoritative.

Questions

About Oracolo

How do I install Oracolo?

Run claude mcp add oracolo -- npx -y mcp-oracolo, then add the server to your MCP client's configuration.

Is Oracolo safe to use with an AI agent?

Its trust score is 37 out of 100 (low). It passes 1 of the 1 static security checks run so far. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Oracolo still maintained?

Conduid hasn't recorded a commit date for this repository yet. Check the repository directly for recent activity.