Dewey

السجل الرسمي مؤرشف البحث والويب

Agentic search over your Dewey document collections from any MCP-compatible client.

ماذا يمكنك أن تفعل مع Dewey؟

  • dewey_list_collections — discover available collections and understand their purpose
  • dewey_scan_sections — quickly explore document structure to identify relevant sections
  • dewey_get_section — load full content of a specific section
  • dewey_search — retrieve the most relevant chunks for a focused question
  • dewey_research — run a full agentic research query for questions that need multi-step reasoning
  • dewey_get_collection_stats — assess how much content has been processed
  • dewey_list_claims — surface the most important facts across documents
  • dewey_list_contradictions — identify where documents disagree

التثبيت

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

Remote (streamable-http)
Claude Code
claude mcp add --transport http dewey 'https://mcp.meetdewey.com/mcp'
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "dewey": {
            "type": "http",
            "url": "https://mcp.meetdewey.com/mcp"
        }
    }
}
NPM package @meetdewey/mcp
Claude Code
claude mcp add dewey -e 'DEWEY_API_KEY=<your dewey_api_key>' -e 'DEWEY_COLLECTION_ID=<DEWEY_COLLECTION_ID>' -e 'DEWEY_API_URL=<DEWEY_API_URL>' -- npx -y @meetdewey/mcp@1.5.4
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "dewey": {
            "command": "npx",
            "args": [
                "-y",
                "@meetdewey/mcp@1.5.4"
            ],
            "env": {
                "DEWEY_API_KEY": "<your dewey_api_key>",
                "DEWEY_COLLECTION_ID": "<DEWEY_COLLECTION_ID>",
                "DEWEY_API_URL": "<DEWEY_API_URL>"
            }
        }
    }
}

متغيرات البيئة

  • DEWEY_API_KEY إلزامي سري Your Dewey project API key
  • DEWEY_COLLECTION_ID Default collection ID. When set, tools that accept collection_id fall back to this value.
  • DEWEY_API_URL Override the API base URL (default: https://api.meetdewey.com/v1)

التوثيق

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

المحتويات
  1. @meetdewey/mcp
  2. Installation
  3. Environment variables
  4. Available tools
  5. License

@meetdewey/mcp

MCP server for Dewey — search and research your document collections from Claude, Cursor, and any MCP-compatible agent. See the full API reference for details.

Installation

Add to your claude_desktop_config.json (or equivalent MCP client config):

{
  "mcpServers": {
    "dewey": {
      "command": "/bin/sh",
      "args": ["-lc", "npx -y @meetdewey/mcp"],
      "env": {
        "DEWEY_API_KEY": "dwy_live_...",
        "DEWEY_COLLECTION_ID": "..."
      }
    }
  }
}

Note for Windows users: replace "command": "/bin/sh" and "args": ["-lc", "npx -y @meetdewey/mcp"] with "command": "npx" and "args": ["-y", "@meetdewey/mcp"] — the login-shell wrapper is only needed on macOS/Linux to pick up Homebrew and nvm PATH entries that Claude Desktop doesn't inherit.

Environment variables

VariableRequiredDescription
DEWEY_API_KEYYesYour Dewey project API key
DEWEY_COLLECTION_IDNoDefault collection ID. When set, tools that accept collection_id will fall back to this value.
DEWEY_API_URLNoOverride the API base URL (default: https://api.meetdewey.com/v1)

Available tools

Search & research
ToolDescription
dewey_list_collectionsList all collections in the project, including description and research instructions when set
dewey_searchHybrid semantic + keyword search over chunk content
dewey_scan_sectionsLightweight search over section titles and summaries
dewey_researchAgentic research query with configurable depth — returns a grounded, cited answer
dewey_get_sectionFetch the full Markdown content of a section by ID
Document management
ToolDescription
dewey_list_documentsList documents in a collection with their processing status
dewey_get_document_sectionsList all sections in a document (table of contents with heading levels and IDs)
dewey_get_document_markdownFetch the full converted Markdown content of a document
dewey_retry_documentRetry a failed document — clears error state and re-queues processing
dewey_delete_documentPermanently delete a document and all its derived data
Claims & contradictions
ToolDescription
dewey_list_claimsList extracted factual claims from a collection or specific document, filterable by importance (1–5)
dewey_list_contradictionsList detected contradictions — clusters of conflicting claims with explanations and suggested resolutions
dewey_detect_contradictionsTrigger an async contradiction detection run across all claims in a collection
dewey_get_contradiction_runGet the status and stats of the latest contradiction detection run (use to poll after dewey_detect_contradictions)
dewey_resolve_contradictionApply a resolution instruction to a contradiction or dismiss it
Deduplication
ToolDescription
dewey_detect_duplicatesTrigger an async deduplication run — identifies near-duplicate documents by measuring shared content across chunks and marks one per cluster as canonical
dewey_get_duplicate_runGet the status and stats of the latest deduplication run (use to poll after dewey_detect_duplicates)
dewey_list_duplicate_groupsList near-duplicate groups with canonical + members and coverage percentages
dewey_promote_duplicate_canonicalPromote a different member to canonical; old canonical becomes near_duplicate
dewey_disband_duplicate_groupDisband a group; former members rejoin retrieval as distinct documents

Non-canonical documents are excluded from retrieval and contradiction detection. Requires enableDeduplication: true on the collection (set via dewey_update_collection or the Dewey dashboard).

Collection settings
ToolDescription
dewey_get_collection_statsGet document count, storage, section/chunk/claim counts, and processing status breakdown
dewey_update_collectionUpdate collection name, description, research instructions, visibility, and feature flags
dewey_recompute_summariesRe-run AI section summarization across all documents (e.g. after changing the LLM model)
dewey_recompute_captionsRe-run AI captioning for all images and tables across all documents
dewey_delete_collectionPermanently delete a collection and all its data
Research instructions

Collections can have natural-language instructions that are automatically injected into the research system prompt — for example, noting units, preferred sources, or how to handle missing information. They can be set in the Dewey dashboard, via the API, or directly through dewey_update_collection. When dewey_resolve_contradiction is used to apply a resolution, the suggested instruction is also appended here automatically.

Tool usage pattern

A typical read-only research workflow:

  1. dewey_list_collections — discover available collections and understand their purpose
  2. dewey_scan_sections — quickly explore document structure to identify relevant sections
  3. dewey_get_section — load full content of a specific section
  4. dewey_search — retrieve the most relevant chunks for a focused question
  5. dewey_research — run a full agentic research query for questions that need multi-step reasoning

For deeper analysis and curation:

  1. dewey_get_collection_stats — assess how much content has been processed
  2. dewey_list_claims — surface the most important facts across documents
  3. dewey_list_contradictions — identify where documents disagree
  4. dewey_resolve_contradiction — apply or dismiss each contradiction, updating collection instructions automatically

License

MIT

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

ما هو Dewey؟

Agentic search over your Dewey document collections from any MCP-compatible client.

كيف أثبّت Dewey؟

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

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

نعم. يتطلب DEWEY_API_KEY، وتضبطها في إعداداته.

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

شيفرته علنية على GitHub، لكن المستودع لا يعلن ترخيصًا قياسيًا.

من يصون Dewey؟

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

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