npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@r-mcp/search

v1.0.3

Published

A starter template for search tools

Readme

Research MCP Server

A comprehensive MCP (Model Context Protocol) server that provides powerful research capabilities through multiple academic and web sources. This server integrates with various research platforms to enable deep academic research, web search, and content analysis.

Features

Research & Academic Search

  • Perplexity Integration: AI-powered web search with deep research mode
  • Google Scholar: Academic paper search and citation analysis
  • ArXiv: Scientific paper search, retrieval, and LaTeX source conversion
  • OpenAlex: Comprehensive academic database with rich metadata

Developer & Code Search

  • GitHub Integration: Repository, code, issues, and user search
  • Markdown Conversion: Extract and convert web content to clean markdown

Advanced Capabilities

  • LaTeX to Markdown: Automatic conversion of arXiv papers to readable markdown
  • Timestamped Results: All searches saved to /tmp directory with timestamps
  • Deep Research Mode: Comprehensive analysis for complex topics
  • Multi-format Export: Results saved in organized, searchable formats

Installation

pnpm install
pnpm run build

Quick Start

Install to all MCP clients:

pnpm run install-server

Or install to specific clients:

pnpm run install-desktop    # Claude Desktop
pnpm run install-cursor     # Cursor IDE
pnpm run install-code       # Claude Code
pnpm run install-mcp        # .mcp.json only

Configuration

Create a .env.local file with your API keys:

PERPLEXITY_API_KEY=your_perplexity_key
GITHUB_TOKEN=your_github_token
SERP_API_KEY=your_serp_api_key

Available Tools

Perplexity Search

  • ask-perplexity - Web search with AI-powered answers and deep research mode

Google Scholar

  • google-scholar-search - Academic paper search with citation analysis

ArXiv Research

  • arxiv-search - Search scientific papers with advanced query syntax
  • arxiv-get-paper - Download paper details and LaTeX source with markdown conversion
  • arxiv-search-by-author - Find papers by specific authors
  • arxiv-search-by-category - Browse papers by subject category with date filtering

OpenAlex Academic Database

  • openalex-search-works - Search academic works with rich metadata
  • openalex-search-authors - Find academic authors and their work
  • openalex-search-institutions - Research academic institutions
  • openalex-search-concepts - Explore academic concepts and topics
  • openalex-search-sources - Find journals and conferences
  • openalex-search-publishers - Research academic publishers
  • openalex-search-funders - Find research funding sources
  • openalex-get-work-by-id - Get detailed work information by ID or DOI
  • openalex-autocomplete - Get suggestions for any entity type

GitHub Development

  • github-search-repositories - Find repositories with advanced filtering
  • github-search-code - Search code across repositories
  • github-search-issues - Find issues and pull requests
  • github-search-users - Discover developers and maintainers
  • github-get-repository - Get detailed repository information

Content Processing

  • get-markdown - Convert web pages to clean, structured markdown

Advanced Features

ArXiv LaTeX Processing

  • Automatic download and extraction of LaTeX source files
  • Conversion to markdown using Pandoc
  • Preservation of figures, tables, and bibliography
  • Organized file structure in timestamped directories

Result Management

  • All searches automatically saved to /tmp directory
  • Timestamped filenames for easy organization
  • Structured markdown output for readability
  • Comprehensive metadata preservation

Query Optimization

  • Advanced search syntax support for arXiv
  • Boolean operators (AND, OR, ANDNOT) with parentheses
  • Field-specific searches (title, author, abstract, category)
  • Date range filtering and sorting options

Development

Start the server directly:

pnpm start

Build and test:

pnpm run build
pnpm start

Architecture

Built on the Model Context Protocol (MCP) with:

  • Core Framework: @modelcontextprotocol/sdk
  • Runtime: Node.js with ES modules
  • Language: TypeScript with ES2022 target
  • Validation: Zod for parameter validation
  • Transport: StdioServerTransport for client communication
  • Modular Design: Separate tool files for each service

Project Structure

src/
├── index.ts           # Main MCP server entry point
└── tools/             # Individual tool implementations
    ├── perplexity.ts  # Perplexity AI integration
    ├── scholar.ts     # Google Scholar search
    ├── arxiv.ts       # ArXiv paper search & processing
    ├── openalex.ts    # OpenAlex academic database
    ├── github.ts      # GitHub API integration
    └── markdown.ts    # Web content extraction

Dependencies

  • @modelcontextprotocol/sdk - MCP protocol implementation
  • zod - Runtime type validation
  • axios - HTTP client for API calls
  • dotenv - Environment variable management

License

MIT