Refineo AI Text Humanizer CLI - Transform AI-generated text into natural human writing
Project description
Refineo AI Tools
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:
- Run
refineo login - A browser opens to authorize the device
- Sign in and confirm the device code
- 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
-
First, get your access token:
refineo login cat ~/.refineo/credentials.json # Copy accessToken value
-
Add to Claude Desktop config (
~/Library/Application Support/Claude/claude_desktop_config.jsonon 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file refineo_cli-0.0.3.tar.gz.
File metadata
- Download URL: refineo_cli-0.0.3.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7abbb580c9ed2df63e34d4a0c04fa2e50a9181324ed83b3fae0eb574e21a0899
|
|
| MD5 |
3d26218020f353e6a80916c25027c3ab
|
|
| BLAKE2b-256 |
a894afbfca889d9837987bbbef5d96bdb81844d12cba4fee8733cac3c3639b55
|
Provenance
The following attestation bundles were made for refineo_cli-0.0.3.tar.gz:
Publisher:
python-publish.yml on DADAExperiments/refineo-ai-tools
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
refineo_cli-0.0.3.tar.gz -
Subject digest:
7abbb580c9ed2df63e34d4a0c04fa2e50a9181324ed83b3fae0eb574e21a0899 - Sigstore transparency entry: 814159841
- Sigstore integration time:
-
Permalink:
DADAExperiments/refineo-ai-tools@bba1c685d72294dc7be98c10f87f3244e359c8d5 -
Branch / Tag:
refs/tags/v0.0.3 - Owner: https://github.com/DADAExperiments
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@bba1c685d72294dc7be98c10f87f3244e359c8d5 -
Trigger Event:
push
-
Statement type:
File details
Details for the file refineo_cli-0.0.3-py3-none-any.whl.
File metadata
- Download URL: refineo_cli-0.0.3-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f20f00e4d891c3fdc890c9442195fcb28984c6e8fa58718869cc260ce6d9676f
|
|
| MD5 |
3067c723150cb82fd8235063c9bee463
|
|
| BLAKE2b-256 |
365de2c8beed6edc53be0d174f334d3bfbbabfcf6419fa20d45871dedfdbc37b
|
Provenance
The following attestation bundles were made for refineo_cli-0.0.3-py3-none-any.whl:
Publisher:
python-publish.yml on DADAExperiments/refineo-ai-tools
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
refineo_cli-0.0.3-py3-none-any.whl -
Subject digest:
f20f00e4d891c3fdc890c9442195fcb28984c6e8fa58718869cc260ce6d9676f - Sigstore transparency entry: 814159846
- Sigstore integration time:
-
Permalink:
DADAExperiments/refineo-ai-tools@bba1c685d72294dc7be98c10f87f3244e359c8d5 -
Branch / Tag:
refs/tags/v0.0.3 - Owner: https://github.com/DADAExperiments
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@bba1c685d72294dc7be98c10f87f3244e359c8d5 -
Trigger Event:
push
-
Statement type: