GitHits
Search public open-source code, documentation, metadata, vulnerabilities, changelogs, and examples.
MCP server for ClearSale — Brazilian fraud prevention, order risk scoring, device fingerprinting
Pick the AI app you use, then copy the settings.
Passed 3/3 checks · Runs on your computer · ✓ Commands checked Nov 14, 2026
First: which AI do you use?
Pick your app and the steps appear below.
Works with Claude, with some setup first
You need a MCP Clearsale key (create it on the maker’s site) · Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
Copy this message into a Claude chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server MCP Clearsale for Claude on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "clearsale": { "command": "npx", "args": [ "-y", "@codespar/mcp-clearsale" ], "env": { "CLEARSALE_API_KEY": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For CLEARSALE_API_KEY, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the MCP Clearsale tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Already installed? Check first · Open Terminal, type this command and press Enter
node -vMac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed
Open the Node.js download page ↗
When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v
Install once; it works for everything that needs Node.js
Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.
How to get a key is in the maker’s README below
SettingsDeveloperEdit Config
{
"mcpServers": {
"clearsale": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-clearsale"
],
"env": {
"CLEARSALE_API_KEY": "your-value"
}
}
}
}Paste the key only into the app’s field, never into a chat or to anyone
Use MCP Clearsale and tell me what you can do for me, then show me one thing✓ If Claude says it is using MCP Clearsale or shows a MCP Clearsale tool in the answer, you are connected
The command above works without these. Add them only if you want to change something, following the maker’s description.
CLEARSALE_BASE_URL ClearSale API base URL. Defaults to https://api.clearsale.com.br (prod). Override per contract-issued staging URL.Descriptions are as written by the maker.
Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version
ChatGPT cannot connect MCP Clearsale yet
MCP Clearsale runs on your computer, but ChatGPT can only connect servers that run on the web
A · Use an app that can connect MCP Clearsale
B · Others in Cybersecurity that work with ChatGPT
Picked from the most used in the same category, only ones that connect by address with no key
Works with Claude Code, with some setup first
You need a MCP Clearsale key (create it on the maker’s site) · Install Node.js on your computer first (one time)
Copy this message into a Claude Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server MCP Clearsale for Claude Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): claude mcp add --scope user clearsale --env CLEARSALE_API_KEY=your-value -- npx -y @codespar/mcp-clearsale 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For CLEARSALE_API_KEY, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the MCP Clearsale tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Already installed? Check first · Open Terminal, type this command and press Enter
node -vMac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed
Open the Node.js download page ↗
When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v
Install once; it works for everything that needs Node.js
Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.
How to get a key is in the maker’s README below
Mac: press Command+Space and type Terminal · Windows: open PowerShell
claude mcp add --scope user clearsale --env CLEARSALE_API_KEY=your-value -- npx -y @codespar/mcp-clearsaleReplace “your-value” with your key before pressing Enter
Paste the key only into the app’s field, never into a chat or to anyone
You should see MCP Clearsale listed as connected
Use MCP Clearsale and tell me what you can do for me, then show me one thing✓ If Claude Code says it is using MCP Clearsale or shows a MCP Clearsale tool in the answer, you are connected
The command above works without these. Add them only if you want to change something, following the maker’s description.
CLEARSALE_BASE_URL ClearSale API base URL. Defaults to https://api.clearsale.com.br (prod). Override per contract-issued staging URL.Descriptions are as written by the maker.
Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Works with Cursor, with some setup first
You need a MCP Clearsale key (create it on the maker’s site) · Install Node.js on your computer first (one time)
Copy this message into a Cursor chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server MCP Clearsale for Cursor on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "clearsale": { "command": "npx", "args": [ "-y", "@codespar/mcp-clearsale" ], "env": { "CLEARSALE_API_KEY": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For CLEARSALE_API_KEY, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the MCP Clearsale tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Already installed? Check first · Open Terminal, type this command and press Enter
node -vMac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed
Open the Node.js download page ↗
When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v
Install once; it works for everything that needs Node.js
Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.
How to get a key is in the maker’s README below
In the MCP Clearsale settings, CLEARSALE_API_KEY is empty; add your key and save
Paste the key only into the app’s field, never into a chat or to anyone
Use MCP Clearsale and tell me what you can do for me, then show me one thing✓ If Cursor says it is using MCP Clearsale or shows a MCP Clearsale tool in the answer, you are connected
The command above works without these. Add them only if you want to change something, following the maker’s description.
CLEARSALE_BASE_URL ClearSale API base URL. Defaults to https://api.clearsale.com.br (prod). Override per contract-issued staging URL.Descriptions are as written by the maker.
Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Works with VS Code, with some setup first
You need a MCP Clearsale key (create it on the maker’s site) · Install Node.js on your computer first (one time)
Copy this message into a VS Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server MCP Clearsale for VS Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "servers": { "clearsale": { "type": "stdio", "command": "npx", "args": [ "-y", "@codespar/mcp-clearsale" ], "env": { "CLEARSALE_API_KEY": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For CLEARSALE_API_KEY, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the MCP Clearsale tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Already installed? Check first · Open Terminal, type this command and press Enter
node -vMac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed
Open the Node.js download page ↗
When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v
Install once; it works for everything that needs Node.js
Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.
How to get a key is in the maker’s README below
In the MCP Clearsale settings, CLEARSALE_API_KEY is empty; add your key and save
Paste the key only into the app’s field, never into a chat or to anyone
Use MCP Clearsale and tell me what you can do for me, then show me one thing✓ If VS Code says it is using MCP Clearsale or shows a MCP Clearsale tool in the answer, you are connected
The command above works without these. Add them only if you want to change something, following the maker’s description.
CLEARSALE_BASE_URL ClearSale API base URL. Defaults to https://api.clearsale.com.br (prod). Override per contract-issued staging URL.Descriptions are as written by the maker.
Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.
JSON settings are under “For developers” below
Claude Code
claude mcp add --scope user clearsale --env CLEARSALE_API_KEY=your-value -- npx -y @codespar/mcp-clearsaleClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"clearsale": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-clearsale"
],
"env": {
"CLEARSALE_API_KEY": "your-value"
}
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"clearsale": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-clearsale"
],
"env": {
"CLEARSALE_API_KEY": "your-value"
}
}
}
}VS Code (mcp.json)
{
"servers": {
"clearsale": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@codespar/mcp-clearsale"
],
"env": {
"CLEARSALE_API_KEY": "your-value"
}
}
}
}CLEARSALE_API_KEY secret required envCLEARSALE_BASE_URL envDescriptions are as written by the maker.
These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.
npm: @codespar/mcp-clearsaleBased on how this server connects and on each app’s own docs, checked Nov 10, 2026.
Run on your computer in
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
Runs on your computer; the tool list appears in your AI app after you install it.
We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 15, 2026
The registry name was verified with the GitHub account codespar, which owns the repo
Code last changed 2 days ago
Uses MIT
This one runs on your computer; there is no internet endpoint
Runs on your computer and uses local settings instead
Runs on your computer; we can only read tool lists from internet endpoints
Not checked yet
Ask, share a tip or report that it does not work. Sorted by what people marked helpful.
No posts yet. Be the first to ask or share.
Posts here are written by users, not the PopNx team.
No reviews yet
Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.
It passed 3 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.
You need to fill in: CLEARSALE_API_KEY
It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).
The GitHub repo last changed 2 days ago, and the latest version (0.2.0-alpha.3) reached the registry 5 months ago.
Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js on your computer.
In the same category: GitHits, Dependency Management MCP Server, Snyk MCP, Draugr, Spotdb
Same category, other makers, commands already checked. Official ones first, then by stars.
Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi
Search public open-source code, documentation, metadata, vulnerabilities, changelogs, and examples.
Sonatype component intelligence: versions, security analysis, and Trust Score recommendations
Easily find and fix security issues in your applications leveraging Snyk platform capabilities.
Ephemeral data sandbox for AI workflows with guardrails and security
Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.
MCP server for ClearSale — Brazilian fraud prevention.
ClearSale pioneered fraud analytics in Brazil (founded 2001, São Paulo) and remains the default antifraud layer for most major BR ecommerce. This is the first entry in the CodeSpar fraud category — no other server in the catalog does fraud scoring. Future entries (Konduto, Legiti, Sift, Cybersource) will follow the same analyze → decide → feedback shape.
| Tool | Purpose |
|---|---|
send_order_for_analysis | Submit an order to ClearSale for fraud analysis. |
get_order_analysis | Retrieve the current analysis state of an order previously sent to ClearSale. |
update_order_status | Notify ClearSale of the merchant's final decision on an order (APROVADO / CANCELADO / DEVOLVIDO). |
list_orders | List orders submitted to ClearSale with optional filters. |
create_chargeback_notification | Report a confirmed chargeback back to ClearSale. |
get_order_score | Fetch only the fraud score (numeric 0-100) for an order. |
create_device_fingerprint_session | Start a device fingerprint session. |
get_device_fingerprint | Retrieve captured device characteristics for a fingerprint session (OS, browser, timezone, canvas/WebGL has... |
resolve_manual_review | Manually resolve an order currently in EM_ANALISE by approving or declining it. |
get_score_by_document | Look up the risk score and historical signals associated with a Brazilian document (CPF or CNPJ). |
get_score_by_contact | Look up the risk score for a contact identifier (email or phone). |
validate_document | KYC: validate a CPF or CNPJ against Receita Federal. |
validate_address | KYC: validate a Brazilian postal address against the Correios database. |
track_behavior_event | Log a behavior signal (page view, login, signup, custom event) tied to a fingerprint session. |
issue_challenge | Issue an authentication challenge (OTP via SMS/email or KBA question) to a buyer. |
validate_challenge_response | Verify a buyer's response to a challenge issued via issue_challenge. |
create_case | Open a fraud investigation case (e.g. |
update_case | Update an existing fraud investigation case — change status, add notes, reassign, or attach more orders. |
npm install @codespar/mcp-clearsale@alpha
CLEARSALE_API_KEY="..." # Bearer token issued by ClearSale
CLEARSALE_BASE_URL="..." # Optional. Defaults to https://api.clearsale.com.br. Override per contract-issued staging URL.
Server-side Bearer token:
Authorization: Bearer <CLEARSALE_API_KEY>
ClearSale issues the token via the developer portal or through your commercial contract. There is no public sandbox — staging URLs are provisioned per contract; override CLEARSALE_BASE_URL to point at it.
create_device_fingerprint_session and embeds ClearSale's browser JS using the returned session_token.send_order_for_analysis with the same session_id plus full order, payment, items, and billing/shipping data.APROVADO (ship it), REPROVADO (block), or EM_ANALISE (poll get_order_analysis or wait for a webhook).update_order_status with the final merchant decision — this is required for ongoing model quality.create_chargeback_notification so ClearSale can tune its model.# stdio (default — for Claude Desktop, Cursor, etc)
npx @codespar/mcp-clearsale
MCP_HTTP=true MCP_PORT=3000 npx @codespar/mcp-clearsale
fraud — first server in this CodeSpar category. Fraud servers share a common shape (analyze → decide → feedback) distinct from payments, which makes cross-provider swaps (ClearSale ↔ Konduto ↔ Legiti) more straightforward than cross-acquirer swaps.
Need governance, budget limits, and audit trails for agent payments? CodeSpar Enterprise adds policy engine, payment routing, and compliance templates on top of these MCP servers.
MIT