Skip to main content

A Python package for searching Google Scholar with MCP server support

Project description

lei-google-scholar

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

Installation

pip install lei-google-scholar

Usage

As a Python library

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

# 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

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

lei_google_scholar-0.1.0.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

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

lei_google_scholar-0.1.0-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file lei_google_scholar-0.1.0.tar.gz.

File metadata

  • Download URL: lei_google_scholar-0.1.0.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for lei_google_scholar-0.1.0.tar.gz
Algorithm Hash digest
SHA256 fecbeeb487115ae999db80450d86ab4f39fa1c9fe43a6c5c8acdd790bc8ca711
MD5 4883c4211a3c5b3a5661b87d0e213de1
BLAKE2b-256 7854d11c1283ab1450908f068b07d382315691bf8f179f62f48050ce290d9f76

See more details on using hashes here.

File details

Details for the file lei_google_scholar-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for lei_google_scholar-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 76f52335c14b31acdf1bea5d054ea0aa1aeb2e28a3000158b90ec7de01ed52b6
MD5 025faf75a74d25b5b1d2467ac9983cc4
BLAKE2b-256 e625c0a06cb73e58ba33e9f7b3407167489b62f2f91f6b03f14b9bcdca66de5f

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