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

refineo-cli

v0.1.1

Published

Refineo AI Text Humanizer CLI - Transform AI-generated text into natural human writing

Downloads

590

Readme

Refineo AI Tools

npm version PyPI version

CLI and MCP tools for Refineo - Transform AI-generated text into natural human writing.

Quick Start

Node.js / TypeScript

# Using bunx (recommended)
bunx refineo-cli login

# Using npx
npx refineo-cli login

# Global install
npm i -g refineo-cli && refineo login

Python

# Using uvx (recommended)
uvx refineo-cli login

# Using pipx
pipx run refineo-cli login

# Global install
pip install refineo-cli && refineo login

Commands

refineo login              # Authenticate with your account
refineo logout             # Clear stored credentials
refineo stats              # Show usage statistics
refineo humanize "text"    # Humanize AI-generated text

Humanize Options

refineo humanize "text" --model enhanced    # Use enhanced model (default)
refineo humanize "text" --model standard    # Use standard model
refineo humanize --file input.txt           # Read from file
refineo humanize --file input.txt --output output.txt  # Write to file
echo "text" | refineo humanize              # Read from stdin

Requirements

  • Pro or Ultra subscription - CLI/MCP access is a Pro+ feature
  • Node.js 18+ (for Node CLI)
  • Python 3.10+ (for Python CLI)

Authentication

The CLI uses device code flow for secure authentication:

  1. Run refineo login
  2. A browser opens to authorize the device
  3. Sign in and confirm the device code
  4. Credentials are stored securely in ~/.refineo/

MCP Integration

Refineo provides an MCP server for integration with Claude Desktop, Cursor, and other AI assistants.

Tools Available

| Tool | Description | |------|-------------| | humanize_text | Transform AI-generated text into natural human writing | | get_usage | Check remaining quota for current billing period |

Authentication Options

Option 1: API Key (Recommended for MCP)

API keys are long-lived (7 days to 1 year) and don't require refresh. Create one at www.refineo.app/dashboard/api-keys.

Option 2: Bearer Token

Use the CLI to get a short-lived access token (15 minutes). Suitable for quick testing.

Setup for Claude Code

Run this command (replace sk_your_api_key with your actual key):

claude mcp add-json refineo '{"type":"http","url":"https://www.refineo.app/mcp/mcp","headers":{"X-API-Key":"sk_your_api_key"}}'

Setup for Claude Desktop (Native OAuth - Recommended)

  1. Open Claude Desktop → Settings → Connectors
  2. Click "Add custom connector"
  3. Enter URL: https://www.refineo.app/mcp/mcp
  4. Click Add → Sign in with your Refineo account

No API key needed - uses OAuth authentication.

Setup for Claude Desktop / Cursor (API Key)

Alternatively, use an API key with the config file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "refineo": {
      "command": "npx",
      "args": [
        "mcp-remote",
        "https://www.refineo.app/mcp/mcp",
        "--header",
        "X-API-Key:sk_your_api_key_here"
      ]
    }
  }
}

Requires Node.js. Uses mcp-remote as a proxy.

Token Refresh

  • API Keys: No refresh needed until expiry (7d-1y). Create new keys at dashboard/api-keys.
  • Bearer Tokens: Expire after 15 minutes. Run refineo login to refresh.

Development

Node CLI

cd node
npm install
npm run build
npm start login

Python CLI

cd python
pip install -e ".[dev]"
refineo login

Links

License

MIT