A meta harness for research queries
Connect your coding agent to better research tools.
Query search, AI answers, and deep research with citations.
Give your agent research with sources, without leaving your workflow.
Ask a question. Your agent does the research.
Ask in plain language and get a source-backed recommendation.
Prompt
Use Librarium to compare SQLite and Postgres for our team app, with sources.
Illustrative outcome
A recommendation grounded in deployment and concurrency evidence, with links to the sources.
Set it up once.
One install, two ways to work
Install the CLI
The CLI includes the MCP server.
Node.js 22.12+
No Node.js needed
Install
npm install -g librariumInstall
brew install jkudish/tap/librariumConfigure sources
librarium setupPreview offline
librarium research "Lisbon or Porto without a car?" --only exa --dry-run --jsonResearch when ready
librarium research "Lisbon or Porto without a car?" --only exa --json
Previewing makes no provider calls, so it costs nothing. Research calls your providers and bills to your API keys. See costs and limits.
Or let your agent do it
Choose your agent below
Copy its prompt to install and verify Librarium; install.md has the full instructions.
Amp
Install Librarium for me in Amp by following https://librarium.si
Or register it yourself
Register user-wide from your terminal.
amp mcp add librarium -- librarium mcpClaude Code
Install Librarium for me in Claude Code by following https://librarium.si
Or register it yourself
Register user-wide from your terminal.
claude mcp add --scope user librarium -- librarium mcpClaude Desktop
Install Librarium for me in Claude Desktop by following https://librarium.si
Or register it yourself
Open Settings, then Developer, then Edit Config; merge this entry and restart Claude Desktop.
{
"mcpServers": {
"librarium": {
"command": "librarium",
"args": ["mcp"]
}
}
}Codex
Install Librarium for me in Codex by following https://librarium.si
Or register it yourself
Merge into ~/.codex/config.toml for user-wide setup.
[mcp_servers.librarium]
command = "librarium"
args = ["mcp"]Command Code
Install Librarium for me in Command Code by following https://librarium.si
Or register it yourself
Register user-wide from your terminal.
cmd mcp add --scope user librarium -- librarium mcpCursor
Install Librarium for me in Cursor by following https://librarium.si
Or register it yourself
Merge into ~/.cursor/mcp.json for user-wide setup.
{
"mcpServers": {
"librarium": {
"type": "stdio",
"command": "librarium",
"args": ["mcp"]
}
}
}Devin
Install Librarium for me in Devin by following https://librarium.si
Or register it yourself
For Devin for Terminal, register user-wide from your terminal.
devin mcp add --scope user librarium -- librarium mcpGemini CLI
Install Librarium for me in Gemini CLI by following https://librarium.si
Or register it yourself
Register user-wide from your terminal.
gemini mcp add --scope user librarium librarium mcpInstall Librarium for me in Grok Bot by following https://librarium.si
Or register it yourself
Confirm when asked; add your provider keys (EXA_API_KEY, TAVILY_API_KEY, PERPLEXITY_API_KEY) as environment variables on the server entry, never in chat text.
Add a custom MCP server called librarium that runs: npx -y librarium@2 mcpGrok Bot runs the server on its own cloud computer, so it can't use a config file or localhost on your machine.
Grok Build
Install Librarium for me in Grok Build by following https://librarium.si
Or register it yourself
Register user-wide from your terminal.
grok mcp add librarium -- librarium mcpHermes Agent
Install Librarium for me in Hermes Agent by following https://librarium.si
Or register it yourself
Merge into ~/.hermes/config.yaml for user-wide.
mcp_servers:
librarium:
command: "librarium"
args: ["mcp"]Install Librarium for me in Muse by following https://librarium.si
Muse doesn't document a manual MCP config; let Muse follow install.md.
OpenClaw
Install Librarium for me in OpenClaw by following https://librarium.si
Or register it yourself
Register in OpenClaw's user configuration.
openclaw mcp add librarium --command librarium --arg mcpAsk before stopping a running Gateway; CLI changes require it stopped, or use the Control UI.
OpenCode
Install Librarium for me in OpenCode by following https://librarium.si
Or register it yourself
With OpenCode v2, register user-wide from your terminal.
opencode mcp add librarium --global -- librarium mcpInstall Librarium for me in Pi by following https://librarium.si
Or register it yourself
Register user-wide with Pi's native MCP support.
pi mcp add librarium -- librarium mcpAn extension providing /mcp overrides native support; resolve that conflict first.
VS Code (GitHub Copilot)
Install Librarium for me in VS Code (GitHub Copilot) by following https://librarium.si
Or register it yourself
Run MCP: Open User Configuration and merge this entry.
{
"servers": {
"librarium": {
"type": "stdio",
"command": "librarium",
"args": ["mcp"]
}
}
}Zed
Install Librarium for me in Zed by following https://librarium.si
Or register it yourself
Open zed: open settings file and merge this user-wide entry into settings.
{
"context_servers": {
"librarium": {
"command": "librarium",
"args": ["mcp"]
}
}
}Any other MCP host
Install Librarium for me in my coding agent by following https://librarium.si
Or register it yourself
Register a stdio server named librarium with command librarium and args ["mcp"], following your host's own config format.
- name
- librarium
- transport
- stdio
- command
- librarium
- args
- ["mcp"]
What your agent can call
Three tools, with inputs and limits in the agent docs.
| Tool | What it does |
|---|---|
| research | Preview or start research across your chosen sources. |
| get_run | Read saved answers and citations, or resume pending research. |
| list_sources | Discover configured sources and price hints without making provider calls. |
Read everything. Then check it.
Ask for the whole answer
Ask your agent to read every saved answer before summarizing.
Check the sources, not just the summary
Open the cited sources before relying on a recommendation.