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

mcp-server-uithub

v0.1.0

Published

MCP server for interacting with UIThub API

Readme

UIThub MCP Server

Model Context Protocol (MCP) server for interacting with the UIThub API, which provides a convenient way to fetch GitHub repository contents.

This MCP server allows Claude to retrieve and analyze code from GitHub repositories, making it a powerful tool for understanding and discussing code.

Features

  • Retrieve repository contents with smart filtering options
  • Specify file extensions to include or exclude
  • Limit response size by token count or file size
  • Choose output format (JSON, YAML, Markdown, HTML)
  • Integrate with Claude Desktop for natural language exploration of repositories

Installation

  1. Clone the repository

    git clone https://github.com/yourusername/mcp-server-uithub.git
    cd mcp-server-uithub
  2. Install dependencies

    npm install
    # or
    pnpm install
  3. Build the project

    npm run build
    # or
    pnpm build
  4. Initialize the server with Claude Desktop

    node dist/index.js init

Usage with Claude Desktop

After initializing the server, restart Claude Desktop. You should see a 🔨 icon that shows the UIThub tool available for use.

You can then ask Claude to fetch and analyze code from GitHub repositories, for example:

  • "Can you fetch the React components from facebook/react repository and explain how they work?"
  • "Get the README file from microsoft/TypeScript repository and summarize it for me."
  • "Show me only Python files from tensorflow/tensorflow repository."

Tool Reference

getRepositoryContents

Fetches contents from a GitHub repository via the UIThub API.

Parameters:

  • owner (required): GitHub repository owner
  • repo (required): GitHub repository name
  • branch: Branch name (defaults to main)
  • path: File or directory path within the repository
  • ext: Comma-separated list of file extensions to include (e.g., "js,ts,jsx")
  • dir: Comma-separated list of directories to include
  • excludeExt: Comma-separated list of file extensions to exclude
  • excludeDir: Comma-separated list of directories to exclude
  • maxFileSize: Maximum file size to include (in bytes)
  • maxTokens: Limit response to a maximum number of tokens (useful for LLMs)
  • omitFiles: If true, response will not include file contents
  • omitTree: If true, response will not include the directory tree
  • format: Response format, one of: "json", "yaml", "markdown", "html"

Environment Variables

You can configure the server by creating a .env file with the following variables:

# Your GitHub API token for accessing private repositories and higher rate limits
GITHUB_API_KEY=your_github_token

# Set to "true" to enable debug logging
DEBUG=false

Development

For development, you can use the watch mode:

npm run build:watch
# or
pnpm build:watch

License

MIT