Skip to content
MCP server
Registry

AsterMind MCP Server

On-device reranking that cuts RAG context tokens ~67% while keeping a relevant passage.

AsterMind MCP scores 65 (Good), licensed MIT and written in JavaScript. It installs as a local process. It declares 10 tools. Filed under AI and memory. GitHub shows 1 stars. Package registries report about 64 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.

by astermindaiMITJavaScript1 stars
Trust score
65Good
Trust score 65 of 100, Good

Good trust

65 of 100 from six public signals. Nobody can buy a point.

  • Listed in the official MCP registry.
  • OSI-style license: mit.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 65 comes from

22 + 15 + 4 + 10 + 4 + 10 = 65. Each factor is capped, so no single signal can carry a listing.

Registry22 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 22 of 30 points.
Maintenance15 / 20

How recently the repository saw a commit or release.

Maintenance: 15 of 20 points.
Popularity4 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 4 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security4 / 10

Not archived, a secure install path, a pinned version.

Security: 4 of 10 points.
Docs10 / 10

A real summary, a README with depth, listed tools.

Docs: 10 of 10 points.

Install

Pick your client, copy the config, paste it in.

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "astermindai-astermind-mcp": {      "command": "npx",      "args": [        "-y",        "@astermind/astermind-mcp@0.1.0"      ]    }  }}

Environment variables

This server does not declare environment variables.

Tools10Tool docs quality grade D

All capabilities

About

AsterMind MCP

Cut the tokens you send to an LLM — on your own machine, before the call goes out.

AsterMind MCP is a Model Context Protocol server that ranks and filters your retrieved context locally, so you send the model the few passages that actually answer the question instead of everything your retriever returned. It runs on the AsterMind Community Edition ELM engine. No network calls, no API keys, no data leaves the machine.


What it actually does (measured, not promised)

On a 6-scenario RAG benchmark (support KB, API docs, HR policy, e-commerce FAQ, DevOps runbook, fintech help), filtering 10 retrieved candidates down to the top 3 by rerank score:

MetricResult
Average context-token saving66.9% (66.8% overall by tokens)
Answer-present hit rate100% (a passage that answers the query survived filtering in every scenario)
Total tokens926 → 307
Strict "all relevant passages kept" recall55.6%
Precision50%

Tokens counted with gpt-tokenizer (o200k/cl100k BPE, OpenAI-compatible). Reproduce it yourself: npm run benchmark. Full methodology and per-scenario results are in BENCHMARK.md.

The honest tradeoff

Savings and recall move in opposite directions — keep fewer chunks, save more tokens, risk dropping a relevant one. You choose the point on the curve:

Keep top-K of 10Token savingAnswer-present hit rateAll-relevant recall
1~87.9%100%38.9%
3 (default)66.8%100%~55–75%
6~46%100%75%

Rank-1 surfaced a relevant passage in 100% of scenarios at every K we tested. That is the strong, defensible result. For single-hop questions (FAQ, support, one-fact lookups) keep top 1–3 and cut ~67–88% of context. For multi-hop questions that need several passages, keep top 5–6 — don't over-filter, or you'll drop a needed passage.


Install

npx @astermind/astermind-mcp

Or add it to your MCP client config (Claude Desktop, Cursor, VS Code, Cline):

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

Runs on Node 18+. No GPU, no build step, no configuration.


Tools (10)

ToolWhat it doesStrength
rerank_documentsScore & order candidates against a queryStrong — the core value
filter_contextKeep the top-K / above-threshold passagesStrong
compress_contextRerank + trim a context block to a token budgetStrong
count_tokensExact BPE token count for any textExact
estimate_savingsBefore/after token delta for a filtering choiceExact
semantic_searchRank a corpus against a queryGood (lexical)
detect_languageIdentify text languageGood, confidence-flagged
classify_textLabel text into supplied categoriesWeak — low-confidence flagged
generate_embeddingsCharacter-level vector for textNear-duplicate use only
compare_textsSimilarity between two textsNear-duplicate use only

Every tool returns a confidence signal. Where the engine is weak, the tool says so rather than guessing silently.

Known limitations (stated on purpose)

  • The reranker is lexical (TF-IDF). It matches on shared terms, so pure synonym gaps can be missed — a query for "payment methods" won't strongly rank a passage that only says "Visa/Mastercard." It excels when the query and the answer share vocabulary, which is the common RAG case.
  • Classification is weak out of the box and only fair after training — use it as a low-confidence hint, not a decision-maker. It flags low confidence.
  • Embeddings are character-level, useful for near-duplicate detection, not deep semantic similarity.

The token savings above are real only because a relevant passage is preserved. Cutting tokens by dropping the answer is not a saving, and this benchmark measures both.


When this saves you money

The server does not shrink an LLM's vocabulary or compress prompts magically. It saves tokens one specific way: you retrieve broadly, then send the model only the passages that matter. If your RAG pipeline currently stuffs 8–12 retrieved chunks into every prompt, reranking locally and sending 3 is a direct, repeatable cut to your per-call input tokens — and it runs on your machine for free.


Develop & verify

npm install
npm test              # engine + MCP client round-trip tests
npm run benchmark     # regenerates benchmark/results.json
npm run benchmark:sweep   # top-K policy sweep

License

MIT © AsterMind AI. Built on @astermind/astermind-community.

Frequently asked questions

What is AsterMind MCP Server?

On-device reranking that cuts RAG context tokens ~67% while keeping a relevant passage.

How do I install AsterMind MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. AsterMind MCP Server runs locally from the npm package @astermind/astermind-mcp with the command npx -y @astermind/astermind-mcp@0.1.0.

Is AsterMind MCP Server free and open source?

Yes. AsterMind MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.

Does AsterMind MCP Server support remote (HTTP) connections?

No remote endpoint is listed for AsterMind MCP Server. It runs locally on your machine over stdio, started by your MCP client.

What tools does AsterMind MCP Server provide?

AsterMind MCP Server provides 10 tools, including classify_text, compare_texts, compress_context, and count_tokens. See the full tool list for descriptions and parameters.

How is AsterMind MCP Server's trust score calculated?

AsterMind MCP Server scores 65 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

—Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server