Atlas / MCP servers / ratel-ai / Ratel

RatelCAUTION

mcp/ratel-ai/ratel

Context engineering for AI agents. ~80% fewer tokens. Fix tool overload. Skills and memory with in-process BM25 and semantic retrieval. Progressive Disclosure. No vector DB.

Verdict
CAUTION
Grade
B
Trust score
86 /100
Exposed tools
75 63r · 12w · 0d
Transport
streamable-http
License
MIT
Stars
462
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

Ratel Your AI agent is paying for tools it never uses. Ratel fixes that.

Docs • Skills • Discord

Introduction

The context engineering layer for AI agents. Selects only the tools and skills relevant to each turn, recovering accuracy lost to tool overload and cutting what you pay per call. No vector DB, no infra.

Why

  • Cost: Every tool schema, every skill, and a growing list of instructions in the system prompt are tokens you pay for on every call. Send them all up front and you pay for them all, every turn.
  • Accuracy: Models get worse as that context grows. Crowd it with tools, skills, and instructions a turn doesn't need and the model picks the wrong option and drifts off task.
  • Ratel fixes both: it indexes your tools
Read from source at commit 872fff5b5ec2OBSERVED · 2026-10-01
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control. Replace the environment placeholders with a token scoped to the least it needs.

claude-code
claude mcp add telemetry --env ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY} --env AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID} --env AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY} --env AWS_SESSION_TOKEN=${AWS_SESSION_TOKEN} -- npx -y @ratel-ai/[email protected]
claude-desktop
{
  "mcpServers": {
    "telemetry": {
      "command": "npx",
      "args": [
        "-y",
        "@ratel-ai/[email protected]"
      ],
      "env": {
        "ANTHROPIC_API_KEY": "${ANTHROPIC_API_KEY}",
        "AWS_ACCESS_KEY_ID": "${AWS_ACCESS_KEY_ID}",
        "AWS_SECRET_ACCESS_KEY": "${AWS_SECRET_ACCESS_KEY}",
        "AWS_SESSION_TOKEN": "${AWS_SESSION_TOKEN}"
      }
    }
  }
}
03

Exposed tools (75)

63 read · 12 write · 0 destructive.

ToolRiskDescription
areadalways one
addressreadShop location
after_emptyreadtool listed after an empty page
after_empty_cursorreadtool listed after empty-string cursor
againreadanother page
alphareadfirst page
api-designreadREST API design patterns: resource naming, status codes, pagination.
authwriteSet up login and sessions.
breadalways two
badreadan invalid fact
betareadfirst page
boomreadalways fails
brokenwriteA native-shaped tool missing its execute handler.
broken_watchreadWatch a broken job.
cancellation-policyreadHow to cancel or reschedule a booking and get a refund.
capreada capability tool
chargesread...
ci-triagereadDiagnose why the build failed in CI
deploywriteDeploy an app
deploy-factwriteOriginal fact
deploy-skillwriteDeploy an application.
deploy_appwriteDeploy the app to production servers.
docker_buildreadBuild a Docker image from a Dockerfile
dupreadfirst listing
echoreadechoes its args
endlessreadnever finishes
factreadcomposedonlyterm
failreadFail a job.
first_pagereadpage one
frontend-slidesreadBuild animation-rich HTML presentations from scratch.
fsreadfilesystem helpers
gammareadsecond page
gh_run_listwriteList CI workflow runs and whether the build passed
githubreadGitHub API
goodreada valid fact
hoursreadOpening hours
invalid-numberreadInvalid number
lintreadLint the code
migrationsreadReversible DB migrations.
minreada minimal skill, no tags or body
mixed_casereadMixed-case schema keys.
mutablereadAccepted description
nreadd
orphanreadA plain native tool with a JSON schema but no id.
outerreadinvokes a nested search
oversizedreadOversized schema
oversized_toolreadOversized schema
page_onereadfirst page tool
page_tworeadsecond page tool
pdfreadfill pdf forms
pingreadPing
pushwriteDeploy the project to Vercel production.
rreadretrieved one
readreadRead a file
read_filereadRead a file from disk
replaceablereadNew numeric tool.
review_codereadReview source
s1reada playbook
searchreadSearch the tool catalog for matching tools.
search_filesreadGrep across files in a directory using a regular expression.
send_emailwriteSend an email via SMTP.
shop-addressreadWhere the barbershop is located and its opening hours.
shop_addressreadWhere the shop is
skillreadcomposedonlyterm
stream_outerreadstreams after a nested search
stuckreadstuck in pagination
treada tool
t1readread a file from disk
toolreadcomposedonlyterm
vault_rotatereadRotate a signing key in the vault
vercel-deploywriteHow to deploy to Vercel: env vars, preview vs production, rollbacks.
watchreadWatch a job.
writewriteWrite a file
write_filewriteWrite a file
xreadd
04

Trust audit

CAUTIONgrade B · trust 86/100 Install with care. The audit found things worth knowing before you trust its output.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codeWARN
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
declared (2 observation(s))
Network
declared (9 observation(s))
Shell
declared (1 observation(s))
Dependencies
not all pinned
Secrets in source
none-found

Findings (20)

MEDIUMCode injection · code.dynamic_import · CWE-78, CWE-94, CWE-95
src/sdk/python/ratel_ai/mcp.py:70
types_mod = __import__(module_name, fromlist=["PaginatedRequestParams"])
MEDIUMNetwork egress · net.beacon_words · CWE-200, CWE-319
src/core/src/usage.rs:4007
"beacon", "harvest", "prune",
LOWInventory / provenance · inv.hidden_file · CWE-1104
.adr-dir
.adr-dir
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWInventory / provenance · inv.hidden_file · CWE-1104
.lycheeignore
.lycheeignore
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
.github/workflows/ci.yml:408
mcp opentelemetry-sdk -e ../../telemetry/python
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
.github/workflows/ci.yml:443
'opentelemetry-sdk>=1.41,<1.42' ../../telemetry/python dist/*.whl
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
src/adapters/ts-mastra/src/package-layout.test.ts:20
new URL("../../../../.github/workflows/release.yml", import.meta.url),
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
src/core/src/usage.rs:4345
"../../../protocol/v1/conformance/vectors.json"
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
src/core/tests/trace.rs:12
serde_json::from_str(include_str!("../../telemetry/conformance/fixtures.json")).unwrap()
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
src/adapters/ts-vercel-ai-sdk/src/coexistence.test.ts:138
baseUrl: "http://127.0.0.1:1",
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
src/sdk/python/tests/conftest.py:66
yield f"http://127.0.0.1:{port}/embeddings"
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
src/sdk/python/tests/conftest.py:105
f"http://127.0.0.1:{server.server_port}/embeddings",
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
src/sdk/python/tests/test_embedding_artifact.py:135
yield f"http://127.0.0.1:{server.server_port}/embeddings", state
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
src/sdk/python/tests/test_intent_graph_storage.py:690
return f"http://127.0.0.1:{listener.getsockname()[1]}", listener
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
examples/adaptive-ranking-ts/package.json
@types/node, tsx, typescript
Why it matters. 3 dependency range(s) float
Fix. pin exact versions or ship a lockfile
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
examples/ai-sdk/package.json
@ai-sdk/openai, ai, @types/node, tsx, typescript
Why it matters. 5 dependency range(s) float
Fix. pin exact versions or ship a lockfile
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
examples/configurable-adaptive-ranking-ts/package.json
@types/node, tsx, typescript
Why it matters. 3 dependency range(s) float
Fix. pin exact versions or ship a lockfile
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
examples/mastra/package.json
@mastra/core, zod, @types/node, tsx, typescript
Why it matters. 5 dependency range(s) float
Fix. pin exact versions or ship a lockfile
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
examples/mcp-chat/package.json
@ai-sdk/openai, @modelcontextprotocol/sdk, ai, @types/node, tsx, typescript
Why it matters. 6 dependency range(s) float
Fix. pin exact versions or ship a lockfile
INFOInventory / provenance · inv.oversize · CWE-1104
docs/assets/ratel-hero.gif
docs/assets/ratel-hero.gif
Why it matters. 3599724 bytes not read

Gates applied: no_behavioural_pass.

Audited 2026-10-01 · audit v0.4.1 · source sha 872fff5b5ec2full audit observations/trust-audit/mcp-server/ratel-ai__ratel.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-01872fff5b5ec2CAUTIONB86first audit
06

Questions

What is the Ratel MCP server?

Context engineering for AI agents. ~80% fewer tokens. Fix tool overload. Skills and memory with in-process BM25 and semantic retrieval. Progressive Disclosure. No vector DB.

What tools does Ratel expose?

75 in total: 63 read-only, 12 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.

Is Ratel safe to connect to an agent?

With care. The audit graded it B (86/100) and found 20 things worth knowing before you trust this server, listed below with the exact line each was found on.

What credentials does Ratel need?

It reads ANTHROPIC_API_KEY, AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_SESSION_TOKEN, OPENAI_API_KEY and RATEL_S3_TEST_KEY from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.

How does Ratel run?

It speaks streamable-http, so it runs as a service you connect to over the network. It is published on npm as @ratel-ai/telemetry at 0.5.0.

How current is this page?

The grade is for one exact copy of the source (872fff5b5ec2), read on 2026-10-01. The repository is watched and re-audited when it changes.

Advertisement