Back to Browse

Tarbrief MCP Server

Developer ToolsModerate6.7MCP RegistryLocal
Free

Server data from the Official MCP Registry

eDiscovery news briefs and TAR calculators: recall, elusion, sample size, richness, cutoffs.

About

eDiscovery news briefs and TAR calculators: recall, elusion, sample size, richness, cutoffs.

Security Report

6.7
Moderate6.7Moderate Risk

tarbrief is a transparent forwarding client for a read-only eDiscovery news and TAR calculator service, with no authentication sent and no local computation beyond a static tool list. Its only network access is to the declared hosted endpoint, which matches its stated purpose, and no malicious, shell-execution, or credential-handling patterns were found in the reviewed code. The main caveat is that the test file was truncated, so its full content could not be reviewed. Supply chain analysis found 3 known vulnerabilities in dependencies (0 critical, 2 high severity). Package verification found 1 issue.

8 files analyzed · 8 issues found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Required

This plugin requests these system permissions. Most are normal for its category.

HTTP Network Access

Connects to external APIs or services over the internet.

env_vars

Check that this permission is expected for this type of plugin.

What You'll Need

Set these up before or after installing:

Overrides the upstream endpoint. The default is the pinned hosted endpoint, https://mcp.ediscoverydecoder.com/mcp. (The override variable is a reconstruction added by this rebuild.)Required

Environment variable: TARBRIEF_MCP_URL

How to Install

Add this to your MCP configuration file:

{
  "mcpServers": {
    "tarbrief": {
      "command": "npx",
      "args": [
        "-y",
        "@reneturcios/tarbrief@0.1.0"
      ],
      "env": {
        "TARBRIEF_MCP_URL": "your-tarbrief-mcp-url-here"
      }
    }
  }
}

Some servers take additional arguments. See the repository for details.

Documentation

View on GitHub

From the project's GitHub README.

tarbrief

Keeping up with eDiscovery news is one job; defending the numbers behind a technology-assisted review is another. tarbrief is a local forwarding client for the hosted eDiscovery Decoder MCP service that covers both: it answers tools/list locally from the captured tool definitions and forwards every call to the service, returning the answers exactly as the service sends them back.

On the news side there is a health check, a full capability catalogue, a demo walkthrough, readers for the service's own published resources and prompt templates, a searchable news index, and a ready-made news brief with a week-in-review breakdown. On the numbers side sit the TAR calculators: review metrics from a confusion matrix, elusion for a discard set, sample-size planning with finite-population correction, an overall TAR recall estimate, prevalence/richness, control-set recall, side-by-side cutoff comparisons, and a sample-design quality check. Every tool is read-only and works from aggregate counts or published content; there is no write, signup, or send tool in this surface.

The tools

  • ping — Health check confirming the upstream server is reachable. No inputs.
  • list_capabilities — The full upstream surface (tools, prompts, resources), the suggested demo flow, and an example prompt for each entry. No inputs.
  • get_demo_guide — A short human-readable walkthrough for testing the server. No inputs.
  • get_resource_content — Fetch the JSON behind a supported edd:// resource (demo guide, TAR learning path, glossary, or news). Requires uri.
  • get_prompt_template — Render one of the server's guided prompts by name. Requires prompt_name.
  • search_news — Search recent eDiscovery / legal-AI / TAR news by topic, tag, or date range. All inputs optional.
  • get_news_brief — The current news brief: top stories plus a Week in Review breakdown, as structured data and display-ready Markdown. All inputs optional.
  • calculate_review_metrics — Recall, precision, F1, accuracy, and in-sample elusion from a confusion matrix. Requires true_positives, false_positives, false_negatives, true_negatives.
  • calculate_elusion — Elusion rate and a Wilson confidence interval for a sampled discard set. Requires relevant_found_in_sample, sample_size.
  • calculate_sample_size — How many documents to sample for a target confidence level and margin of error. Requires population_size, margin_of_error.
  • calculate_tar_recall_estimate — Overall TAR recall and an estimate of missed responsive documents, combining found counts with an elusion sample. Requires responsive_found, excluded_population_size, elusion_responsive_hits, elusion_sample_size.
  • calculate_prevalence_richness — Prevalence/richness estimate with a Wilson interval from positive hits in a sample. Requires positive_hits, sample_size.
  • calculate_control_set_recall — Recall against a known control set. Requires relevant_found, relevant_missed.
  • compare_tar_cutoffs — Candidate TAR cutoffs side by side: documents above each, share of the scored set, and estimated precision where responsive counts are given. Requires scored_document_count, cutoffs.
  • validate_sample_design — QC a TAR validation sampling plan and flag missing or inconsistent elements. Requires population_size, sample_size.

Install and run

As an MCP server via npm:

npx -y @reneturcios/tarbrief mcp

MCP client configuration:

{
  "mcpServers": {
    "tarbrief": {
      "command": "npx",
      "args": ["-y", "@reneturcios/tarbrief", "mcp"]
    }
  }
}

As a container:

docker run -i ghcr.io/cloudcorprecords/tarbrief
docker run --rm ghcr.io/cloudcorprecords/tarbrief calculate_elusion '{"relevant_found_in_sample":2,"sample_size":400}'

CLI

One binary serves both the command line and the MCP server. Each tool is a subcommand taking a single JSON string with that tool's arguments:

tarbrief ping '{}'
tarbrief get_news_brief '{}'
tarbrief calculate_review_metrics '{"true_positives":80,"false_positives":20,"false_negatives":10,"true_negatives":890}'
tarbrief --version

Exit codes: 0 when the forwarded call succeeds, 1 when the upstream result is an error, and 2 for usage problems such as an unknown subcommand or a malformed JSON argument.

Configuration

  • TARBRIEF_MCP_URL — Overrides the upstream endpoint. The default is the pinned hosted endpoint, https://mcp.ediscoverydecoder.com/mcp. (The override variable is a reconstruction added by this rebuild.)

The upstream registry record declares no headers and the endpoint answers keyless, so no authentication header is ever sent.

Upstream failures — a JSON-RPC error from the service, a non-2xx response, an unreadable body, or a request that fails outright — are reported to the caller as an error result whose text starts with tarbrief error:.

How forwarding works

The first forwarded call opens a session: an initialize request (protocol version 2025-03-26), followed by a notifications/initialized notification, then the tools/call itself. If the service answers the initialize request with an Mcp-Session-Id header, that value is carried on every later request, and the open session is reused for the rest of the process. Replies are accepted either as plain JSON or as server-sent events. Successful results pass through verbatim, including any isError flag and any extra fields the service includes.

Development

npm install
npm run build   # tsc -> dist/ (dist/cli.js is the bin)
npm test        # tsx --test test/*.test.ts — stubbed upstream, no network
npm run dev     # run the CLI from source

The test suite checks the served tool list against the captured surface (all 15 tools, deep-equal, with titles, required lists, and schema details exactly as captured), exercises the session handshake and its reuse, verifies that no Authorization or X-API-Key header is ever sent under any environment, and verifies that arguments go upstream untouched and results come back untouched.

License

MIT — see LICENSE. Copyright (c) 2026 Rene Turcios.

Reviews

No reviews yet

Be the first to review this server!