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

@horizonapp/mcp-server

v0.1.2

Published

MCP server for Horizon — connect any AI tool to your workspace

Readme

@horizonapp/mcp-server

The official Model Context Protocol (MCP) server for Horizon — connect any AI tool to your project management workspace.

Works with Claude Code, Cursor, Windsurf, and any MCP-compatible client.

Quick Start

1. Create a Personal API Token

Go to Settings > Account > API Tokens in Horizon and create a new token. Copy it — you won't see it again.

2. Add to your AI tool

Add this to your MCP config file:

Claude Code (.mcp.json or ~/.claude/mcp.json):

{
  "mcpServers": {
    "horizon": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@horizonapp/mcp-server"],
      "env": {
        "HORIZON_API_TOKEN": "horizon_pat_YOUR_TOKEN_HERE"
      }
    }
  }
}

Cursor (.cursor/mcp.json or ~/.cursor/mcp.json):

{
  "mcpServers": {
    "horizon": {
      "command": "npx",
      "args": ["-y", "@horizonapp/mcp-server"],
      "env": {
        "HORIZON_API_TOKEN": "horizon_pat_YOUR_TOKEN_HERE"
      }
    }
  }
}

Windsurf — add the same config to your Windsurf MCP settings file.

3. Restart your AI tool

Horizon tools will be automatically available. Try asking your AI to "list my workspaces" or "show my tasks".

Environment Variables

| Variable | Required | Description | |----------|----------|-------------| | HORIZON_API_TOKEN | Yes | Your Personal API Token (horizon_pat_...) | | HORIZON_API_URL | No | API endpoint. Defaults to https://api.horizonapp.dev/graphql |

Available Tools

Read (10 tools)

| Tool | Description | |------|-------------| | list_workspaces | List all workspaces you have access to | | list_teams | List teams in a workspace | | query_tasks | Search and filter tasks by status, assignee, project, keyword | | query_projects | List projects with health, progress, and lead info | | query_cycles | List cycles (sprints) with progress stats | | query_wiki | Search wiki pages by title | | read_wiki_page | Read the full content of a wiki page | | query_feedback | Search feedback items by type, status, and keyword | | query_team | List team members with roles and email | | query_labels | List available labels for a team |

Write (4 tools)

| Tool | Description | |------|-------------| | create_task | Create a new task in a project | | update_task | Update task title, status, priority, assignee, and more | | create_project | Create a new project in a team | | update_wiki_page | Update wiki page content |

How It Works

AI Tool  -->  MCP Server  -->  Horizon GraphQL API
(stdio)      (translates)      (authenticated via PAT)
  1. Your AI tool sends a tool call over stdio (e.g., query_tasks)
  2. The MCP server translates it into a GraphQL query with your PAT for authentication
  3. The Horizon API processes it with full permission checks and returns data
  4. The MCP server formats the response and sends it back to your AI tool

Security

  • Tokens are never stored in plaintext — only SHA-256 hashes are in the database
  • All existing permission checks apply — RBAC, team access, private teams
  • A PAT gives the same access as your session, nothing more
  • Tokens can be revoked anytime from Account settings
  • Tokens support expiration dates

Important: Never commit your PAT to git. Use ~/.claude/mcp.json (global) or ensure .mcp.json is in your .gitignore.

Local Development

To run against a local Horizon API:

HORIZON_API_TOKEN=your_pat HORIZON_API_URL=http://localhost:8080/graphql npx tsx packages/mcp-server/src/index.ts

License

MIT