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-skills-as-context

v1.0.4

Published

MCP server that searches skills.sh and fetches skill files from GitHub — turn thousands of AI skill files into rich context for your coding agents

Readme

mcp-skills-as-context

Turn skills.sh into a context goldmine for your coding agents.

An MCP server that searches skills.sh and fetches complete skill files from GitHub — giving your AI agents the exact instructions they need to nail any task.

Why This Exists

Skill files are structured instructions that show exactly how a task should be done. They're incredibly valuable context for coding agents — but there are thousands of them on skills.sh, across hundreds of GitHub repos.

You need a programmatic way to search and fetch them. This MCP server does exactly that.

The loop:

  1. Search skills.sh for what you're building
  2. Fetch the full skill files (SKILL.md + all references) from GitHub
  3. Feed that context to your coding agent
  4. Get insanely good briefs, implementations, and outputs

If you're a prompt engineer or building coding agents, this is for you.

The Power Loop

Say you're building a Playwright testing agent. Or a React app where skills are split across dashboards and marketing sites. Instead of hand-writing every instruction:

You: "search for playwright testing skills"
  → search-skills finds 15 matching skills
  → get-skill-details fetches their SKILL.md files + all referenced files
  → Feed that context into your sub-agent brief
  → Agent generates a perfectly structured implementation

Grab all the context. Feed it to your agent. Watch it produce work that actually follows best practices.

Tools

search-skills

Search skills.sh by keyword. Returns skill names, IDs, sources, and install counts.

| Parameter | Type | Description | |-----------|------|-------------| | query | string | Search keyword to find skills | | limit | number | Max results, 1–500 (default 100) |

Returns an array of skills, each with an id you'll pass to get-skill-details.

get-skill-details

Fetch the full file contents for up to 10 skills at once from their GitHub repos. Pass the id values from search results.

| Parameter | Type | Description | |-----------|------|-------------| | skill_ids | string[] | Skill IDs in owner/repo/skillId format (1–10) |

Returns every file in each skill's folder — SKILL.md, reference configs, templates, the lot. Pass many IDs at once for richer context.

Installation

The fastest way to install is with install-mcp:

Claude Desktop

npx install-mcp mcp-skills-as-context --client claude-desktop

Cursor

npx install-mcp mcp-skills-as-context --client cursor

VS Code

npx install-mcp mcp-skills-as-context --client vscode

Claude Code

npx install-mcp mcp-skills-as-context --client claude-code

Other Clients

# Windsurf
npx install-mcp mcp-skills-as-context --client windsurf

# Cline / Roo-Cline
npx install-mcp mcp-skills-as-context --client cline
npx install-mcp mcp-skills-as-context --client roo-cline

# Zed
npx install-mcp mcp-skills-as-context --client zed

# Codex (OpenAI)
npx install-mcp mcp-skills-as-context --client codex

# Goose
npx install-mcp mcp-skills-as-context --client goose

# Warp
npx install-mcp mcp-skills-as-context --client warp

# Gemini CLI
npx install-mcp mcp-skills-as-context --client gemini-cli

# Aider
npx install-mcp mcp-skills-as-context --client aider

Manual Setup

Add to your client's MCP config (e.g., claude_desktop_config.json):

{
  "mcpServers": {
    "skills-as-context": {
      "command": "npx",
      "args": ["mcp-skills-as-context"],
      "env": {
        "GITHUB_TOKENS": "your-github-pat-1,your-github-pat-2"
      }
    }
  }
}

Environment Variables

| Variable | Description | |----------|-------------| | GITHUB_TOKENS | Comma-separated GitHub PATs for higher rate limits (recommended) | | GITHUB_TOKEN | Single GitHub PAT (fallback) |

GitHub tokens are optional but recommended — without them you'll hit rate limits quickly when fetching skill files.

Development

git clone https://github.com/yigitkonur/mcp-skills-as-context.git
cd mcp-skills-as-context
npm install
npm run dev
# Inspector at http://localhost:3000/inspector

How It Works

  1. Search — Queries the skills.sh API (/api/search) and returns matching skills with metadata
  2. Resolve — Parses the skill ID (owner/repo/skillId) to locate the GitHub repository
  3. Discover — Uses the GitHub Git Trees API to find the skill folder at any depth in the repo tree
  4. Fetch — Recursively downloads every file in the skill folder (SKILL.md, configs, templates, sub-directories)
  5. Return — Delivers the complete file contents so your agent has full context

All GitHub requests use token round-robin across multiple PATs to maximize throughput.

License

MIT