Google-Scholar-MCP-Server

A MCP Server for Google Scholar: 🔍 Enable AI assistants to search and access Google Scholar papers through a simple MCP interface.

GitHub Stars

124

User Rating

Not Rated

Favorites

0

Views

35

Forks

21

Issues

8

Installation
Difficulty
Intermediate
Estimated Time
10-20 minutes
Requirements
Python 3.6 or higher
pip latest version

Installation

Installation

Prerequisites

Please specify required software and versions:
Python: 3.6 or higher
pip: Latest version

Installation Steps

1. Clone Repository

bash
git clone https://github.com/JackKuo666/google-scholar-MCP-Server.git
cd google-scholar-MCP-Server

2. Install Dependencies

bash
pip install -r requirements.txt

3. Start Server

bash
python google_scholar_server.py

Troubleshooting

Common Issues

Issue: Server won't start Solution: Check Python version and reinstall dependencies.

Configuration

Configuration

Basic Configuration

Starting the MCP Server

To start the server, run the following command:
bash
python google_scholar_server.py

Environment Variables

Set the following environment variables as needed:
bash
export API_KEY="your-api-key"
export DEBUG="true"

Examples

Examples

Basic Usage

Searching for Papers

python
result = await mcp.use_tool("search_google_scholar_key_words", {
    "query": "artificial intelligence ethics",
    "num_results": 5
})
print(result)

Advanced Search

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

Retrieving Author Information

python
result = await mcp.use_tool("get_author_info", {
    "author_name": "Hinton"
})
print(result)

Use Cases

Search for papers using keywords.
Perform advanced searches specifying author names and year ranges.
Retrieve detailed information about specific authors.
Support academic research using AI assistants.
Implement automated paper analysis through MCP tools in programs.

Additional Resources