Price Per TokenPrice Per Token
Google Scholar Search Server

Google Scholar Search Server

by mochow13

GitHub 17 2,924 uses Remote
0

About

Google Scholar Search Server enables AI assistants to search Google Scholar for academic papers and scholarly research through a streaming HTTP interface. Key features: - Search Google Scholar for academic papers, research articles, and scholarly publications - Returns structured search results with paper details and metadata - Real-time streaming via Server-Sent Events (SSE) for live result updates - Multi-session support for handling simultaneous client connections - Integrates with AI models like Google Gemini for enhanced research workflows

Tools 1

search_google_scholar

Search Google Scholar for academic papers and research articles. Supports filtering by author, publication year range, and returns structured results with titles, authors, abstracts, and URLs.

README

Google Scholar MCP Server

[](https://smithery.ai/server/@mochow13/google-scholar-mcp)

A Model Context Protocol (MCP) server that provides Google Scholar search capabilities through a streamable HTTP transport. This project demonstrates how to build an MCP server with custom tools and integrate it with AI models like Google's Gemini.

Overview

This project consists of two main components:

  • MCP Server: Provides Google Scholar search tools via HTTP endpoints
  • MCP Client: Integrates with Google Gemini AI to process queries and call tools
  • Architecture

    MCP Server Implementation

    The server is built using the @modelcontextprotocol/sdk and implements:

  • Transport: StreamableHTTPServerTransport for HTTP-based communication
  • Session Management: Supports multiple simultaneous connections with session IDs
  • Tool System: Extensible tool registration and execution framework
  • Error Handling: Comprehensive error responses and logging
  • Available Tools

    The server currently provides one main tool:

    #### search_google_scholar

  • Description: Search Google Scholar for academic papers and research
  • Parameters: Configurable search parameters (query, filters, etc.)
  • Returns: Structured search results with paper details
  • Transport Protocol

    The server uses StreamableHTTPServerTransport which supports:

  • HTTP POST: For sending requests and receiving responses
  • HTTP GET: For establishing Server-Sent Events (SSE) streams
  • Session Management: Persistent connections with unique session IDs
  • Real-time Notifications: Streaming updates via SSE
  • Smithery

    The server is now available in Smithery: Google Scholar Search Server

    Installation

    Installing via Smithery

    To install google-scholar-mcp for Claude Desktop automatically via Smithery:

    npx -y @smithery/cli install @mochow13/google-scholar-mcp --client claude
    

    1. Clone the repository:

    git clone 
    cd google-scholar-mcp
    

    2. Install and build:

    cd server
    npm install
    npm run build

    cd client npm install npm run build

    Running the Server

    1. Start the MCP server:

    cd server
    node build/index.js
    

    The server will start on port 3000 and provide the following endpoints:

  • POST /mcp - Main MCP communication endpoint
  • GET /mcp - SSE stream endpoint for real-time updates
  • Server Features

  • Multi-session Support: Handle multiple clients simultaneously
  • Graceful Shutdown: Proper cleanup on SIGINT
  • Logging: Comprehensive request/response logging
  • Error Handling: Structured JSON-RPC error responses
  • Running the Client

    The client demonstrates how to integrate the MCP server with Google's Gemini AI model.

    1. Ensure you have a valid GEMINI_API_KEY and provide it with ``export GEMINI_API_KEY=

    
    2. Start the client:
    
    bash cd client node build/index.js
    
    3. The client will connect to the server and start an interactive chat loop

    Client Features

    #### Conversation Management

  • Persistent Context: Maintains full conversation history across queries
  • Multi-turn Conversations: Supports back-and-forth dialogue with context
  • Function Call Integration: Seamlessly integrates tool calls into conversation flow
  • #### AI Integration

  • Gemini 2.5 Flash: Uses Google's latest language model
  • Tool Discovery: Automatically discovers and registers available MCP tools
  • Function Calling: Converts MCP tools to Gemini function declarations
  • #### Interactive Features

  • Chat Loop: Continuous conversation interface
  • History Management: View and clear conversation history
  • Graceful Exit: Type 'quit' to exit cleanly
  • Usage Example

    Query: Find recent papers about machine learning in healthcare

    [Called tool search_google_scholar with args {"query":"machine learning healthcare recent"}]

    Based on the search results, here are some recent papers about machine learning in healthcare:

    1. "Deep Learning Applications in Medical Imaging" - This paper explores... 2. "Predictive Analytics in Patient Care" - Research on using ML for... ...

    Query: What about specifically for diagnostic imaging?

    [Called tool search_google_scholar with args {"query":"machine learning diagnostic imaging healthcare"}]

    Here are papers specifically focused on diagnostic imaging applications: ...

    
    

    Development

    Project Structure

    ├── server/ │ ├── src/ │ │ ├── index.ts # Express server setup │ │ ├── server.ts # MCP server implementation │ │ └── tools.ts # Tool definitions and handlers ├── client/ │ └── index.ts # MCP client with Gemini integration └── package.json
    `

    Key Components

    #### MCPServer Class (server/src/server.ts`)

  • Manages MCP server lif
  • Related MCP Servers

    AI Research Assistant

    AI Research Assistant

    hamid-vakilzadeh

    AI Research Assistant provides comprehensive access to millions of academic papers through the Semantic Scholar and arXiv databases. This MCP server enables AI coding assistants to perform intelligent literature searches, citation network analysis, and paper content extraction without requiring an API key. Key features include: - Advanced paper search with multi-filter support by year ranges, citation thresholds, field of study, and publication type - Title matching with confidence scoring for finding specific papers - Batch operations supporting up to 500 papers per request - Citation analysis and network exploration for understanding research relationships - Full-text PDF extraction from arXiv and Wiley open-access content (Wiley TDM token required for institutional access) - Rate limits of 100 requests per 5 minutes with options to request higher limits through Semantic Scholar

    Web & Search
    12 8
    Linkup

    Linkup

    LinkupPlatform

    Linkup is a real-time web search and content extraction service that enables AI assistants to search the web and retrieve information from trusted sources. It provides source-backed answers with citations, making it ideal for fact-checking, news gathering, and research tasks. Key features of Linkup: - Real-time web search using natural language queries to find current information, news, and data - Page fetching to extract and read content from any webpage URL - Search depth modes: Standard for direct-answer queries and Deep for complex research across multiple sources - Source-backed results with citations and context from relevant, trustworthy websites - JavaScript rendering support for accessing dynamic content on JavaScript-heavy pages

    Web & Search
    2 24
    Math-MCP

    Math-MCP

    EthanHenrickson

    Math-MCP is a computation server that enables Large Language Models (LLMs) to perform accurate numerical calculations through the Model Context Protocol. It provides precise mathematical operations via a simple API to overcome LLM limitations in arithmetic and statistical reasoning. Key features of Math-MCP: - Basic arithmetic operations: addition, subtraction, multiplication, division, modulo, and bulk summation - Statistical analysis functions: mean, median, mode, minimum, and maximum calculations - Rounding utilities: floor, ceiling, and nearest integer rounding - Trigonometric functions: sine, cosine, tangent, and their inverses with degrees and radians conversion support

    Developer Tools
    22 81