SP

sea9401/philosophy-mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

11 stars 5 forks 质量 82 趋势 22MIT

MCP server for philosophy texts — PhilPapers/PhilArchive scholarship plus public-domain classics (Gutenberg, Internet Archive, Wikisource), open-access books (DOAB), modern editions (Open Library),...

概览

An MCP server for — both current scholarship and the canon. It folds these into one keyless server: - — the philosophy preprint archive (the field's closest analog to arXiv): search papers, read abstracts, browse recent submissions, pull full text. - — public-domain originals and translations (Project Gutenberg, Internet Archive, Wikisource), open-access academic books (DOAB), modern editions (Open Library), and the Stanford Encyclopedia of Philosophy — plus a generic fetch_text for any other source (Zeno.org, marxists.org, Standard Ebooks, …). - — open a large local PDF or text file and work it without loading the whole thing into context: outline, in-file search, and paged reading. Everything runs against keyless public endpoints. Renamed and expanded from (which covered only the PhilPapers tools). The philpapers-mcp binary name still works as an alias.

README

以下为原文 README 节选,完整内容请查看原文。

philosophy-mcp

An MCP server for philosophy texts — both current scholarship and the canon. It folds these into one keyless server:

  • PhilPapers / PhilArchive — the philosophy preprint archive (the field’s closest analog to arXiv): search papers, read abstracts, browse recent submissions, pull full text.
  • Books, classics & reference — public-domain originals and translations (Project Gutenberg, Internet Archive, Wikisource), open-access academic books (DOAB), modern editions (Open Library), and the Stanford Encyclopedia of Philosophy — plus a generic fetch_text for any other source (Zeno.org, marxists.org, Standard Ebooks, …).
  • Local documents — open a large local PDF or text file and work it without loading the whole thing into context: outline, in-file search, and paged reading.

No API key required. Everything runs against keyless public endpoints.

Renamed and expanded from philpapers-mcp (which covered only the PhilPapers tools). The philpapers-mcp binary name still works as an alias.

Tools

Philosophy scholarship (PhilPapers / PhilArchive)

Tool What it does Backend
search_papers Keyword search (title/abstract/full text), returns metadata + PhilArchive links + PDF URL OpenAlex, filtered to the PhilPapers Foundation source
research One-shot scan: search and pull each hit’s verbatim full abstract + subjects in a single call OpenAlex + OAI-PMH GetRecord
get_paper Canonical metadata + full abstract for one record id PhilArchive OAI-PMH GetRecord
list_recent Records added/updated in a date window PhilArchive OAI-PMH ListRecords
fetch_pdf Download a record’s open-access PDF to disk, return the path philpapers.org/archive/.pdf
get_fulltext Download the open-access PDF and return its extracted full text PDF + unpdf text extraction

PhilArchive is the open-access archive built on the PhilPapers database, so a record id such as BROTNO-9 resolves on both philarchive.org and philpapers.org.

Books, classics & reference

Tool What it does Source
search_gutenberg / get_gutenberg_text Find and read public-domain classics + out-of-copyright translations Project Gutenberg (Gutendex, with a gutenberg.org fallback)
search_internet_archive / get_archive_text Find scanned, out-of-print works and read their OCR text Internet Archive
search_wikisource / get_wikisource_text Find and read primary texts/translations in any language (en, de, ko, …) Wikisource
search_openlibrary Modern editions & translations as metadata, with read/borrow links Open Library
在 GitHub 查看完整 README

安装

npx -y philosophy-mcp
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "philosophy": { "command": "node", "args": ["/home/sea9401/philpapers-mcp/dist/index.js"], "env": { "OPENALEX_MAILTO": "[email protected]" } } } }