Skip to main content

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

Project description

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

Setup for Claude Desktop

  1. First, get your access token:

    refineo login
    cat ~/.refineo/credentials.json  # Copy accessToken value
    
  2. Add to Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):

    {
      "mcpServers": {
        "refineo": {
          "url": "https://refineo.app/mcp/mcp",
          "headers": {
            "Authorization": "Bearer YOUR_ACCESS_TOKEN"
          }
        }
      }
    }
    

Setup for Cursor

Add to Cursor MCP settings:

{
  "mcpServers": {
    "refineo": {
      "url": "https://refineo.app/mcp/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_ACCESS_TOKEN"
      }
    }
  }
}

Token Refresh

Access tokens expire after 15 minutes. For long-running MCP sessions, you may need to refresh periodically:

# Check token status
refineo stats

# Re-login if expired
refineo login

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

refineo_cli-0.0.5.tar.gz (7.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

refineo_cli-0.0.5-py3-none-any.whl (8.7 kB view details)

Uploaded Python 3

File details

Details for the file refineo_cli-0.0.5.tar.gz.

File metadata

  • Download URL: refineo_cli-0.0.5.tar.gz
  • Upload date:
  • Size: 7.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for refineo_cli-0.0.5.tar.gz
Algorithm Hash digest
SHA256 c8f7e30491519e1e1d5a8884cba6dff4e38c9a6f24195aaf2d53c6ca4db39807
MD5 07654231937644eab20082c6a0aab592
BLAKE2b-256 15cc784c9f32c889abae7a93f9d7022adb8bb16d828059aa7586ed41eb1f7907

See more details on using hashes here.

Provenance

The following attestation bundles were made for refineo_cli-0.0.5.tar.gz:

Publisher: python-publish.yml on DADAExperiments/refineo-ai-tools

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file refineo_cli-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: refineo_cli-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 8.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for refineo_cli-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 af104ab4c23fc72d1804113581e06420ebcee4efc942b81968ce085a01bfbca5
MD5 0d68bcea144ef8c195b6eebf1053654e
BLAKE2b-256 2bea243427a220ede206438a6fafb0766a32ccb527378ba9115be4b80e9e26ef

See more details on using hashes here.

Provenance

The following attestation bundles were made for refineo_cli-0.0.5-py3-none-any.whl:

Publisher: python-publish.yml on DADAExperiments/refineo-ai-tools

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page