# Aryn — MCP server on mcp.ai > Connect your Aryn account and use 9 tools for document data extraction straight from your AI agent. Connect with your own API key. Aryn is an AI-powered platform for document parsing, data extraction, and analytics, enabling users to process and query unstructured documents at scale. By: mcp.ai · official Page: https://mcp.ai/aryn ## Connect (MCP protocol) Remote MCP endpoint (HTTP, streamable): https://api.mcp.ai/p_aryn?ms=1787296080000 Add it as a custom/remote MCP connector, then authenticate when prompted. ## REST API (no MCP client required) Every tool is also a REST endpoint, authed with a workspace API key. Discover: GET https://api.mcp.ai/api/aryn/_endpoints # public; lists every endpoint Call: POST https://api.mcp.ai/api/aryn/ Authorization: Bearer sk_live_… # create one at https://mcp.ai/settings/api-keys Content-Type: application/json Body: { …args } → { "ok": true, "tool": "", "result": { … } } ## Developer docs How to use (MCP or REST), markdown: https://mcp.ai/aryn/skill.md Postman collection (v2.1): https://mcp.ai/aryn/postman.json ## Tools - aryn_create_docset(name: string, schema?: object, prompts?: object, properties?: object) — Tool to create a new DocSet. Use when you need to allocate a storage container before adding documents. - aryn_delete_docset(docset_id: string) — Tool to delete a DocSet and all its documents. Use after confirming the DocSet ID, when you need to permanently remove a DocSet and its contents. - aryn_generate_plan(query: string, rag_mode?: boolean, docset_id: string) — Tool to generate a query plan without executing it. Use when you need to review the logical plan before running your query (e.g., "Generate a plan for revenue breakdown by region"). - aryn_get_doc_set(docsetId: string) — Tool to retrieve metadata for a specific DocSet by its ID. Use when you need to check DocSet details like name, creation time, properties, or prompts. - aryn_get_document(doc_id: string, docset_id: string, include_binary?: boolean, include_elements?: boolean) — Retrieve a document by ID from Aryn DocParse storage. Returns the document's parsed elements (text, tables, sections with embeddings), custom properties, and optionally the original binary content. Us - aryn_get_document_binary(docsetId: string, documentId: string) — Download the original binary content (e.g., PDF, image) of a document from an Aryn DocSet. This action retrieves the raw binary file that was originally uploaded to the DocSet. Use this when you need - aryn_list_async_tasks() — Tool to list all outstanding asynchronous tasks for the account. Use when you need to check pending or running tasks. - aryn_partition_document(file?: object, options?: object, file_url?: string) — Partition a document using Aryn DocParse to extract and structure its content elements including text, tables, and images. Supports file upload or URL input with extensive processing options for chunk - aryn_submit_async_add_doc(file?: object, options?: string, file_url?: string, docset_id: string) — Tool to submit a document for asynchronous addition to a DocSet. Returns a task ID to track the operation. Use when you need to add documents to an existing DocSet and want to track the processing sta ## Example prompts - "What can I do in Aryn?" - "Show me a summary of my Aryn account" ## Links Docs: https://mcp.ai/docs/mcps/aryn Website: https://mcp.ai/mcps/aryn