Google Scholar MCP Server

repository·main·Indexed 18 days ago

https://github.com/jackkuo666/google-scholar-mcp-server

An MCP server (version 0.1.0) that provides a bridge between AI assistants and Google Scholar. It enables AI models to programmatically search for academic papers and retrieve author information using tools such as search_google_scholar_key_words, search_google_scholar_advanced, and get_author_info.

Tokens
1K
Snippets
5
Records
7
Agent score
13%

What's inside google-scholar-mcp-server

  1. Install Google Scholar MCP Server via Smithery

    main

    You can automatically install the server for various AI clients using the Smithery CLI.

    Claude Desktop

    npx -y @smithery/cli@latest install @JackKuo666/google-scholar-mcp-server --client claude --config "{}"

    Cursor

    Paste the following into Settings → Cursor Settings → MCP → Add new server:

    npx -y @smithery/cli@latest run @JackKuo666/google-scholar-mcp-server --client cursor --config "{}" 

    Windsurf

    npx -y @smithery/cli@latest install @JackKuo666/google-scholar-mcp-server --client windsurf --config "{}"

    Cline

    npx -y @smithery/cli@latest install @JackKuo666/google-scholar-mcp-server --client cline --config "{}"
    npx -y @smithery/cli@latest install @JackKuo666/google-scholar-mcp-server --client claude --config "{}"
  2. Install Google Scholar MCP Server manually

    main

    To install the server manually, clone the repository and install the Python dependencies.

    1. Clone the repository:

      git clone https://github.com/JackKuo666/google-scholar-MCP-Server.git
      cd google-scholar-MCP-Server
    2. Install dependencies:

      pip install -r requirements.txt
    git clone https://github.com/JackKuo666/google-scholar-MCP-Server.git
    cd google-scholar-MCP-Server
    pip install -r requirements.txt
  3. Configure Google Scholar MCP Server for Cline

    main

    Add this configuration to your Cline MCP settings. Replace /home/YOUR/PATH/ with your actual path.

    {
      "mcpServers": {
        "google-scholar": {
          "command": "bash",
          "args": [
            "-c",
            "source /home/YOUR/PATH/.venv/bin/activate && python /home/YOUR/PATH/google_scholar_mcp_server.py"
          ],
          "env": {},
          "disabled": false,
          "autoApprove": []
        }
      }
    }
  4. Configure Google Scholar MCP Server for Claude Desktop

    main

    Add the following configuration to your claude_desktop_config.json file.

    Mac OS

    {
      "mcpServers": {
        "google-scholar": {
          "command": "python",
          "args": ["-m", "google_scholar_mcp_server"]
          }
      }
    }

    Windows

    Replace YOUR\PATH with your actual local paths.

    {
      "mcpServers": {
        "google-scholar": {
          "command": "C:\\Users\\YOUR\\PATH\\miniconda3\\envs\\mcp_server\\python.exe",
          "args": [
            "D:\\code\\YOUR\\PATH\\Google-Scholar-MCP-Server\\google_scholar_server.py"
          ],
          "env": {},
          "disabled": false,
          "autoApprove": []
        }
      }
    }
  5. Use search_google_scholar_key_words tool

    main

    Search for articles on Google Scholar using keywords.

    Parameters:

    • query (str): Search query string
    • num_results (int, optional): Number of results to return (default: 5)

    Returns: List of dictionaries containing article information

    result = await mcp.use_tool("search_google_scholar_key_words", {
        "query": "artificial intelligence ethics",
        "num_results": 5
    })
  6. Use search_google_scholar_advanced tool

    main

    Perform an advanced search for articles on Google Scholar using specific filters like author or year range.

    Parameters:

    • query (str): General search query
    • author (str, optional): Author name
    • year_range (tuple, optional): Tuple containing (start_year, end_year)
    • num_results (int, optional): Number of results to return (default: 5)

    Returns: List of dictionaries containing article information

    result = await mcp.use_tool("search_google_scholar_advanced", {
        "query": "machine learning",
        "author": "Hinton",
        "year_range": [2020, 2023],
        "num_results": 3
    })