Brain in the Fish

v1.0.0Knowledge & Memorystable

Score any document. Prove every claim.

aianti-hallucinationaudit-traildocument-evaluationevidence-verification
Share:
68
Stars
0
Downloads
0
Weekly
0/5

What is Brain in the Fish?

Brain in the Fish is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to score any document. prove every claim.

Score any document. Prove every claim.

This server falls under the Knowledge & Memory category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • Score any document. Prove every claim.

Use Cases

Document scoring and claim verification
Hallucination detection and evidence verification
fabio-rovai

Maintainer

LicenseMIT
Languagerust
Versionv1.0.0
UpdatedMay 18, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx brain-in-the-fish

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use Brain in the Fish

Brain in the Fish is a locally-running MCP server that scores documents for factual integrity and verifies individual claims against evidence. Built in Rust, it uses OWL ontologies and SPARQL queries to evaluate documents — such as PDFs, research papers, or tenders — and returns a verdict with an evidence trail. It is designed for anti-hallucination workflows where every AI-generated claim must be grounded in a verifiable source, without sending data to any external API.

Prerequisites

  • Rust toolchain (2024 edition or later) with `cargo` available
  • Git, to clone both the `brain-in-the-fish` and the companion `open-ontologies` repositories
  • An MCP-compatible client such as Claude Desktop
  • No external API keys required — the server runs entirely offline
1

Clone the open-ontologies dependency

Brain in the Fish depends on a companion ontologies library. Clone it first so the build can find it.

git clone https://github.com/fabio-rovai/open-ontologies.git
2

Clone the main repository

Clone the brain-in-the-fish repository into the same parent directory as open-ontologies.

git clone https://github.com/fabio-rovai/brain-in-the-fish.git
cd brain-in-the-fish
3

Build the release binary

Compile the Rust project in release mode. The resulting binary will be at `target/release/brain-in-the-fish`.

cargo build --release
4

Run the demo to verify the build

Execute the built-in demo to confirm the binary works correctly. It runs three evaluation examples and prints verdicts to stdout.

./target/release/brain-in-the-fish demo
5

Configure your MCP client

Point your MCP client at the compiled binary. Add the block below to your Claude Desktop config, substituting the actual path to the built binary.

6

Evaluate a document

Use the CLI directly or through the MCP server to score a PDF. The `--verify` flag enables web-based evidence lookup; `--badge` outputs a visual trust badge.

./target/release/brain-in-the-fish evaluate your-document.pdf --intent "assess methodology" --verify

Brain in the Fish Examples

Client configuration

Add this block to your Claude Desktop configuration file. Replace the path with the absolute path to the compiled binary on your system.

{
  "mcpServers": {
    "brain-in-the-fish": {
      "command": "/absolute/path/to/brain-in-the-fish/target/release/brain-in-the-fish-mcp"
    }
  }
}

Prompts to try

These prompts exercise the document scoring and claim verification capabilities of the server inside your AI client.

- "Score this research paper for factual accuracy and flag any unsupported claims"
- "Evaluate the attached tender document and produce a verdict with evidence"
- "Check whether the claim 'X causes Y' is supported by the evidence in this PDF"
- "Run the document evaluator on report.pdf and generate a trust badge"

Troubleshooting Brain in the Fish

Build fails with a missing `open-ontologies` crate error

Ensure the `open-ontologies` repository is cloned into the same parent directory as `brain-in-the-fish`. The Cargo workspace expects both repos side by side.

MCP client cannot find the binary

Use the absolute path to `target/release/brain-in-the-fish-mcp` in the config (not the relative path). Confirm the binary is executable with `chmod +x`.

Evaluation returns no verdict on a PDF

Verify the PDF is machine-readable (not a scanned image). The `--intent` flag is required to guide evaluation — provide a descriptive intent string such as 'assess methodology'.

Frequently Asked Questions about Brain in the Fish

What is Brain in the Fish?

Brain in the Fish is a Model Context Protocol (MCP) server that score any document. prove every claim. It connects AI assistants to external tools and data sources through a standardized interface.

How do I install Brain in the Fish?

Follow the installation instructions on the Brain in the Fish GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with Brain in the Fish?

Brain in the Fish works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is Brain in the Fish free to use?

Yes, Brain in the Fish is open source and available under the MIT license. You can use it freely in both personal and commercial projects.

Browse More Knowledge & Memory MCP Servers

Explore all knowledge & memory servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "brain-in-the-fish": { "command": "npx", "args": ["-y", "brain-in-the-fish"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use Brain in the Fish?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides