graphrag-ts citation provenance MCP Server
Source-tiered retraction and citation judgments for DOIs; abstains when evidence is thin.
graphrag-ts citation provenance scores 52 (Fair), with no SPDX license recorded. It can be reached as a remote MCP endpoint. It declares 8 tools. Filed under Databases. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Fair trust
52 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- No license recorded.
License, quality and maintenance
Quality: Grade B
70/100 for listing completeness. Lost points: 8 of 8 tools barely described, short summary, no docs link.
How quality is graded
Where the 52 comes from
22 + 20 + 0 + 0 + 7 + 3 = 52. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 0 of 20 points.A clear, OSI-style open-source license.
License: 0 of 10 points.Not archived, a secure install path, a pinned version.
Security: 7 of 10 points.A real summary, a README with depth, listed tools.
Docs: 3 of 10 points.Install
Pick your client, copy the config, paste it in.
Remote auth: API key required. Get a key or token from the provider first, then add it as a header in your client config. How remote auth works
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "sadofriod-graphrag-ts": { "url": "https://mcp.ashesborn.cloud/mcp" } }}
Environment variables
This server does not declare environment variables.
Tools8Tool docs quality grade F
All capabilitiesget_index_jobtoolkeyed
public / x402
public
query_graphtoolkeyed
keyed
remember_texttoolkeyed
public / x402
submit_index_jobtoolkeyed
About
graphrag-ts
Attribution is stored at write time, not asserted at read time.
graphrag-ts is a GraphRAG engine in TypeScript. It builds the knowledge graph in PostgreSQL,
keeps source evidence on every node and edge, and answers with retrievable citations — or returns
an explicit abstention when the coverage behind an answer is too thin to support it.
Benchmarks / 基准报告 English report · 中文报告
Hosted endpoint / 托管端点
https://mcp.ashesborn.cloud/mcp(anonymous tier: freeintegrity_paper_status, the two judgments answer with an x402 payment requirement; a keyed session unlocks them) · free DOI status:https://pay.ashesborn.cloud/api/v1/judge/paper?doi=· x402 wire format
Try it in 60 seconds
No install, no API key, no model endpoint. Two ways in:
- In a browser: Retraction Status — paste a DOI, get the source-by-source retraction status and the evidence tiers behind it, with no local model and no account.
- From the command line:
curl -s 'https://pay.ashesborn.cloud/api/v1/judge/paper?doi=10.1016/S0140-6736(97)11096-0'
The response is the paper plus every retraction record behind it, each with its source_tier and
source_uri — the evidence the graph stores, not a model's recollection of it.
Point any Streamable HTTP MCP client at the hosted endpoint (public read tier, 20 requests/minute per IP):
{
"mcpServers": {
"graphrag-ts": { "url": "https://mcp.ashesborn.cloud/mcp" }
}
}
A bearer API key unlocks the full tool set (graph queries, index jobs, memory writes). The two judgment tools also answer per call without a key via x402 payment ($0.02 / $0.10).
What it does differently
- Postgres-native. Graph tables and pgvector live in the database you already operate — no Neo4j sidecar and no second store to keep in sync.
- Incremental by construction. Rebuilds reuse unchanged community summaries, so the cost of a refresh tracks the delta rather than the corpus size.
- Two retrieval shapes. Local: hybrid vector, keyword and graph retrieval over a community's evidence. Global: Map-Reduce over community summaries for corpus-wide questions.
- Explicit abstention. Judgment verdicts carry source tiers and return an abstention when reference coverage is thin, instead of answering from a weak signal.
- Evidence at chunk level. Entities and relationships keep the document and chunk they were extracted from, so an answer can be traced back to the text that produced it.
MCP tools
| Tool | Access | What it does |
|---|---|---|
query_graph | keyed | Local hybrid retrieval against the latest published snapshot in a workspace |
query_graph_global | keyed | Corpus-wide Map-Reduce retrieval over community summaries |
submit_index_job | keyed | Queue Markdown from the configured input directory for indexing |
remember_text | keyed | Queue user-provided text explicitly; never reads chat history |
get_index_job | keyed | Status and safe error summary for an index job |
integrity_paper_status | public | Retraction status and identity for a paper |
retraction_propagation | public / x402 | Judge whether retraction evidence propagates to a paper |
integrity_evidence_audit | public / x402 | Audit the evidence path, source tiers and conflicts for a paper |
Quick start — self-hosted
MCP with Docker Compose
The Compose stack starts PostgreSQL/pgvector and the MCP service. You must provide reachable chat and embedding endpoints; see the MCP guide for configuration, client setup, and workspace behavior.
cp .env.example .env
# Configure the database password and model endpoints in .env.
docker compose up -d --build
curl http://127.0.0.1:3000/healthz
Connect an MCP client to http://127.0.0.1:3000/mcp. For the optional local browser showcase,
configure the models and run docker compose --profile showcase up -d --build --wait, then open
http://127.0.0.1:8080. The showcase is a local demo, not an authentication layer; do not expose
it to untrusted users.
Use the library
pnpm install
pnpm run db:generate
cp .env.example .env
# Configure DATABASE_URL and RAG_* model settings; see the guides below.
pnpm run db:push
bun run examples/demo.ts
The library requires Bun, PostgreSQL with pgvector, and compatible chat and embedding endpoints. See the English guide or 中文指南 for environment setup, API examples, adapters, and tuning.
Overview
- Markdown ingestion, entity/relationship extraction, and community detection
- Full and incremental builds, with unchanged community summaries reused
- Hybrid vector, keyword, and graph retrieval, plus corpus-wide Map-Reduce queries
- MCP server with isolated workspaces and a local browser showcase
See the architecture guide for the pipeline and module details.
Benchmark
The reported in-corpus run reached 10/12 strict hits and 95.8% combined lexical recall on 12 questions from five indexed chapters. This is a small project benchmark, not human semantic grading or a cross-project comparison. The reports include methodology, per-query results, and limitations.
The English and Chinese reports are linked at the top of this page.
To run the three-question Docker smoke benchmark, use pnpm benchmark:docker:quick with the model
endpoints configured and loaded. See the MCP guide for prerequisites
and the report for benchmark scope.
Listed on
- Official MCP Registry —
io.github.sadofriod/graphrag-ts - Glama — server rating, plus the connector listing for the hosted endpoint
- mcpservers.org
Documentation
- docs/architecture.md: architecture and data flow
- docs/en-US.md: English user guide
- docs/zh-CN.md: Chinese user guide
- docs/comparison.md: comparison notes
- integrations/mcp/docs/x402-paid-api.md: optional x402 paid query API, dataset bundles
- integrations/mcp/docs/hosted-beta.md: hosted pilot operations checklist
- integrations/mcp/docs/x402-discovery.md: how agents discover the paid API (Bazaar, .well-known/x402)
- integrations/mcp/docs/deploy-x402.md: deploying the paid API on a Docker/Colima host behind Cloudflare Tunnel
- CONTRIBUTING.md: contribution guide
Contributing
Contributions are welcome through issues and pull requests. The project is organized around small, testable modules, so the most useful changes usually fit into one of these areas:
- graph construction quality
- retrieval quality and ranking
- namespace isolation
- model-loading robustness
- documentation and examples
License
MIT
Frequently asked questions
What is graphrag-ts citation provenance MCP Server?
Source-tiered retraction and citation judgments for DOIs; abstains when evidence is thin.
How do I install graphrag-ts citation provenance 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. graphrag-ts citation provenance MCP Server connects to the remote endpoint https://mcp.ashesborn.cloud/mcp, so there is nothing to install locally.
Does graphrag-ts citation provenance MCP Server support remote (HTTP) connections?
Yes. graphrag-ts citation provenance MCP Server offers a hosted endpoint over Streamable HTTP, so HTTP-capable clients can connect to it without running anything locally.
What tools does graphrag-ts citation provenance MCP Server provide?
graphrag-ts citation provenance MCP Server provides 8 tools, including get_index_job, integrity_evidence_audit, integrity_paper_status, and query_graph. See the full tool list for descriptions and parameters.
How is graphrag-ts citation provenance MCP Server's trust score calculated?
graphrag-ts citation provenance MCP Server scores 52 out of 100 (Fair). 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
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.