Skip to main content

MCP server for academic document authoring: grant proposals (科研費/JSPS), journal papers (IEEE/IEEJ/APS/Elsevier), research-talk slides. Diagnostic tools + knowledge base distilled from 14 classical Japanese/English writing-technique books (木下/本多/Wallwork/Sato et al.).

Project description

mcp-server-document

MCP server for academic document authoring — grant proposals, journal papers, and research-talk slides — distilled from 14 classical Japanese/English writing-technique books.

Status: 0.1.0 (beta). Battle-tested on grant 申請書 (JSPS, KDDI, パワーアカデミー), IEEJ / IEEE journal submissions, and 20-minute research talks.

What it does

Exposes 40 MCP tools across three sub-domains, plus a placeholder for a diagram-drawing companion:

Sub-module Tools Covers
grant_writing 11 Hook/Vision, Araki 物語論, NG パターン診断, 木下 10 原則, 本多テン原則
paper_writing 14 IMRAD, Reviewer 2 4-tier, Given-New 配置, 禁断 Intro 冒頭, Wallwork アクセプト術
presentation 15 高橋メソッド / Zen / 横徹流, 作図力学, 1/3則・1/4則, 木下 10章 講演術
diagram 0 Planned — HTTP bridge to the sibling Node.js Excalidraw MCP

Tools are split between:

  • Knowledge loaders (*_usage): return the full skill.md guide for LLM context injection.
  • Active diagnostics (*_check_*, *_count_*, *_validate_*): Python-implemented lint rules that operate on .tex, .pdf, .log, .pptx, or raw text — overfull hbox, sentence length, weak hedges, Abstract background ratio, strong-adjective budget, slide line count, hedge-on-key-slide, 漢字比率, 本多テン第二原則, and ~30 more.

Install

pip install mcp-server-document

For PDF page-count and pptx slide-count diagnostics:

pip install "mcp-server-document[full]"   # pymupdf + python-pptx

Register with Claude Code / Claude Desktop

Add to .claude.json (or Claude Desktop config.json):

{
  "mcpServers": {
    "document": {
      "type": "stdio",
      "command": "mcp-server-document",
      "args": [],
      "env": {}
    }
  }
}

Then in Claude: reference document.paper_writing_usage for IMRAD guidance, document.presentation_check_over_politeness to lint your 発表原稿, etc.

Example: diagnose a journal paper draft

# Inside Claude Code, with mcp-server-document registered:
# (pseudocode — actual invocation is through MCP protocol)

mcp.document.paper_writing_check_paragraph_opener(text=intro_text)
# -> flags "In this paper, we propose..." as a banned Wallwork §14.11 opener

mcp.document.paper_writing_check_abstract_background_ratio(abstract=abstract_text)
# -> reports background_ratio: 0.42 (target <= 0.25; Wallwork §13.16 hard reject)

mcp.document.paper_writing_check_strong_adjective_budget(text=full_paper)
# -> 7 strong adjectives ("novel", "innovative", ...) — Wallwork §8.12 warns >=5 reads as hype

Source knowledge

The skill.md guides are distilled from (Japanese):

  • 木下是雄 『理科系の作文技術』 (中公新書)
  • 本多勝一 『日本語の作文技術』 / 『中学生からの作文技術』 (朝日)
  • 北原保雄 編 『問題な日本語』 (大修館書店)
  • 荒木飛呂彦 『荒木飛呂彦の漫画術』 (集英社新書)
  • 児島将康 『いちばんやさしい科研費の申請書の教科書』 (羊土社)
  • 佐藤雅昭 『なぜあなたは論文が書けないのか』 (メディカルレビュー社)
  • まんが版 / 『知的な科学・技術文章の書き方』 / 『作図力学』 / 『研究発表のためのスライドデザイン』

and (English):

  • A. Wallwork, English for Writing Research Papers — the Japanese edition 『日本人研究者のための論文の書き方・アクセプト術』
  • J. Swales, Academic Writing for Graduate Students (CARS model)
  • E. Tufte, The Visual Display of Quantitative Information

All page references in skill.md point back to the cited books so you can verify.

License

MIT — see LICENSE.

Author: Kengo Sugahara (Kindai University, 近畿大学)

Related

Contributing

Issues and PRs welcome. The skill.md guides are deliberately quotable (with page refs) so additions should cite their source too. Please open an issue before adding new diagnostic tools.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mcp_server_document-0.1.0.tar.gz (3.0 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mcp_server_document-0.1.0-py3-none-any.whl (62.1 kB view details)

Uploaded Python 3

File details

Details for the file mcp_server_document-0.1.0.tar.gz.

File metadata

  • Download URL: mcp_server_document-0.1.0.tar.gz
  • Upload date:
  • Size: 3.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for mcp_server_document-0.1.0.tar.gz
Algorithm Hash digest
SHA256 84e8a153c6dfbeb43682a5c4ea701787b1c33a5a5150040bb264f9fea9a74f78
MD5 8fa5633b5c29c20856ad3a84d15a17a7
BLAKE2b-256 47893f2a3f894649a9a187b0350858683c16fada410d0c8c7d90d963b520b388

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcp_server_document-0.1.0.tar.gz:

Publisher: release.yml on ksugahar/mcp-server-document

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mcp_server_document-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for mcp_server_document-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b5eefcd03493f948abfded3c1498d7f513d6c9381850e1744c0d296439f50ac9
MD5 af1bf8e841761afa522bb490c2052dd0
BLAKE2b-256 bc691372a8a6e3a2fa6865af9f60e1fd07ec833ea4566b55c6662d96e56cc4d8

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcp_server_document-0.1.0-py3-none-any.whl:

Publisher: release.yml on ksugahar/mcp-server-document

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page