Skip to main content

Installable MCP server for the Retrieval API: academic-paper search + journal memory + ACE playbook + semantic code search

Project description

retrieval-mcp

An MCP server for the Retrieval academic-paper API — semantic paper search, document matching, ACE journal memory, and index inventory. Self-contained: it talks to the backend over HTTP only (just mcp + httpx), so it installs anywhere with uvx / pip — no repo checkout, no GPU, no models.

By default it targets the compute box on the lab LAN (http://10.100.100.111:8000), which trusts LAN callers so no key is needed. Off-LAN, point RETRIEVAL_API_URL at the public gateway (https://retrieval.rnarket.com) and set RETRIEVAL_API_KEY (sk-...).

Tools

Tool What it does
search_papers Semantic hybrid search over 95k+ top-venue CS papers
search_within_paper Every matching passage inside one paper
match_document / match_paper Content-nearest papers to a passage / a paper
list_conferences / corpus_stats Venue registry / corpus size
journal_record / journal_search / journal_recent ACE journal work-memory (cwd-scoped)
index_inventory Your indexed-file tree: user → host → project → dir → file

Install

Claude Code

# LAN (no key):
claude mcp add retrieval -- uvx retrieval-mcp
# Off-LAN (public gateway + key):
claude mcp add retrieval \
  --env RETRIEVAL_API_URL=https://retrieval.rnarket.com \
  --env RETRIEVAL_API_KEY=sk-... \
  -- uvx retrieval-mcp

Claude Desktop / any MCP client

claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\):

{
  "mcpServers": {
    "retrieval": {
      "command": "uvx",
      "args": ["retrieval-mcp"],
      "env": {
        "RETRIEVAL_API_URL": "https://retrieval.rnarket.com",
        "RETRIEVAL_API_KEY": "sk-...",
        "JOURNAL_PROJECT_SLUG": "my-project"
      }
    }
  }
}

No uv? pip install retrieval-mcp then use "command": "retrieval-mcp".

Config (env)

Var Default Notes
RETRIEVAL_API_URL http://10.100.100.111:8000 LAN compute box (no key). Off-LAN, set to https://retrieval.rnarket.com.
RETRIEVAL_API_KEY sk-... key for the gateway (create under /auth/keys). Required off-LAN.
JOURNAL_PROJECT_SLUG current dir name Journal namespace; scopes journal reads/writes so projects don't leak into each other.

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

retrieval_mcp-0.2.0.tar.gz (12.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

retrieval_mcp-0.2.0-py3-none-any.whl (12.6 kB view details)

Uploaded Python 3

File details

Details for the file retrieval_mcp-0.2.0.tar.gz.

File metadata

  • Download URL: retrieval_mcp-0.2.0.tar.gz
  • Upload date:
  • Size: 12.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.11

File hashes

Hashes for retrieval_mcp-0.2.0.tar.gz
Algorithm Hash digest
SHA256 0d432c0a639f4dd88d627415595a223c98d8a373e146d23a53dbfda342846b04
MD5 55939227ffeb91d70aaa79e364c45b2f
BLAKE2b-256 4885d472601e2b662db5f72e092b9a3a8d28f4b06ee56a03ab57ae2501172c0c

See more details on using hashes here.

File details

Details for the file retrieval_mcp-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: retrieval_mcp-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 12.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.11

File hashes

Hashes for retrieval_mcp-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 230dc315f411002911477f79ce3a2d5d6bb10e2fb2b4abcd1dfbf788ec5dec5d
MD5 ad71f04ed439bb6d997eda27671dad25
BLAKE2b-256 31a9122c9ec127722c5079ad0e4558597bb335f12009125cd52e30396e90b39f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page