verbatim-mcp
Search academic papers and ask research questions with verbatim, cited answers from document collections like the ACL Anthology.
README
Verbatim MCP Server
An MCP (Model Context Protocol) server for Verbatim — a platform of specialized document collections that returns verbatim, cited answers. ACL Anthology is the default collection; pass collection_ids=[...] to scope to a different collection or query multiple.
Features
- Search papers by keywords, authors, venues, and years
- Ask research questions and get answers with verbatim citations
- Get paper metadata and full content
- Export citations in BibTeX format
- Browse collections, authors, venues, and years
- Collection-aware — all tools accept an optional
collection_idslist (default["anthology"])
Quick Start
Step 1: Get an API Key
- Go to verbatim.krlabs.eu
- Sign up / Log in
- Navigate to API Keys
- Create a new API key and copy it
Step 2: Set up the MCP server
Choose the setup that matches your environment:
Setup for Claude Code (CLI)
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-mcp
Option B: Using pip (works everywhere)
pip install verbatim-mcp
claude mcp add verbatim --transport stdio \
-e VERBATIM_API_KEY=vb_your_key_here \
-- verbatim-mcp
Option 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.
Setup for Claude Desktop App
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).
Setup for OpenAI Codex
Option A: Via CLI
codex mcp add verbatim \
-e VERBATIM_API_KEY=vb_your_key_here \
-- uvx verbatim-mcp
Option 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.
Setup for Cursor / VS Code with Continue
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"
}
}
}
}
Verify It's Working
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"
Available Tools
Every collection-aware tool accepts an optional collection_ids: list[str] parameter (default ["anthology"]). verbatim_transform is collection-agnostic — you supply the context.
| Tool | Description |
|---|---|
list_collections |
List collections available to your API key |
get_collection |
Get metadata for a single collection |
query_rag |
Ask a research question, get an answer with citations |
verbatim_transform |
Turn any question + context into a verbatim cited answer (no collection) |
search_papers |
Search papers by keywords and filters. Pass include_chunks=true to also get the matched chunks per paper (no LLM, no quota) |
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 |
Example Prompts
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"
Environment Variables
| Variable | Description | Default |
|---|---|---|
VERBATIM_API_KEY |
Your API key (required) | - |
VERBATIM_API_URL |
API base URL | https://verbatim.krlabs.eu |
Troubleshooting
"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/api-keys
"API error (429): Rate limit"
- You've exceeded your query limit
- Check usage at verbatim.krlabs.eu/api-keys
Compatibility
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
License
MIT License - see LICENSE for details.
Links
- Verbatim - The RAG service
- MCP Documentation - Learn about MCP
- Claude Code - Claude's coding assistant
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.