Pocket Archive

السجل الرسمي البحث والويب

Search, read, upload and organize your private documents: receipts, contracts, tax records.

التثبيت

أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: ‏.cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).

Remote (streamable-http)
Claude Code
claude mcp add --transport http pocket-archive 'https://api.pocketarchive.io/mcp'
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "pocket-archive": {
            "type": "http",
            "url": "https://api.pocketarchive.io/mcp"
        }
    }
}

التوثيق

مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.

المحتويات
  1. Pocket Archive MCP Server
  2. Before you start
  3. Set up your app
  4. Connection details
  5. Tools
  6. Example prompts
  7. Use the Skill
  8. Files
  9. Privacy and security
  10. Support
  11. License

Pocket Archive MCP Server

Connect Claude, ChatGPT, Cursor, VS Code, Codex or any MCP app to your Pocket Archive, the AI document organizer for receipts, bills, contracts, warranties and tax documents. Your agent can search your documents, read their text, upload new files, track deadlines and organize records into Smart Collections, with read-only or read-and-write access you approve.

Server URL: https://api.pocketarchive.io/mcp · Streamable HTTP · OAuth sign-in · Setup guide on pocketarchive.io

This is a hosted (remote) MCP server; there is nothing to install or run locally. This repository contains its connection details, a reusable Skill and optional client adapters.

Before you start

You need a Pocket Archive account. Create one for free. MCP access is included on every plan, including Free; uploads still count toward your plan's text recognition and storage limits.

Set up your app

Every app uses the same server URL: https://api.pocketarchive.io/mcp. The first time your app connects, it opens Pocket Archive in your browser. Check the app name, then choose read-only or allow changes.

Claude Code
claude mcp add --transport http pocket-archive https://api.pocketarchive.io/mcp

Then run /mcp in Claude Code, choose pocket-archive, and sign in.

Claude (web and desktop)

Open Settings → Connectors and choose Add custom connector. Name it Pocket Archive, paste the server URL, and select Connect.

Codex
codex mcp add pocket-archive --url https://api.pocketarchive.io/mcp
codex mcp login pocket-archive
Cursor

Add Pocket Archive to ~/.cursor/mcp.json:

{
  "mcpServers": {
    "pocket-archive": {
      "url": "https://api.pocketarchive.io/mcp"
    }
  }
}

Cursor opens your browser to sign in the first time it connects.

VS Code

Add Pocket Archive to .vscode/mcp.json in your workspace, or run MCP: Open User Configuration from the Command Palette to add it for all workspaces:

{
  "servers": {
    "pocket-archive": {
      "type": "http",
      "url": "https://api.pocketarchive.io/mcp"
    }
  }
}

Start the server from the file or the Extensions view; VS Code opens your browser to sign in.

ChatGPT

Turn on developer mode in Settings → Apps & Connectors → Advanced settings. Create a connector with the server URL and choose OAuth sign-in. Developer mode is a beta feature, and availability depends on your ChatGPT plan.

Connection details

For other MCP apps, or to check compatibility:

SettingValue
Server namepocket-archive
Endpointhttps://api.pocketarchive.io/mcp
TransportStreamable HTTP
AuthenticationBrowser OAuth authorization code with PKCE S256
RegistrationDynamic public-client registration (DCR), token_endpoint_auth_method=none
Resourcehttps://api.pocketarchive.io/mcp
Scopesarchive:read, optionally archive:write

Use the client's connect/login action. It discovers OAuth metadata, registers its own name and callback URL, opens browser authorization, and exchanges the approved code for MCP credentials. The authorization page displays the registered client's name and callback host; each approved connection is granted and revoked independently.

If you are already signed in to Pocket Archive on the web in the same browser, the authorization page reuses that sign-in. Otherwise you sign in and return to the authorization request. The agent receives its own MCP tokens; it never sees your web session. Read-only connections expose read tools only. Settings → Connected apps in Pocket Archive lists and revokes connections.

A client needs remote Streamable HTTP and this OAuth flow to connect directly. A client supporting only stdio, legacy HTTP+SSE, confidential-client authentication or Client ID Metadata Documents needs an adapter. Not every agent product has been tested; compatibility is defined by these capabilities, not by product names.

Tools

Read-only connections see only the read tools. Allowing changes adds the write tools.

Documents
ToolAccessWhat it does
search_documentsReadSearch by keyword with document type, tag, date, vendor and amount filters; returns snippets and citations
list_documents_pageReadList documents with filters, sorting and pagination
list_documentsReadList documents as a single array (legacy)
get_documentReadGet a document's fields, OCR text and processing state
list_document_pagesReadRead OCR text page by page, with page numbers for citations
download_original_documentReadGet short-lived download links for the original files
get_document_upload_statusReadCheck an upload before and after it is finalized
create_upload_sessionWriteReserve a signed upload URL for a PDF, JPEG, PNG or HEIC file up to 50 MiB
create_documentWriteFinalize an upload and start OCR, analysis and indexing
update_documentWriteUpdate a document's metadata or extracted fields
delete_documentWriteMove a document to trash
restore_documentWriteRestore a document from trash
retry_document_processingWriteRetry a failed processing stage
Attention items (deadlines, renewals and follow-ups)
ToolAccessWhat it does
list_attention_itemsReadList Attention items (the Action Inbox) across the archive or for one document
get_attention_itemReadGet an Attention item and its related information
create_attention_itemWriteCreate an Attention item, optionally linked to a document
update_attention_itemWriteUpdate an item's details, dates or status
delete_attention_itemWriteDelete an Attention item and its reminders
Smart Collections
ToolAccessWhat it does
list_collection_templatesReadList collection templates and their setup questions
list_collectionsReadList collections
get_collectionReadGet a collection, its readiness and details
list_collection_documentsReadList a collection's documents and suggestions
list_collection_requirementsReadList a collection's checklist
list_collection_requirement_documentsReadList the documents matched to a checklist item
list_collection_attention_itemsReadList Attention items for a collection
create_collectionWriteCreate a collection from a template
update_collectionWriteUpdate, archive or restore a collection
delete_collectionWriteDelete a collection (its documents are kept)
refresh_collectionWriteRe-evaluate a collection and its suggestions
include_collection_documentWriteAdd a document to a collection
decide_collection_documentWriteAccept or exclude a suggested document
remove_collection_documentWriteRemove a document from a collection
create_collection_requirementWriteAdd a checklist item
update_collection_requirementWriteUpdate or complete a checklist item
delete_collection_requirementWriteDelete a checklist item
confirm_collection_requirement_documentWriteConfirm that a document satisfies a checklist item
decide_collection_requirement_documentWriteAccept or reject a suggested match for a checklist item
remove_collection_requirement_documentWriteClear a document from a checklist item

Example prompts

  • "Find my Costco receipts from last year and total them."
  • "Which warranties expire in the next three months?"
  • "Upload this PDF to my archive and tell me what it is once it's processed."
  • "Make a tax collection for 2026 and show me which documents are still missing."
  • "List everything with a deadline this month and add a reminder for the lease renewal."

Use the Skill

skills/pocket-archive/SKILL.md contains agent-independent archive workflows: finding records, uploading files and waiting for processing, and downloading originals. An agent that supports SKILL.md can load this folder through its own skill installation mechanism. Other frameworks can use the instructions as task guidance alongside the discovered MCP tool schemas. MCP clients can call the tools without installing the Skill.

# Claude Code
mkdir -p ~/.claude/skills/pocket-archive && curl -fsSL https://raw.githubusercontent.com/ShisunXia/pocket-archive-mcp/main/skills/pocket-archive/SKILL.md -o ~/.claude/skills/pocket-archive/SKILL.md

# Codex
mkdir -p ~/.codex/skills/pocket-archive && curl -fsSL https://raw.githubusercontent.com/ShisunXia/pocket-archive-mcp/main/skills/pocket-archive/SKILL.md -o ~/.codex/skills/pocket-archive/SKILL.md

In the Claude app, download pocket-archive.zip and upload it under Customize → Skills. Code execution must be turned on.

The Skill provides workflow guidance; the host supplies MCP discovery, OAuth, credential storage, tool calls and any binary upload/download capability. If the host cannot perform binary HTTP transfers, the agent directs the user to upload on the web rather than claiming that a local file path was uploaded.

Files

A configuration file is not installed into an agent automatically. Include the adapter and Skill your client needs when packaging for it. This repository contains no credentials.

Privacy and security

Authentication follows the MCP authorization specification. Document text is your data and agents are instructed to treat it as data, never as instructions. See the Pocket Archive privacy policy for how your data is handled.

Support

License

The files in this repository are released under the MIT License. The Pocket Archive name and logo are not covered by this license. Use of the Pocket Archive service is governed by its Terms.

الأسئلة الشائعة

ما هو Pocket Archive؟

Search, read, upload and organize your private documents: receipts, contracts, tax records.

كيف أثبّت Pocket Archive؟

يعمل كخادم بعيد. في Claude Code: claude mcp add --transport http pocket-archive 'https://api.pocketarchive.io/mcp'. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.

هل يحتاج Pocket Archive إلى مفتاح API؟

لا يذكر إدراجه في السجل أي مفتاح أو سر إلزامي. قد تتطلب بعض الميزات حسابًا لدى الخدمة التي يتصل بها.

هل Pocket Archive مفتوح المصدر؟

نعم. شيفرته متاحة على GitHub بترخيص MIT.

من يصون Pocket Archive؟

ينشره ShisunXia. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.

من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.