Metadata-Version: 2.4
Name: lei-google-scholar
Version: 0.1.0
Summary: A Python package for searching Google Scholar with MCP server support
License: MIT
Project-URL: Homepage, https://github.com/yourusername/lei-google-scholar
Project-URL: Repository, https://github.com/yourusername/lei-google-scholar
Project-URL: Issues, https://github.com/yourusername/lei-google-scholar/issues
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Requires-Python: >=3.10
Description-Content-Type: text/markdown
Requires-Dist: scholarly>=1.7.0
Requires-Dist: mcp>=1.0.0
Provides-Extra: dev
Requires-Dist: pytest>=7.0.0; extra == "dev"
Requires-Dist: black>=23.0.0; extra == "dev"
Requires-Dist: flake8>=6.0.0; extra == "dev"

# lei-google-scholar

A Python package for searching Google Scholar with MCP server support.

## Installation

```bash
pip install lei-google-scholar
```

## Usage

### As a Python library

```python
from lei_google_scholar import google_scholar_search, advanced_google_scholar_search

# Simple keyword search
results = google_scholar_search("machine learning", num_results=5)
for r in results:
    print(r['Title'], r.get('Citations', 0))

# Advanced search with filters
results = advanced_google_scholar_search(
    "deep learning",
    author="Yann LeCun",
    year_range=(2010, 2024),
    num_results=10
)
```

### As an MCP server

```bash
# Run the MCP server
lei-google-scholar-server
```

## Features

- Search Google Scholar by keywords
- Advanced search with author and year range filters
- Get author information
- MCP server integration for AI assistants

## Requirements

- Python 3.10+
- scholarly library
- MCP library

## License

MIT
