An MCP (Model Context Protocol) server for querying academic papers through Verbatim - a RAG system that provides verbatim, cited answers from research papers.
- Search papers by keywords, authors, venues, and years
- Ask research questions and get answers with citations
- Get paper metadata and full content
- Export citations in BibTeX format
- Browse authors, venues, and years in the corpus
- Go to verbatim.krlabs.eu
- Sign up / Log in
- Navigate to Usage → API Keys
- Create a new API key and copy it
Choose the setup that matches your environment:
Option A: Using uvx (no install needed, requires uv)
claude mcp add verbatim --transport stdio \
-e VERBATIM_API_KEY=vb_your_key_here \
-- uvx verbatim-mcpOption B: Using pip (works everywhere)
pip install verbatim-mcp
claude mcp add verbatim --transport stdio \
-e VERBATIM_API_KEY=vb_your_key_here \
-- verbatim-mcpOption C: Config file
Add to ~/.claude.json or your project's .mcp.json:
{
"mcpServers": {
"verbatim": {
"type": "stdio",
"command": "verbatim-mcp",
"args": [],
"env": {
"VERBATIM_API_KEY": "vb_your_key_here"
}
}
}
}Then restart Claude Code or run /mcp to verify.
Edit your Claude Desktop config file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"verbatim": {
"command": "uvx",
"args": ["verbatim-mcp"],
"env": {
"VERBATIM_API_KEY": "vb_your_key_here"
}
}
}
}Restart Claude Desktop. You should see "verbatim" in the tools menu (hammer icon).
Option A: Via CLI
codex mcp add verbatim \
-e VERBATIM_API_KEY=vb_your_key_here \
-- uvx verbatim-mcpOption B: Via config file
Edit ~/.codex/config.toml:
[mcp_servers.verbatim]
command = "uvx"
args = ["verbatim-mcp"]
[mcp_servers.verbatim.env]
VERBATIM_API_KEY = "vb_your_key_here"Then restart Codex or run /mcp to verify.
For Cursor or Continue.dev extension, add to your config:
{
"mcpServers": {
"verbatim": {
"command": "uvx",
"args": ["verbatim-mcp"],
"env": {
"VERBATIM_API_KEY": "vb_your_key_here"
}
}
}
}In Claude Code, run:
/mcp
You should see verbatim listed with its tools.
Try asking Claude:
"Use verbatim to search for papers about attention mechanisms"
| Tool | Description |
|---|---|
query_rag |
Ask a research question, get an answer with citations |
verbatim_transform |
Turn any question + context into a verbatim cited answer |
search_papers |
Search papers by keywords and filters |
get_paper |
Get metadata for a specific paper |
get_paper_content |
Get full text of a paper |
get_citation |
Get BibTeX citation |
list_authors |
Search authors by name |
list_venues |
Browse publication venues |
list_booktitles |
Browse proceedings/booktitles |
list_years |
List available publication years |
Once configured, try these with Claude:
- "Search for papers about transformer efficiency from 2023"
- "What does the research say about attention mechanisms?"
- "Find papers by Ashish Vaswani"
- "Get the BibTeX citation for that paper"
- "List the top venues in the corpus"
| Variable | Description | Default |
|---|---|---|
VERBATIM_API_KEY |
Your API key (required) | - |
VERBATIM_API_URL |
API base URL | https://verbatim.krlabs.eu |
"Failed to reconnect to verbatim"
- If using
uvx, make sure uv is installed:curl -LsSf https://astral.sh/uv/install.sh | sh - Alternatively, use pip instead:
pip install verbatim-mcpand replaceuvx verbatim-mcpwith justverbatim-mcpin your config
"VERBATIM_API_KEY environment variable is required"
- Make sure you added the
-eflag orenvblock with your API key
Server not showing in /mcp
- Restart Claude Code:
claude(exit and reopen) - Check config syntax:
claude mcp list
"API error (401): Unauthorized"
- Your API key is invalid or expired
- Generate a new one at verbatim.krlabs.eu/usage
"API error (429): Rate limit"
- You've exceeded your query limit
- Check usage at verbatim.krlabs.eu/usage
MCP (Model Context Protocol) is supported by:
- Claude Code (CLI) -
~/.claude.json - Claude Desktop App -
claude_desktop_config.json - OpenAI Codex -
~/.codex/config.toml - Cursor - built-in MCP support
- Continue.dev - VS Code/JetBrains extension
MIT License - see LICENSE for details.
- Verbatim - The RAG service
- MCP Documentation - Learn about MCP
- Claude Code - Claude's coding assistant