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

@piatra-open-source/piatra-mcp-server

v0.2.1

Published

MCP server interface to the PIATRA API

Downloads

6

Readme

piatra-mcp-server MCP Server

MCP server interface to the PIATRA API

Overview

This is a Model Context Protocol (MCP) server implementation for piatra-mcp-server. It provides tools and capabilities that can be used by MCP clients to interact with PIATRA API MCP.

Features

  • Example Tool: A basic tool demonstrating the MCP server structure
  • Add your custom tools and features here

Installation

From npm

npm install -g @piatra-open-source/piatra-mcp-server

From source

  1. Clone the repository:
git clone https://gitlab.com/piatra_eng/machine-learning/piatra-mcp-server
cd piatra-mcp-server
  1. Install dependencies:
npm install
  1. Build the project:
npm run build

Configuration

Using with Claude Desktop

Add the following to your Claude Desktop configuration file:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "piatra-mcp-server": {
      "command": "npx",
      "args": ["@piatra-open-source/piatra-mcp-server"],
      "env": {
        // Add any required environment variables here
      }
    }
  }
}

Environment Variables

  • DEBUG: Set to true to enable debug logging

Available Tools

example_tool

A demonstration tool that processes input and returns a formatted response.

Parameters:

  • input (required): The input parameter for the example tool
  • optional (optional): An optional parameter

Example usage:

{
  "tool": "example_tool",
  "arguments": {
    "input": "Hello, world!",
    "optional": "Extra information"
  }
}

Development

Prerequisites

  • Node.js 18 or higher
  • npm or yarn

Setup

  1. Install dependencies:
npm install
  1. Build the project:
npm run build
  1. Run in development mode:
npm run dev

Adding New Tools

  1. Define your tool in the TOOLS array in src/index.ts
  2. Add the tool handler in the CallToolRequestSchema switch statement
  3. Implement your tool's logic
  4. Update this README with documentation for your new tool

Testing

Run the server in debug mode:

DEBUG=true npm start

Building

Build the TypeScript project:

npm run build

Watch for changes during development:

npm run watch

Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Add tests if applicable
  5. Submit a pull request

License

PIATRA COMMERCIAL

Support

For issues, questions, or suggestions, please open an issue.

Changelog

See CHANGELOG.md for version history and release notes.