Cheap Research
A bounded evidence review engine that ingests documents, extracts evidence for a given claim, detects contradictions, and produces auditable evidence packets without hallucinations or open-web research.
README
Cheap Research v1.0.0
A bounded evidence review engine. Give it a claim and a document corpus - it extracts relevant evidence, detects contradictions, and produces auditable evidence packets. No hallucinations, no global truth claims, no open-web research.
What it does
- Ingest PDF, TXT, MD, DOCX, DOC, HTML, RTF, EPUB documents
- Extract evidence spans relevant to your claim
- Detect contradictions between claim and corpus
- Render markdown evidence packets with caveats
- Audit immutable hash-chained audit trail
Trust posture
- Fails closed - enforcement engine blocks invalid authority transitions
- Bounded corpus - cannot make claims outside provided documents
- Explicit caveats - every packet states limitations
- No global truth - "not established in corpus" not "false"
- Human review required - claims need explicit reviewer sign-off
MCP Tools
| Tool | Description |
|---|---|
research_start |
Ingest corpus, assess claim, produce evidence packet |
research_status |
Get run state and evidence summary |
research_getEvidence |
Get top relevant spans + contradictions |
research_getPacket |
Get full markdown assessment report |
research_audit |
Run compliance integrity audit |
corpus_topics |
List available paper topics for download |
corpus_list |
List all papers in curated library (filterable) |
corpus_load |
Download seminal ML papers to corpus directory |
Quick Start: Download Papers
Use corpus_load to download a curated set of foundational ML papers:
// Download ALL papers to your corpus
corpus_load({ corpus_path: "/path/to/cheap-research/corpus" })
// Or download specific topics
corpus_load({
corpus_path: "/path/to/corpus",
topics: ["transformers", "optimization"]
})
// Or specific papers by ID
corpus_load({
corpus_path: "/path/to/corpus",
paper_ids: ["attention", "bert", "resnet"]
})
Available topics: transformers, foundations, optimization, reinforcement, generative, representations, efficiency
Papers included: Attention Is All You Need, BERT, GPT, GPT-3, ResNet, AlexNet, LSTM, Adam, Batch Norm, Dropout, GANs, VAE, Diffusion Models, Vision Transformer, Word2Vec, DQN, Knowledge Distillation, and more (22 papers total).
Install
git clone https://github.com/your-org/cheap-research.git
cd cheap-research
npm install
npm run build
Adding to Your AI Assistant
This server uses the Model Context Protocol (MCP). Here's how to connect it to your AI:
Claude (Claude Code CLI / Claude Desktop)
-
Open your MCP config file:
- Claude Code:
~/.claude.json - Claude Desktop:
~/Library/Application Support/Claude/claude_desktop_config.json(macOS) or%APPDATA%\Claude\claude_desktop_config.json(Windows)
- Claude Code:
-
Add the server to
mcpServers:
{
"mcpServers": {
"cheap-research": {
"command": "node",
"args": [
"/ABSOLUTE/PATH/TO/cheap-research/node_modules/.bin/tsx",
"--tsconfig",
"/ABSOLUTE/PATH/TO/cheap-research/tsconfig.base.json",
"/ABSOLUTE/PATH/TO/cheap-research/apps/mcp-server/src/index.ts"
]
}
}
}
-
Replace
/ABSOLUTE/PATH/TO/with the actual path where you cloned the repo. -
Restart Claude Code or Claude Desktop.
-
Type
/mcpin Claude Code to verify the server is connected.
Other MCP-compatible AI Tools
Any AI tool that supports MCP can use this server. Point it to run the npm run mcp command or use the config format above. Check your tool's documentation for MCP server configuration.
Run as MCP Server (manual)
npm run mcp
This starts the server in stdio mode, ready for MCP clients.
Example
// Start research on a claim
research_start({
task_type: "bounded_doc_claim_assessment",
target_claim: "Attention mechanisms enable Transformers to model long-range dependencies",
entity: "Transformer architecture",
feature: "attention mechanism",
scope: "Assess based on provided neural network papers",
corpus_path: "/path/to/corpus"
})
// Returns: { run_id, status: "completed", assessment: "qualified", ... }
Supported Formats
| Format | Extension | Parser |
|---|---|---|
.pdf |
pdf-parse | |
| Text | .txt |
native |
| Markdown | .md |
native |
| Word | .docx |
mammoth |
| Word (legacy) | .doc |
mammoth + fallback |
| HTML | .html, .htm |
cheerio |
| RTF | .rtf |
rtf-parser |
| EPUB | .epub |
epub2 |
What's NOT included (intentional)
- Open-web research
- Autonomous recommendations
- Confidence scores
- Free-form LLM synthesis
- Automatic operational acceptance
- Vector embeddings / semantic search
Architecture
corpus/ → ingestCorpus() → MemoryStore
↓
claim + evidence → findRelevantSpans() → scored spans
↓
→ detectContradictions() → flagged spans
↓
→ createClaimCandidate() → enforcement check
↓
→ renderPacketMarkdown() → evidence packet
↓
→ publishPacket() → audit log
State Machines
Claims, findings, packets all have strict state transitions enforced by the enforcement engine. Illegal transitions are blocked with explicit blockers.
Audit Trail
Hash-chained immutable audit log. Every action recorded with:
- Actor context (who)
- Object reference (what)
- Event type (action)
- Payload (details)
- Chain hash (integrity)
License
MIT
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。