Skip to content
VS Code

Scholar RAG MCP for VS Code

io.github.notwhiteblank/scholar-rag-mcp

Academic paper knowledge-base MCP server: PDF ingest, vector search with reranking, KB management.

client:VS Code transport:stdio runtime:pypi

Install Scholar RAG MCP in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "scholar-rag-data-dir",
      "description": "SCHOLAR_RAG_DATA_DIR",
      "password": true
    },
    {
      "type": "promptString",
      "id": "scholar-rag-chat-base-url",
      "description": "SCHOLAR_RAG_CHAT_BASE_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "scholar-rag-embed-base-url",
      "description": "SCHOLAR_RAG_EMBED_BASE_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "scholar-rag-rerank-base-url",
      "description": "SCHOLAR_RAG_RERANK_BASE_URL",
      "password": true
    }
  ],
  "servers": {
    "scholar-rag-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "scholar-rag-mcp"
      ],
      "env": {
        "SCHOLAR_RAG_DATA_DIR": "${input:scholar-rag-data-dir}",
        "SCHOLAR_RAG_CHAT_BASE_URL": "${input:scholar-rag-chat-base-url}",
        "SCHOLAR_RAG_EMBED_BASE_URL": "${input:scholar-rag-embed-base-url}",
        "SCHOLAR_RAG_RERANK_BASE_URL": "${input:scholar-rag-rerank-base-url}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

Scholar RAG MCP in other clients