surveyHelper
A local-first MCP server that analyzes research papers, maps citation graphs, and surfaces insights with verbatim-verified contradictions, all while keeping data private on your machine.
README
surveyHelper
Mention a paper — surveyHelper remembers it, analyzes it, maps its citation graph, and tells you what the graph means. All on your machine, and honest about what it can prove.
A local-first research companion. It runs as an MCP server (any MCP agent can use it) with an optional OpenClaw ambient plugin. Your papers, analyses, and notes never leave your machine.
flowchart LR
U([You mention a paper]) --> M[MCP server]
M --> C["Instant card<br/>purpose · references · code"]
M -. enqueue .-> W[Worker]
W --> A[Deep grounded analysis]
W --> S["Citation-graph synthesis<br/>verbatim-verified contradictions"]
C --> DB[("Postgres + pgvector<br/>your local memory")]
A --> DB
S --> DB
DB --> R[Ambient recall + proactive surfacing]
What you get
- Instant cards — give it an arXiv id or title and get the paper's purpose, references, and code link in seconds.
- Deep grounded analysis — contribution, method, results, and limitations, extracted from the full text with a faithfulness check.
- Citation-graph synthesis you can trust — lineage, open problems, and contradictions across the graph. It only asserts a contradiction when it can quote verbatim evidence from both papers; otherwise it labels it tentative. It tells you what it can prove and is honest about what it can't.
- Personal memory — tracks what you care about (interests, papers you've read/understood) and proactively surfaces new work.
- Ambient awareness — with the OpenClaw plugin, say "the BERT paper" in chat and it injects what your graph already knows — no command, no tool call.
Quick start
You need Docker and one LLM API key (Anthropic, OpenAI, or Gemini).
git clone https://github.com/rich7420/SurveyHelper.git && cd SurveyHelper
cp .env.example .env # set ONE provider key
docker compose up -d # pgvector + worker + MCP server (:8765) + scheduler
docker compose run --rm worker surveyhelper-verify # → "✓ surveyHelper is working"
No Postgres setup, no subscription, no machine-specific wiring. Then point any MCP agent at
http://localhost:8765/mcp, or follow the Getting Started guide for
your first survey (~5 minutes).
No API key but you run OpenClaw? Set
SURVEYHELPER_LLM_BACKEND=clito reuse itsclaude -psubscription (runs natively — see Operations).
Use it with OpenClaw (optional)
Make it ambient — it recognizes a paper you mention in chat and injects what your graph knows:
bash openclaw/install.sh # register the MCP server + skill
openclaw plugins install clawhub:openclaw-surveyhelper # the ambient-recognition hook (from ClawHub)
(Or install the hook from a clone with bash openclaw/plugin/install-plugin.sh.) The MCP server is
a standard endpoint, so it also works with Claude Desktop and other MCP clients.
How it works
Three pieces, all local:
- MCP server — what your agent calls; returns the instant card and queues the deep work.
- Worker — a background daemon that does the paced fetching, analysis, and synthesis.
- Postgres + pgvector — the memory: the paper graph, analyses, and your personal layer.
The instant card never waits on slow APIs; references and deep analysis fill in in the background.
Full detail in docs/ARCHITECTURE.md.
Docs
- Getting Started — zero to your first survey
- Vision · Roadmap — what it is and where it's going
- Architecture · Operations — internals, running, troubleshooting
- Contributing · Release process
MIT licensed.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.