Detect plagiarized and similar code across code sources on the web See what's new
Official SDKs & developer tools

Code plagiarism detection, built into your stack

Add source code plagiarism checking, peer code similarity, and AI-generated code detection to your applications, terminal, CI pipeline, and AI assistants. One API, official libraries, 65+ programming languages.

Pick your integration

Every library is built on the same Codequiry REST API that powers the dashboard: web and repository matching, peer similarity, and AI code detection.

Node.js SDK

codequiry

The official Node.js library with TypeScript definitions. Full API coverage, plus a one-call helper that uploads your ZIPs, runs the check, and returns similarity scores and AI detection results.

npm install codequiry
Command line

codequiry-cli

Run a full plagiarism scan from the terminal: one command zips a folder, uploads it, starts the check, waits, and prints the results. JSON output and similarity thresholds make it CI-ready.

npm install -g codequiry-cli
AI assistants

MCP server

Connect Claude Code, Claude Desktop, Cursor, or any Model Context Protocol client to Codequiry. Your assistant zips submissions, runs checks, and reads back matches inside the conversation.

npx codequiry-mcp
Any language

REST API

Integrate from Python, PHP, Java, Go, or anything that speaks HTTP. Create checks, upload submissions, start analysis, and fetch results with a single API key header. Webhooks included.

# apikey: YOUR_KEY https://codequiry.com/api/v1

Check code for plagiarism in one call

The Node.js SDK handles the whole workflow: upload, analysis, polling, and results.

const Codequiry = require('codequiry');
const cq = new Codequiry(process.env.CODEQUIRY_API_KEY);

const { overview, aiResults } = await cq.checkFiles('Assignment 1', ['./submissions.zip'], {
  webcheck: true,   // match against web sources and repositories
  dbcheck: true,    // match against Codequiry's database
  aiRun: true,      // also run AI-generated code detection
});

console.log(overview);  // per-submission similarity scores and matches

Everything the dashboard can do, from code

Web plagiarism check

Match submissions against billions of web sources and public repositories.

Peer similarity

Compare every submission against every other to catch collusion in groups.

AI code detection

Flag code written by ChatGPT, Copilot, Claude, and other AI assistants.

65+ languages

Python, Java, C++, JavaScript, SQL, and more, with automatic language detection.

Webhooks

Get a signed callback when a check completes instead of polling for status.

Exports

Pull results as JSON or CSV for gradebooks, LMS imports, and reporting.

Frequently asked questions

Does Codequiry have an API for code plagiarism checking?

Yes. The Codequiry REST API lets you create checks, upload submissions, run source code plagiarism detection against web sources and peer submissions, run AI-generated code detection, and read back similarity scores and matched sources. The Node.js SDK, CLI, and MCP server are all built on it.

Is there a Node.js library for detecting code plagiarism?

Yes, the official codequiry package on npm. It covers the full API, ships TypeScript definitions, and includes a one-call helper that uploads your ZIP files, runs the check, and returns the results.

Can I run plagiarism checks from the command line or CI?

Yes. The codequiry-cli package runs full scans from the terminal, with JSON output and similarity thresholds for CI pipelines.

Which programming languages does the plagiarism checker support?

Codequiry supports 65+ programming languages including Python, Java, C, C++, C#, JavaScript, TypeScript, Go, Ruby, PHP, and SQL, plus a language-agnostic mode and automatic language detection.

Can AI assistants like Claude or Cursor run Codequiry checks?

Yes. The Codequiry MCP server connects any Model Context Protocol client to the API so your assistant can run plagiarism and AI-code detection checks inside the conversation.

Start checking code in minutes

Create an account, grab your API key from the dashboard, and run your first check.