ต้นแบบ · รุ่นทดลอง: มีทุก server ในทะเบียนทางการ อัปเดตทุก 30 นาที เข้าสู่ระบบด้วย Google เพื่อเขียนรีวิวได้แล้วต้นแบบ · อัปเดตทุก 30 นาที
PopNx MCPที่รวม MCP สำหรับคนใช้ AI · วิธีติดตั้งภาษาไทยทุกตัว

DPLA Catalog

โดย iandersoรุ่น 0.1.1i★ 0iรันบนเครื่อง
ชื่อใน registryio.github.ianderso/dpla-catalog-mcp

วิธีติดตั้ง

ใช้ทำอะไรได้

ยังไม่มีคำอธิบายภาษาไทย ดูข้อเท็จจริงด้านล่าง หรือเปิดคำอธิบายต้นฉบับจากผู้ทำ

  • ต่อแบบ ติดตั้งในเครื่อง
  • บัญชีหรือคีย์ ต้องมี DPLA_API_KEY
  • หมวด ออกแบบ ภาพ และเสียง
คำอธิบายต้นฉบับจากผู้ทำ (อังกฤษ)
Search the Digital Public Library of America; reach the holding institution's record and images.

ติดตั้ง

เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง

ผลตรวจผ่าน 3/3 · ทำงานบนเครื่องคุณ

ขั้นแรก: คุณใช้ AI ตัวไหน

เลือกแอปที่คุณใช้ ขั้นตอนจะขึ้นด้านล่าง

ต่อกับ Claude ได้ แต่ต้องเตรียมก่อน

ต้องมีคีย์ของ DPLA Catalog (สร้างที่เว็บของผู้ทำ) · ต้องลง Python (uv) ในเครื่องก่อน (ทำครั้งเดียว) · ใช้ได้เฉพาะแอป Claude บนคอม (Windows หรือ Mac) ไม่ใช่บนเว็บหรือมือถือ

  1. ลง Python (uv) ในเครื่อง

    ทำครั้งเดียว ใช้ได้กับทุกตัวที่ต้องใช้ Python (uv)

    เปิดหน้าดาวน์โหลด Python (uv) ↗

  2. สมัครและสร้างคีย์ของ DPLA Catalog

    เปิดเว็บของผู้ทำ สมัครบัญชีแล้วสร้างคีย์ (API key) เก็บไว้ ใช้ในขั้นถัดไป ราคาและแผนฟรีดูที่เว็บของผู้ทำ

    วิธีขอคีย์อยู่ใน README ของผู้ทำด้านล่าง

  3. เปิดไฟล์ตั้งค่าของแอป Claude บนคอม

    SettingsDeveloperEdit Config

  4. วางค่าตั้งนี้แล้วบันทึกไฟล์

    กำลังตรวจคำสั่ง · ปุ่มคัดลอกจะขึ้นเมื่อตรวจผ่าน

    วางคีย์ในช่องของแอปเท่านั้น อย่าวางในแชตหรือส่งให้ใคร

  5. ปิดแอป Claude แล้วเปิดใหม่

  6. ลองเลย

    ใช้ DPLA Catalog บอกหน่อยว่าทำอะไรให้ฉันได้บ้าง แล้วลองทำให้ดูหนึ่งอย่าง

    ✓ ถ้า Claude บอกว่ากำลังใช้ DPLA Catalog หรือมีชื่อเครื่องมือของ DPLA Catalog ขึ้นในคำตอบ แปลว่าต่อสำเร็จ

ชื่อเมนูตรวจกับหน้าช่วยเหลือของ Anthropic เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป

ChatGPT ยังต่อ DPLA Catalog ไม่ได้

DPLA Catalog ต้องติดตั้งในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะตัวที่ทำงานบนเว็บ

คุณทำแบบนี้แทนได้

ก · ใช้แอปที่ต่อ DPLA Catalog ได้

  • ต้องมีคีย์ของ DPLA Catalog (สร้างที่เว็บของผู้ทำ) · ต้องลง Python (uv) ในเครื่องก่อน (ทำครั้งเดียว) · ใช้ได้เฉพาะแอป Claude บนคอม (Windows หรือ Mac) ไม่ใช่บนเว็บหรือมือถือ
  • ต้องมีคีย์ของ DPLA Catalog (สร้างที่เว็บของผู้ทำ) · ต้องลง Python (uv) ในเครื่องก่อน (ทำครั้งเดียว)
  • ต้องมีคีย์ของ DPLA Catalog (สร้างที่เว็บของผู้ทำ) · ต้องลง Python (uv) ในเครื่องก่อน (ทำครั้งเดียว)
  • ต้องมีคีย์ของ DPLA Catalog (สร้างที่เว็บของผู้ทำ) · ต้องลง Python (uv) ในเครื่องก่อน (ทำครั้งเดียว)

ข · ตัวอื่นในหมวด ออกแบบ ภาพ และเสียง ที่ต่อกับ ChatGPT ได้

เลือกจากตัวที่ใช้มากในหมวดเดียวกัน เฉพาะตัวที่ต่อด้วยที่อยู่ได้โดยไม่ต้องใส่คีย์

ต่อกับ Claude Code ได้ แต่ต้องเตรียมก่อน

ต้องมีคีย์ของ DPLA Catalog (สร้างที่เว็บของผู้ทำ) · ต้องลง Python (uv) ในเครื่องก่อน (ทำครั้งเดียว)

  1. ลง Python (uv) ในเครื่อง

    ทำครั้งเดียว ใช้ได้กับทุกตัวที่ต้องใช้ Python (uv)

    เปิดหน้าดาวน์โหลด Python (uv) ↗

  2. สมัครและสร้างคีย์ของ DPLA Catalog

    เปิดเว็บของผู้ทำ สมัครบัญชีแล้วสร้างคีย์ (API key) เก็บไว้ ใช้ในขั้นถัดไป ราคาและแผนฟรีดูที่เว็บของผู้ทำ

    วิธีขอคีย์อยู่ใน README ของผู้ทำด้านล่าง

  3. เปิด Terminal

    Mac: กด Command+Space พิมพ์ Terminal · Windows: เปิด PowerShell

  4. วางคำสั่งนี้แล้วกด Enter

    กำลังตรวจคำสั่ง · ปุ่มคัดลอกจะขึ้นเมื่อตรวจผ่าน

    แก้ “ใส่ค่าของคุณ” เป็นคีย์ของคุณก่อนกด Enter

    วางคีย์ในช่องของแอปเท่านั้น อย่าวางในแชตหรือส่งให้ใคร

  5. พิมพ์ /mcp ใน Claude Code

    ต้องเห็น DPLA Catalog ในรายการและขึ้นว่าเชื่อมต่อแล้ว

  6. ลองเลย

    ใช้ DPLA Catalog บอกหน่อยว่าทำอะไรให้ฉันได้บ้าง แล้วลองทำให้ดูหนึ่งอย่าง

    ✓ ถ้า Claude Code บอกว่ากำลังใช้ DPLA Catalog หรือมีชื่อเครื่องมือของ DPLA Catalog ขึ้นในคำตอบ แปลว่าต่อสำเร็จ

ชื่อเมนูตรวจกับหน้าช่วยเหลือของ Anthropic เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป

ต่อกับ Cursor ได้ แต่ต้องเตรียมก่อน

ต้องมีคีย์ของ DPLA Catalog (สร้างที่เว็บของผู้ทำ) · ต้องลง Python (uv) ในเครื่องก่อน (ทำครั้งเดียว)

  1. ลง Python (uv) ในเครื่อง

    ทำครั้งเดียว ใช้ได้กับทุกตัวที่ต้องใช้ Python (uv)

    เปิดหน้าดาวน์โหลด Python (uv) ↗

  2. สมัครและสร้างคีย์ของ DPLA Catalog

    เปิดเว็บของผู้ทำ สมัครบัญชีแล้วสร้างคีย์ (API key) เก็บไว้ ใช้ในขั้นถัดไป ราคาและแผนฟรีดูที่เว็บของผู้ทำ

    วิธีขอคีย์อยู่ใน README ของผู้ทำด้านล่าง

  3. กดปุ่มนี้เพื่อเปิด Cursor

    กำลังตรวจคำสั่ง · ปุ่มคัดลอกจะขึ้นเมื่อตรวจผ่าน

  4. ใส่คีย์ในช่องที่ว่างไว้

    ในค่าตั้งของ DPLA Catalog ช่อง DPLA_API_KEY, DPLA_CACHE_DIR, DPLA_TIMEOUT, DPLA_MIN_INTERVAL ยังว่าง ใส่คีย์ของคุณแล้วบันทึก

    วางคีย์ในช่องของแอปเท่านั้น อย่าวางในแชตหรือส่งให้ใคร

  5. เปิดแชตของ AI ใน Cursor โหมด Agent

  6. ลองเลย

    ใช้ DPLA Catalog บอกหน่อยว่าทำอะไรให้ฉันได้บ้าง แล้วลองทำให้ดูหนึ่งอย่าง

    ✓ ถ้า Cursor บอกว่ากำลังใช้ DPLA Catalog หรือมีชื่อเครื่องมือของ DPLA Catalog ขึ้นในคำตอบ แปลว่าต่อสำเร็จ

ชื่อเมนูตรวจกับหน้าช่วยเหลือของ Cursor เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป

ต่อกับ VS Code ได้ แต่ต้องเตรียมก่อน

ต้องมีคีย์ของ DPLA Catalog (สร้างที่เว็บของผู้ทำ) · ต้องลง Python (uv) ในเครื่องก่อน (ทำครั้งเดียว)

  1. ลง Python (uv) ในเครื่อง

    ทำครั้งเดียว ใช้ได้กับทุกตัวที่ต้องใช้ Python (uv)

    เปิดหน้าดาวน์โหลด Python (uv) ↗

  2. สมัครและสร้างคีย์ของ DPLA Catalog

    เปิดเว็บของผู้ทำ สมัครบัญชีแล้วสร้างคีย์ (API key) เก็บไว้ ใช้ในขั้นถัดไป ราคาและแผนฟรีดูที่เว็บของผู้ทำ

    วิธีขอคีย์อยู่ใน README ของผู้ทำด้านล่าง

  3. กดปุ่มนี้เพื่อเปิด VS Code

    กำลังตรวจคำสั่ง · ปุ่มคัดลอกจะขึ้นเมื่อตรวจผ่าน

  4. ใส่คีย์ในช่องที่ว่างไว้

    ในค่าตั้งของ DPLA Catalog ช่อง DPLA_API_KEY, DPLA_CACHE_DIR, DPLA_TIMEOUT, DPLA_MIN_INTERVAL ยังว่าง ใส่คีย์ของคุณแล้วบันทึก

    วางคีย์ในช่องของแอปเท่านั้น อย่าวางในแชตหรือส่งให้ใคร

  5. เปิดแชตของ AI ใน VS Code โหมด Agent

  6. ลองเลย

    ใช้ DPLA Catalog บอกหน่อยว่าทำอะไรให้ฉันได้บ้าง แล้วลองทำให้ดูหนึ่งอย่าง

    ✓ ถ้า VS Code บอกว่ากำลังใช้ DPLA Catalog หรือมีชื่อเครื่องมือของ DPLA Catalog ขึ้นในคำตอบ แปลว่าต่อสำเร็จ

ชื่อเมนูตรวจกับหน้าช่วยเหลือของ VS Code เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป

โปรแกรมอื่นที่ใช้ MCP ได้ เช่น Windsurf, Zed หรือ Gemini CLI มีวิธีเพิ่มต่างกัน ดูวิธีของแต่ละตัวในหน้ารวมโปรแกรม

ดูโปรแกรมที่ใช้ MCP ทั้งหมด →

ค่าตั้งแบบไฟล์ JSON อยู่ในหัวข้อ “สำหรับคนเขียนโค้ด” ด้านล่าง

ติดตรงไหน? ถามคนที่ใช้ DPLA Catalog อยู่💬 พูดคุย →
สำหรับคนเขียนโค้ด: คำสั่ง Terminal และค่าตั้ง JSON

ติดตั้งในเครื่อง

Claude Code

กำลังตรวจคำสั่ง · ปุ่มคัดลอกจะขึ้นเมื่อตรวจผ่าน

Claude Desktop (claude_desktop_config.json)

กำลังตรวจคำสั่ง · ปุ่มคัดลอกจะขึ้นเมื่อตรวจผ่าน

Cursor (~/.cursor/mcp.json)

กำลังตรวจคำสั่ง · ปุ่มคัดลอกจะขึ้นเมื่อตรวจผ่าน

VS Code (mcp.json)

กำลังตรวจคำสั่ง · ปุ่มคัดลอกจะขึ้นเมื่อตรวจผ่าน

ค่าที่ต้องใส่เอง

  • DPLA_API_KEY ความลับ จำเป็น env
    Your DPLA API key: 32 letters, digits or hyphens. Free; request it with POST https://api.dp.la/v2/api_key/YOUR_EMAIL and it arrives by email.
  • DPLA_CACHE_DIR env
    Directory for the on-disk response cache.
  • DPLA_TIMEOUT env
    HTTP timeout in seconds.
  • DPLA_MIN_INTERVAL env
    Least seconds between the start of one request to DPLA and the next.

ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README

สรุป

ดาวน์โหลดต่อสัปดาห์i
25/สัปดาห์
การเชื่อมต่อ
รันบนเครื่อง
รุ่นล่าสุดi
0.1.1
ส่งเข้า registryi
6 ต.ค. 2569
แก้โค้ดล่าสุดi
4 พ.ย. 2569
ผู้ทำ
ianderso
แพ็กเกจ
pypi: dpla-catalog-mcp
สถานะใน registry
ใช้งานอยู่

ใช้กับโปรแกรมไหนได้

ดูจากแบบการต่อของ server ตัวนี้ และเอกสารของผู้ทำโปรแกรมแต่ละตัว ตรวจเมื่อ 10 พ.ย. 2569

ติดตั้งบนเครื่องได้ใน

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

ดูโปรแกรมทั้งหมดพร้อมข้อดีข้อเสีย →

คู่มือที่เกี่ยวข้อง

ทำอะไรได้บ้าง

รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง

ผลตรวจเบื้องต้นi

เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 13 พ.ย. 2569

  • ✓ ผ่าน

    ตัวตนผู้ทำตรงกับ repo

    ชื่อใน registry ยืนยันด้วยบัญชี GitHub ianderso ซึ่งเป็นเจ้าของ repo

  • ✓ ผ่าน

    ยังมีคนดูแล

    มีการแก้โค้ดล่าสุด 9 วันที่ผ่านมา

  • ✓ ผ่าน

    มีสัญญาอนุญาต (license)

    ใช้ MIT

  • – ไม่เกี่ยว

    endpoint ตอบ

    ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต

  • – ไม่เกี่ยว

    ล็อกอินแบบ OAuth

    ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน

  • … ยังไม่ตรวจ

    คำอธิบายเครื่องมือไม่มีคำสั่งแอบแฝง

    รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต

พูดคุย

ถาม แชร์เคล็ดลับ หรือแจ้งว่าใช้ไม่ได้ เรียงตามที่คนกดว่ามีประโยชน์

ยังไม่มีใครโพสต์ ถามหรือแชร์เป็นคนแรกได้เลย

ข้อความในส่วนนี้เขียนโดยผู้ใช้ ไม่ใช่ทีม PopNx

เข้าสู่ระบบด้วย Google เพื่อโพสต์

รีวิวจากผู้ใช้

ยังไม่มีรีวิว

เข้าสู่ระบบด้วย Google เพื่อเขียนรีวิว

เทียบกับตัวอื่นในหมวด ออกแบบ ภาพ และเสียงi

  • ดาวมากกว่า 0% ของอีก 2981 ตัวในหมวดนี้
  • ส่งรุ่นใหม่เข้า registry ล่าสุดกว่า 42% ของอีก 2981 ตัวในหมวดนี้
  • ผลตรวจเบื้องต้นดีกว่าหรือเท่ากับ 100% ของอีก 2981 ตัวในหมวดนี้

เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo

คำถามที่พบบ่อย

DPLA Catalog ปลอดภัยไหม?

จากการตรวจเบื้องต้นของเรา ผ่าน 3 จาก 3 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น

ต้องใช้กุญแจหรือรหัสอะไรบ้าง?

ต้องใส่ค่าเหล่านี้: DPLA_API_KEY

ตัวนี้รันบนเครื่องหรือบนคลาวด์?

รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)

ยังมีคนดูแลอยู่ไหม?

repo บน GitHub มีการแก้โค้ดล่าสุด 9 วันที่ผ่านมา และส่งรุ่นล่าสุด (0.1.1) เข้า registry 38 วันที่ผ่านมา

ใช้กับโปรแกรมไหนได้บ้าง?

โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Python (uv) ในเครื่องด้วย

มีตัวไหนใช้แทนได้บ้าง?

ในหมวดเดียวกันมี Figma Context MCP, AutoClip, Next AI Draw.io

ตัวอื่นในหมวดเดียวกัน

server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว

อ่านการ์ด:↓ ดาวน์โหลดต่อสัปดาห์i★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi

Figma Context MCP

Give your coding agent access to your Figma data. Implement designs in any framework in one-shot.

โดย GLipsใช้กันมาก↓ 152.1K/สัปดาห์★ 16.2Kอัปเดต 5 เดือนที่ผ่านมา

รันบนเครื่อง

AutoClip

Clip long videos into short clips with covers and captions. Local CLI and MCP.

โดย zhouxiaokaใช้กันมาก↓ 205/สัปดาห์★ 10.4Kอัปเดต 16 วันที่ผ่านมา

รันบนเครื่อง

Next AI Draw.io

draw.io diagrams your AI agent draws on a live browser canvas that you can also edit by hand

โดย DayuanJiangใช้กันมาก↓ 21.7K/สัปดาห์★ 36.9K ดาวรวมทั้งรีโปอัปเดต 6 วันที่ผ่านมา

รันบนเครื่อง

README จากผู้ทำ

เปิดอ่าน README

ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ

dpla-catalog-mcp

An MCP server for the [Digital Public Library of America](https://dp.la): one search across descriptions of more than 50 million digitised items held by hundreds of US libraries, archives, historical societies and museums. For family history that means county atlases and plat books, city directories, county histories, yearbooks, local newspapers and photographs, many of them held by a small institution you would not think to search.

DPLA holds none of these items. It gathers the descriptions that holding institutions publish, through state and regional "hubs", and every record points back at the item on the holding institution's own site. That page is where the evidence is and what a citation names. The server is built around that fact: each hit carries is_shown_at (the item at its holder), the holding institution, and the rights statement for the digital copy; get_item assembles the parts of a citation of the holder's record; and get_item_images lists the page images from the holder's own IIIF manifest when it publishes one.

It works the way a careful genealogist does. A DPLA record is a finding aid to a finding aid: written by the institution, harvested by a hub, and enriched by DPLA. DPLA searches that metadata only, never the text inside a book or on a page. The tools say so, in the descriptions a model reads.

Nothing here writes anywhere, and nothing here keeps a family tree. It sits well beside nara-catalog-mcp (federal records, with OCR and page images), snac-archives-mcp (which archive holds the papers) and familysearch-mcp (indexed records and images).

This is an independent project. It is not affiliated with, endorsed by, or supported by the Digital Public Library of America or any contributing institution.

Tools

The server publishes six tools, all read-only and annotated so for the client. One makes no network call at all.

Finding items

ToolPurpose
search_itemsThe everyday search: words, title, place, a date range, holding institution, hub, item type. Each hit names its holding institution, the item's address there (is_shown_at), its rights statement, and whether page images can be listed. Copies of one work held in several places are flagged.
search_items_advancedThe same, with every filter DPLA offers: county, state and city as DPLA geocoded them, subject, collection, publisher, format, creator, identifier, the period an item is *about*, rights, exact matching, any-of matching, sorting, and leaving out National Archives records.
facet_itemsCounts before searching: which institutions hold plat books of a county, which years a run of directories covers, which hubs cover a place.

Reading an item

ToolPurpose
get_itemUp to 20 records in full, each with citation_parts: the holding institution, title, date, the institution's own identifiers (call numbers, local ids, OCLC numbers, read from the harvested record too), is_shown_at, rights, and the DPLA id as a finder. Optionally the raw harvested record.
get_item_imagesThe page images, from the IIIF manifest on the holding institution's site (Presentation API 2 and 3), a stretch of the list at a time. When a site refuses scripts, it says so and gives the address to open in a browser.

The server itself

ToolPurpose
api_statusWhether a key is configured (never the key), this session's calls and cache hits, and the last error. Makes no request.

Setup

You need Python 3.11 or later, uv, and a DPLA API key.

The key is free and arrives at once, but it is issued to an email address, so request it yourself:

curl -X POST https://api.dp.la/v2/api_key/you@example.org

DPLA emails a 32-character key to that address. Asking again re-sends the same key. DPLA records only the email address, and counts each call made with the key.

Without cloning. uvx fetches the server from PyPI and runs it in one step:

DPLA_API_KEY=your-key uvx dpla-catalog-mcp

From a clone, which is what you want if you will change it:

git clone https://github.com/ianderso/dpla-catalog-mcp

cd dpla-catalog-mcp uv sync cp .env.example .env # then put your key in .env uv run dpla-catalog-mcp # stdio server, usually launched by the client

Either way the server speaks MCP over stdio, so you will normally let an MCP client start it rather than run it by hand.

Claude Desktop
{

"mcpServers": { "dpla": { "command": "uvx", "args": ["dpla-catalog-mcp"], "env": { "DPLA_API_KEY": "your-key" } } } }

A desktop app does not always inherit your shell's PATH. If the server fails to start because uvx cannot be found, give the full path that which uvx prints as the command.

Claude Code
claude mcp add dpla --env DPLA_API_KEY="$DPLA_API_KEY" -- uvx dpla-catalog-mcp

Or keep the key in a .env file and have the launcher read it, so it is in neither the client's configuration nor your shell history:

"dpla": { "type": "stdio", "command": "sh", "args": ["-c",

"set -a; . \"$HOME/research/.env\"; set +a; exec uvx dpla-catalog-mcp@latest"] }

Configuration

VariableMeaning
DPLA_API_KEYYour key. Required. A missing or malformed key is reported on the first tool call as not_configured, without repeating the value.
DPLA_CACHE_DIRResponse cache directory. Default ~/.cache/dpla-catalog-mcp.
DPLA_TIMEOUTHTTP timeout in seconds. Default 30.
DPLA_MIN_INTERVALLeast seconds between requests to DPLA. Default 0.25.

A .env file in the directory the server starts in supplies anything the environment does not; only that directory is read. An unusable value is reported on the first tool call, naming the variable.

Being a good guest

DPLA sets no quota, but every call is counted against the key. The server sends one request at a time, at least DPLA_MIN_INTERVAL apart; two identical calls in flight share one request; searches and facets are cached on disk for 7 days and records and manifests for 30 (DPLA re-harvests monthly). A 429 or a 5xx gets one retry, honouring Retry-After up to 30 seconds, and is then reported as rate_limited or upstream_error, which is never the same as "nothing found". Requests to institutions' sites are spaced a second apart per site and never retried.

How to read what comes back

  • A hit is a description, not the item. Open is_shown_at, read the item there (or its page images), and cite the holding institution and its record, for example "Standard atlas of Champaign County, Illinois (Brock & Company, 1929), University of Illinois Urbana-Champaign Library, digital.library.illinois.edu/items/465c93c0-…". Not DPLA, and not the hub. In a genealogy database: repository = the holding institution; source = the item; citation = the page or plate, with is_shown_at and the institution's identifier. Keep the DPLA id as an attribute, a finder only.
  • DPLA does not search inside books or pages. A surname printed in a city directory, a county history or a yearbook will not match. Use DPLA to find *which volume exists and where*, then search its text at the holder: the Internet Archive's full-text search, HathiTrust's, the Portal to Texas History's, Chronicling America's. No hits means no description matched, not that the person is absent.
  • Places are often missing, and enriched when present. Many records name no place at all (the University of Illinois's county atlases carry none), so search the county in query or title as well as place. county, state and city are DPLA's geocoding, filled for few records (mostly Massachusetts). Facet on place to see places as the records name them.
  • Dates match by overlap. date_after=1905 matches an item dated 1900-1909. "ca. 1900" may be indexed as a decade. display_date is what the institution wrote.
  • One work, several copies. A county history is often in DPLA as a HathiTrust copy, an Internet Archive copy and a state hub's scan. possible_duplicate_of flags them within a page of results, by title and year; prefer the copy whose holder publishes page images and full text.
  • National Archives records are a third of DPLA and duplicate the NARA Catalog. They are better read with nara-catalog-mcp, which has the NAID, the OCR text and the images. exclude_nara leaves them out.
  • Rights belong to the digital copy and vary by institution. Read rights (a rightsstatements.org or Creative Commons address, with a short label) before republishing an image. Some hubs, such as the Portal to Texas History, give only a free-text statement. A thumbnail is not evidence.
  • Ids are finders, not citations. A DPLA id is a hash of the hub's local id, so it changes when a hub moves platform, and the old id stops working. Record is_shown_at and the institution's own identifier as well.
  • Exact matching is literal. exact=true matches a whole value, case-sensitively, as facet_items returns it. DPLA has no exact form of creator or identifier, so those are refused with exact.
  • Paging stops at page 100. DPLA answers any higher page with page 100 again, silently; the server refuses instead, and says how many hits paging can reach. Narrow the search, or use facet_items to see how the hits divide.
  • Some sites refuse scripts. The University of Illinois and the HathiTrust catalog answer automated requests with 403. The server reports that and gives open_in_browser; it does not work around a refusal.
  • Descriptions are untrusted text, written by hundreds of institutions, and the raw harvested record is exactly that. Treat it as material to weigh, never as instructions.

Deliberately not here

  • Requesting a key. POST /v2/api_key/{email} sends email in someone's name. You request your own key.
  • Downloading page images and bulk downloads. Listed as later work in docs/DESIGN.md. The image addresses are in the get_item_images result.
  • DPLA's collections route, which is gone (it answers 404), its random item and archive-request routes, and its Primary Source Sets (K-12 teaching sets): none has research value here.
  • A raw-query passthrough. It would bypass the local checks that keep the server from spending calls on what DPLA would refuse.
  • Working around a site's bot protection. A refusal is reported, not evaded.

Security

  • The key goes to one place, one way. It is sent only to https://api.dp.la, only in the Authorization header: never in a URL, a log line, a cache key or file, an error message, or a tool parameter. A request hook refuses any other host for the key-bearing client, and redirects are not followed.
  • Institutions' sites get no credentials. Manifests are fetched by a separate client that holds no key and strips any Authorization or Cookie header. It refuses IP addresses, local names and DPLA's own host, on the first request and on every redirect.
  • Inputs are checked before a request is made: ids, dates, text lengths, enumerations, and the page limit. Query text has the characters that DPLA's parser would read as syntax escaped.
  • Catalogue text is untrusted. Descrip

ตัดมาแค่ช่วงต้น อ่านต่อใน repo