Agent-Native Calendar
Agent-Native Google Calendar - manage events, sync, and public booking
作者による説明(英語の原文)
Read tables, figures and dates out of a PDF, Word file, CSV or paste, with a verdict on the reading.
この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。
このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。
使っているAIアプリを選んで、設定をコピーしてください。
TRUECOPY_MCP_ROOT必要なもの
どのアプリを使っていますか?
上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。
Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます
{
"mcpServers": {
"truecopy": {
"command": "npx",
"args": [
"-y",
"truecopy",
"mcp"
],
"env": {
"TRUECOPY_MCP_ROOT": "your-value"
}
}
}
}ターミナルでこれを実行します
claude mcp add truecopy --env TRUECOPY_MCP_ROOT=your-value -- npx -y truecopy mcp動かす前に、空欄の値を入力してください。
プロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます
{
"mcpServers": {
"truecopy": {
"command": "npx",
"args": [
"-y",
"truecopy",
"mcp"
],
"env": {
"TRUECOPY_MCP_ROOT": "your-value"
}
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
プロジェクトの .vscode/mcp.json に貼り付けます
{
"servers": {
"truecopy": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"truecopy",
"mcp"
],
"env": {
"TRUECOPY_MCP_ROOT": "your-value"
}
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。
選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。
TRUECOPY_MCP_ROOT envこの設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月6日にチェック
レジストリ名は、リポジトリを所有するGitHubアカウント truecopydev で確認済みです
このリポジトリはまだGitHubから読み取っていません
このリポジトリはまだGitHubから読み取っていません
これはパソコンで動くため、インターネット上のエンドポイントはありません
パソコンで動き、代わりにローカルの設定を使います
パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。
あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。
GitHubリポジトリの最終更新は–、最新バージョン(2.0.22)がレジストリに届いたのは昨日です。
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにNode.jsも必要です。
同じカテゴリには:Agent-Native Calendar, Excel MCP Server, MCP Server for Excel
同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。
カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i
Agent-Native Google Calendar - manage events, sync, and public booking
Create and edit Excel files with AI: charts, PivotTables, formulas. No Excel needed.
Excel automation for AI - Sheets, Power Query, DAX, VBA, Tables, Ranges and more. Windows only.
作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
Extract tables from a PDF in TypeScript, and know when the extraction is wrong.
Turn a document into rows, and refuse the readings you cannot trust. A PDF, a Word or OpenDocument file, a paste, a CSV, an OCR page: one engine reads all of them.
A parser that returns a plausible-looking table from a document it misread is worse than one that returns nothing, because nobody checks a table that looks right. truecopy is the pipeline around whichever reader you write: the door bytes come through, the checks that catch a wrong reading, a way to see what it decided, and a conformance kit that goes red the day the reading stops being honest.
npx -y -p truecopy -p pdfjs-dist truecopy a-statement.pdf
No install, no project, no line of code. The engine is named on the line because it is an optional peer dependency and npm does not fetch one on its own: a project that only ever reads a paste or a CSV never downloads a PDF reader, and for those npx truecopy the-file.csv is the whole command. Left out on a PDF it says no-engine rather than guessing. It prints the cut it made, what each column holds, how often it is filled, and then, on its own, what it could not vouch for.
page 1 - cut at 68, 229, 356, 411, 490
what this reading cannot vouch for:
npm install truecopy
import { readTable } from 'truecopy';
const { rows, warnings, findings } = await readTable(file); // rows [['02/05/2026', 'CARTE AMAZON', '12,40'], …] // warnings ['column 3 of page 2 is filled on only 8% of its rows - the cut may have invented it'] // findings [{ code: 'thin-column', page: 2, column: 3, shareFilled: 0.08, message: '…' }]
No kindOf, no thresholds, no roles. If you only want the cells, destructure rows and go.
file is whatever was dropped. The cut does not care which ruler measured the page, so the same two lines read a PDF, a table pasted out of one, a CSV and a TSV:
| What was dropped | Where a column starts |
|---|---|
| a PDF | the item's x, in points |
| a table pasted with spaces | the character the field starts at |
| a file written with a delimiter | the field's index: a CSV lines nothing up |
| prose, or a file that quotes its fields | nowhere: the row comes back whole, and warnings says so |
That last line is the rule and not the exception. A quoted CSV field may hold the delimiter itself, so splitting on it anyway would shift every column after it. truecopy hands the rows back uncut instead, because half-parsing is the failure this library exists to prevent.
explainDocument names the ruler, so a cut is never a bare list of numbers: cut at 100, 290 on a page, cut at characters 7, 22 on a paste, cut on the delimiter on a CSV, where the columns _are_ the fields and their indices would tell you nothing.
The second field is why this is not just another extractor. An empty `warnings` is not a promise that the reading is right: it means nothing looked wrong from the shape of the page, which is a much smaller claim. Every warning is computed without knowing anything about your document: a page with no columns at all, a column that is almost always empty, pages cut differently from one another, a blank page in the middle.
findings is that same list with a code on it, plus the page and the column it is about. A person reads the sentence; a program branches on the code, and never on English that could be reworded tomorrow.
When the rows have to be trusted (when something downstream acts on them), the rest of this page is how.
A complete reader that runs, in one file and one command:
node example/read-a-statement.mjs
example/read-a-statement.mjs builds a real PDF, opens it, prints what the reading decided, and drives it through the contract. Nothing in it is stubbed, and it needs no document from you: it makes its own.
The first thing you need when a reading comes out wrong is not a better parser. It is knowing which of the three things broke: the document is odd, the cut into columns is wrong, or your rule is wrong. Each calls for a different fix.
import { openDocument, explainDocument } from 'truecopy';
const document = await openDocument(file);
console.log( explainDocument(document, { signature: { kindOf: (cell) => (isDate(cell) ? 'date' : isAmount(cell) ? 'amount' : 'text'), thresholds: { date: { share: 0.6, emptyIsAnomalyAbove: 0.7 }, amount: { share: 0.6 }, text: { share: 0.6 } } }, roles: [ { role: 'when', kind: 'date', minimum: 0.6, take: 'best' }, { role: 'money', kind: 'amount', minimum: 0.6, take: 'each' } ] }) );
truecopy - statement-2026-05.pdf pdf, 1 page(s), 6 row(s)
page 1 - cut at 100, 290
3 column(s), 6 row(s)
col kind filled role 0 date 83% when 1 text 100% - 2 amount 100% money
1 02/05/2026 | CARTE 28/04 AMAZON EU> | 12,40 2 03/05/2026 | VIR SEPA LOYER MAI | 750,00 3 05/05/2026 | CARTE 03/05 SNCF CONN> | 68,00 4 09/05/2026 | PRLV EDF | 91,32 5 12/05/2026 | CARTE 11/05 LE BOULAN> | 7,90 6 ! | TOTAL DES DEBITS | 929,62 <- column 0 (date) is empty
Text, not an image: it goes into a terminal, a CI log, a bug report, a test's expected value. It needs no canvas and no headless browser.
The usual way to read a table is to tune settings until one issuer's layout comes out right. It works, and it stops working at the second issuer: every new bank, every new format, every redesign is another block of settings that only its author understands.
truecopy learns the table from the table. A column full of dates is the date column, whatever its header says; a row that breaks what every other row does is a total, a balance, a footer.
import { findRowAnomalies } from 'truecopy/signature';
// Which rows fall outside the signature the table itself sets. const anomalies = findRowAnomalies(rows, signature);
It reads no label, so it survives an issuer you have never seen. A list of forbidden words only recognises yesterday's documents.
What reads no label is the judgement: which rows belong to the table, which column holds what. The cut is a different problem, and it is the one that still needs help.
Measured on a real bank statement whose header labels were deliberately hidden: the page-wide spread of x proposed twelve columns where the table had five, because it counts the letterhead, the address block and the footer as evidence of where a column starts. Cut on the rows that share the table's shape instead (the ones carrying a date and an amount), it proposed five, and three of the five roles were named from content alone.
`boundariesFromRecurrence` is the general answer, and readTable uses it: keep only the x that come back row after row, because a real column's left edge recurs and a word inside a description does not. On the statement above it took the cut from twelve columns to seven, and named the rest as thin. Where the page gives you something better to trust (a header row, a rule), boundariesFromAnchors takes it.
And whatever you do, keep the self-check. On that same statement the reading still came back wrong, and the only reason that was visible is that the sum of the rows did not match the balances the document itself declares.
That is the honest shape of this library. It does not promise to read an unknown layout correctly. It promises to tell you when it did not.
A value you cannot point at is a value nobody can check. Handed a list of figures, a person has to hunt through the document again; handed a place, they jump to it, and that difference is what makes a correction screen used or abandoned.
import { cellsOf, placesOf } from 'truecopy/layout';
const cells = cellsOf(page); // cells3 is what the fourth row holds const places = placesOf(page); // places3 is where to find it // { page: 1, x: 430, y: 700, width: 30 }
The two are laid out identically, so they are read together. A cell nothing fell into has no place: null, not a rectangle of nothing. ReviewableRow.where carries the same thing for the rows a person is asked to confirm.
No height, because none is known: a text item carries no height here, and inventing a line spacing would draw a rectangle the document never had.
That 1 234,50 and 1,234.50 are the same quantity, that (123,45) is negative and so is 123,45-, that 25/01 is a day before a month here and after it there: none of that says anything about banks or invoices. It says how the page was typeset, and it is the part everybody rewrites and everybody gets wrong once.
import { readNumber, findNumbers, readLeadingDate } from 'truecopy/notation';
readNumber('27800.50'); // 27800.5 - not 2 780 050 readNumber('(123,45)'); // -123.45 - the accounting negative readNumber("1'234.56"); // 1234.56
// Never starts a match inside another number: a date glued to a figure // reads as one figure, not as "026 300,00". findNumbers('30/05/2026 300,00', 2); // [{ value: 300, ... }]
readLeadingDate('25 janv. 2026 GROCERIES', { dateOrder: 'DMY', months }); // { date, length: 13 } - so the caller strips it and keeps the wording
It says null rather than guess. On figures somebody will act upon, a refusal costs a correction and a wrong reading costs a decision.
None of this needs a PDF. truecopy/notation takes strings, so an API field, an HTML scrape or a pasted email gets the same reading as a page, and pdfjs-dist is never loaded. It is the layer worth reaching for before writing a pattern of your own - because the pattern everybody writes instead has a defect nobody sees:
import { accentFree } from 'truecopy/notation';
// \w is [A-Za-z0-9_] in JavaScript, whatever the document is written in. /d[ée]tach\w+/.test('détaché'); // false - the suffix is an accented letter /d[ée]tach\p{L}*/u.test('détaché'); // true accentFree('Détaché'); // 'detache' - or fold first and compare plainly
Nothing fails there: the pattern compiles, runs, and returns a plausible fraction of the matches, which then reads as a fact about the documents rather than a defect in the rule.
try {
await openDocument(file); } catch (error) { if (error instanceof UnreadableDocument) { // 'empty' | 'too-big' | 'no-text' | 'too-slow' | 'no-engine' | 'not-opened' showInYourOwnWords(error.reason); } }
The reason is named so the sentence is not. A library that ships only English prose forces an application that speaks anything else to keep its own copy of the door.
no-engine and not-opened are kept apart on purpose, and the difference is not cosmetic: one says _install pdfjs-dist_, the other says _this file will not open, look for its password_. Told the wrong one, a person hunts for a lock that does not exist and an agent wr
冒頭だけを表示しています。続きはリポジトリで読めます