AI Answer Copier
A Model Context Protocol (MCP) server that gives your AI assistant the power to convert Markdown into 14 professional document formats — PDF, DOCX, HTML, LaTeX, CSV, JSON, XML, XLSX, RTF, PNG, and more. Stop copy-pasting. Let the AI do the exporting.
README
MCP server supported AI Question Copier & Multi-Format Exporter
Turn "AI Noise" into "Classroom Ready" in 5 Seconds.
🚀 NEW: MCP Server Support Stop Copy-Pasting Entirely. This tool now functions as an MCP (Model Context Protocol) Server. This means if you use Claude Desktop or any MCP-enabled IDE, the AI can directly send questions to the exporter without you ever hitting Ctrl+C.
Native Integration: Claude can now "see" your export formats.
Direct Pipeline: Ask the AI: "Generate 10 physics questions and export them to my Quizizz CSV via the Copier."
Automated Workflow: Bridge the gap between LLM reasoning and local file generation.
<img width="1018" height="480" alt="image" src="https://github.com/user-attachments/assets/da33b251-f9fe-4bd5-941f-cb92f42350b9" />
npm link: https://www.npmjs.com/package/@xjtlumedia/markdown-mcp-server
Live demo
Online HTML version AI_answer_copier_website
<img width="1327" height="732" alt="live_demo1" src="https://github.com/user-attachments/assets/ed6b9b14-2778-45c7-a27d-c3cc8afd9cd9" /> <img width="1170" height="831" alt="live_demo2" src="https://github.com/user-attachments/assets/98c81708-e1e7-45e4-b27c-44450f51c017" />
Test MCP tool in inspector <img width="1436" height="491" alt="MCP server" src="https://github.com/user-attachments/assets/882ba600-6a33-41f7-9fdb-ff56e6fa346d" />
Use actual MCP instance <img width="925" height="567" alt="MCP1" src="https://github.com/user-attachments/assets/0edb36da-c048-4062-84a7-5521ad7b0f7f" /> <img width="950" height="608" alt="MCP2" src="https://github.com/user-attachments/assets/0dd0c695-1c5a-41ab-9acd-f071b683e3a2" />
The Problem: The "Final Mile" Friction
You asked an AI to write 20 questions. It did a great job. But now you’re stuck:
- The Formatting Nightmare: Spent 30 minutes fixing "Option A" bullet points in Word?
- The LMS Wall: Does your school’s platform (Canvas, Moodle, Kahoot) refuse to "just paste" text?
- The Math Glitch: Did your formulas turn into unreadable gibberish during the copy-paste?
Generating questions takes seconds. Formatting them takes an hour. That is a broken workflow.
The Mission (Why This Exists)
Our goal is Zero-Effort Integration. We believe educators and trainers should spend their time evaluating student progress, not wrestling with CSV headers and margin alignments.
⏳ Time Saved: A Quick Comparison
| Task | Manual Method | With AI Copier |
|---|---|---|
| Extracting Q&A | 10-15 Mins (Copying each line) | 2 Seconds (Auto-detect) |
| Formatting Math | 20 Mins (Fixing symbols) | Instant ( Support) |
| LMS Integration | 15 Mins (Manual Entry) | 1-Click (CSV/JSON Export) |
| Total Prep Time | ~45-60 Minutes | < 1 Minute |
Key Value Props
Instant "Smart-Parse"
Don't worry about how the AI responded. Whether it gave you numbered lists, bold text, or raw blocks, our parser identifies Question, Options, and Answer Keys instantly.
Multi-Destination Export
One source, infinite possibilities. Export to:
- Kahoot/Quizizz: Ready-to-upload Excel templates.
- Print: Beautifully formatted PDFs for physical exams.
- LMS: JSON/XML for Canvas, Blackboard, or Moodle.
- Dev-Ready: Markdown for your personal documentation.
Perfect Math & Code
We treat equations and code blocks as first-class citizens. No more broken $\sqrt{x}$ or un-indented Python snippets.
How it Saves Your Day
- Paste: Throw any messy AI output into the hopper.
- Verify: See your questions neatly organized in a clean UI.
- Blast: Export to 3 different formats at once and get back to your coffee.
The Ultimate Goal
To reclaim 5 hours of your week. By removing the technical barrier between AI intelligence and classroom delivery, we empower teachers to create more frequent, higher-quality assessments without the burnout.
Key Features
Intelligent Extraction
Our AI engine doesn't just "copy" text; it understands the structure. It automatically identifies:
- Question Stems
- Multiple Choice Options (distractors vs. correct answers)
- Explanation/Rationale
- Difficulty Levels & Tags
Multi-Format Exporting
Don't be locked into one ecosystem. Move your questions wherever you need them:
- PDF/Word: Professional handouts for physical exams.
- CSV/Excel: Bulk upload to Kahoot, Quizizz, or Google Forms.
- JSON: Seamless integration for developers and custom LMS.
- Markdown: Perfect for documentation and GitHub-based learning.
Math & Code Ready
Whether you are a Chemistry teacher or a Coding bootcamp instructor, we've got you covered. Full support for equations and syntax-highlighted code snippets.
How It Works
- Generate: Use your favorite AI (ChatGPT, Claude, Gemini) to create a set of questions.
- Copy: Paste the raw AI response into the Copier.
- Export: Choose your format and hit Download.
Installation & Usage
For Developers
# Clone the repository
git clone https://github.com/XJTLUmedia/AI_answer_copier.git
# Install dependencies
npm install
# Start the dev server
npm run dev
Use in production environment
# Use MCP server
cd mcp-server
npm install
npm run build
npm run preview
If you choose to deploy this using npm in your local computer
Simply visit your vite at port 5173 AI_answer_copier
or you can use the demo or online version stated above
🔌 How to Bind to AI Tools (MCP)
<img width="805" height="621" alt="image" src="https://github.com/user-attachments/assets/b012a055-b595-446a-9c12-934239f3d63b" />
To use these 14 tools directly inside MCP like Claude, edit your configuration file:
- Open
%APPDATA%\Claude\claude_desktop_config.json(Windows) or~/Library/Application Support/Claude/claude_desktop_config.json(Mac). - Add the following entry to the
mcpServerslist:
Npm version
{
"mcpServers": {
"ai-answer-copier": {
"command": "npx",
"args": ["-y", "@xjtlumedia/markdown-mcp-server"]
}
}
}
DIY version
{
"mcpServers": {
"markdown-formatter": {
"command": "node",
"args": [
"YOUR_PATH_TO_PROJECT/mcp-server/dist/mcp-server/src/index.js"
]
}
}
}
Note: Replace YOUR_PATH_TO_PROJECT with the absolute path to this folder.
Online version
You can use live demo instance on vercel using
npx @modelcontextprotocol/inspector https://ai-answer-copier.vercel.app/api/mcp
- Restart Claude Desktop. You will now see a 🔌 icon and all 14 tools (DOCX, PDF, XLSX, etc.) will be available for the AI to use automatically.
Contributing
We love help!!! if you find any other circumstances where this project can be improved. Please consider make a pull request.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.