pdf-translator-mcp

pdf-translator-mcp

Provides structured translation guidance for converting English PDFs to Korean, preserving document structure. It works as a custom connector for Claude, supplying rules and workflows for translating papers, manuals, and more.

Category
Visit Server

README

pdf-translator MCP

An MCP server that supplies translation guidance for turning English PDFs — papers, manuals, guides — into Korean while preserving document structure. Registered as a claude.ai custom connector.

This server does not translate. It never receives the PDF. Reading the document, working out its structure, translating it, and assembling the .md artifact are all done by Claude. The server returns one thing: the rules for how to translate.

Design rationale and the reasoning behind each decision live in DESIGN.md (Korean).


Tools

Tool Purpose
start_translation(title, page_count, genre, resuming?) Entry point. Size assessment, two-pass work order, output format, handoff-note format
get_rules(genre) Structure preservation, do-not-translate zones, table/footnote/formula conventions, genre rules

genre is one of paper, manual, other.

Flow

User attaches a PDF
  → Claude reads it
  → start_translation   (may require splitting the file first)
  → get_rules
  → Pass 1: glossary, section map, do-not-translate list; confirm with the user
  → Pass 2: translate section by section, appending to one artifact

Documents past ~150 pages do not fit in a single conversation. The user splits the PDF, and the translation note at the end of the artifact is pasted into the next conversation to carry the glossary forward. Subsequent parts call the tool with resuming: true. The server stores nothing.


Development

npm install
npm run dev        # http://localhost:8787
npm run typecheck
npm run deploy

Poking at it by hand

curl -s -X POST http://localhost:8787/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'

curl -s -X POST http://localhost:8787/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{
        "name":"start_translation",
        "arguments":{"title":"Some Paper","page_count":19,"genre":"paper"}}}'

Layout

src/
  index.ts          Streamable HTTP + JSON-RPC. Stateless, unauthenticated, zero dependencies
  tools.ts          Tool definitions and profile validation
  guides.ts         Size tiering and template substitution
  guides/*.md       ← Guide content. This is the actual product

Most changes belong in src/guides/*.md. Translation quality is decided by those Markdown files, not by the server code. They are bundled as text modules, so you edit the Markdown directly. The guide text is written in Korean because it instructs the model on producing Korean output.

File Contents
plan.md / plan-resume.md Work plan — fresh start / resuming
tier-single.md / tier-caution.md / tier-split.md How to proceed at each document size
rules-common.md Output format, structure preservation, numbers and units, terminology
rules-paper.md / rules-manual.md / rules-other.md Genre-specific rules

Substituted placeholders: {{TITLE}}, {{PAGE_COUNT}}, {{GENRE}}, {{GENRE_LABEL}}, {{SPLIT_HINT}}, {{TIER_BLOCK}}.


Why no MCP SDK

There are no sessions, no streaming, and no server-initiated notifications here, so the SDK solves nothing this server has. Implementing the non-SSE path of Streamable HTTP directly keeps the dependency count at zero and the bundle around 14 KiB gzipped.

Why no authentication

The server touches no user data. It holds no storage, never receives a document, and returns the same public guidelines to everyone. There is nothing to authenticate.


Deployment

npx wrangler deploy

Add the deployed /mcp URL as a custom connector in claude.ai. No further setup is needed.


Test fixture

journal.pone.0350400.pdf — a 19-page pharmacokinetics paper. Chosen because it exercises the hard cases in one document: multi-level merged table headers, statistical symbols, unit-heavy figures, and a reference list that must not be translated.

Zhou X, Deng Y, Guo C, Li Y, Fu Y, Wang Z, et al. (2026) Pharmacokinetic interactions between three SGLT2 inhibitors and telmisartan: A focus on empagliflozin, ertugliflozin, and henagliflozin. PLoS One 21(6): e0350400. https://doi.org/10.1371/journal.pone.0350400

© 2026 Zhou et al. This is an open access article distributed under the terms of the Creative Commons Attribution License (CC BY 4.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited. This repository redistributes the original PDF under those terms.

Recommended Servers

playwright-mcp

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.

Official
Featured
TypeScript
Magic Component Platform (MCP)

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.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

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.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

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.

Official
Featured
TypeScript
Kagi MCP Server

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.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

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.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured