Arabic Scholar Logo

Arabic Scholar MCP Server

MCP server for searching the Mandumah Arabic academic database (دار المنظومة)

MCP Protocol Cloudflare Workers Arabic Academic Database

🔗 Connection URL

https://arabic-scholar-mcp.engdawood.workers.dev/mcp

🔑 API Key Configuration

This server requires API keys to function:

Query Parameters (for Claude.ai)

https://arabic-scholar-mcp.engdawood.workers.dev/mcp?api_key=fc-your-key&exa_api_key=your-exa-key

HTTP Headers (for programmatic access)

Firecrawl-API-Key: fc-your-key
Exa-API-Key: your-exa-key

🛠️ Available Tools

mandumah_search

Search the Mandumah database with various filters

{
  "query": "الذكاء الاصطناعي",
  "language": "ar",
  "content_type": "article",
  "peer_reviewed": true,
  "year_from": 2020,
  "year_to": 2024,
  "page": 1,
  "response_format": "markdown"
}

Returns search results with a searchUrl for direct browser access.

mandumah_get_record

Get detailed metadata for a specific record

{
  "record_id": "1199022",
  "response_format": "json"
}

Supports record IDs or full URLs. Returns comprehensive metadata including authors, abstract, subjects, and similar items.

mandumah_get_citation

Get formatted citations (APA/MLA) for a record

{
  "record_id": "1199022",
  "style": "apa",
  "response_format": "markdown"
}

Supports "apa", "mla", or "all" styles. Accepts record IDs or full URLs.

mandumah_list_filters

List all available filter options

{
  "filter_type": "all"
}

Returns content types, languages, and other filtering options. No API call required.

find_paper_pdf

Search for freely available PDFs on open-access repositories

{
  "title": "تطبيقات الذكاء الاصطناعي في المكتبات",
  "include_sites": ["asjp", "shamaa", "google_scholar"],
  "max_results": 5,
  "response_format": "markdown"
}

Searches ASJP, SHAMAA, Al Manhal, ResearchGate, Academia.edu, and Google Scholar. Requires Exa API key.

📋 Output Formats

All tools support three output formats via the response_format parameter:

⚡ Claude Configuration

For Claude.ai (Web Interface)

Add the MCP server URL with query parameters in Claude.ai settings:

https://arabic-scholar-mcp.engdawood.workers.dev/mcp?api_key=fc-your-key&exa_api_key=your-exa-key

For Claude Code CLI

Add this to your .mcp.json:

{
  "mcpServers": {
    "arabic-scholar": {
      "type": "http",
      "url": "https://arabic-scholar-mcp.engdawood.workers.dev/mcp",
      "env": {
        "Firecrawl-API-Key": "fc-your-key",
        "Exa-API-Key": "your-exa-key"
      }
    }
  }
}

For Claude Desktop (using mcp-remote)

Add this to your claude_desktop_config.json:

{
  "mcpServers": {
    "arabic-scholar": {
      "command": "npx",
      "args": [
        "mcp-remote",
        "https://arabic-scholar-mcp.engdawood.workers.dev/mcp?api_key=fc-your-key&exa_api_key=your-exa-key"
      ]
    }
  }
}

📦 Local Development

# Clone the repository
git clone https://github.com/EngDawood/arabic-scholar-mcp.git
cd arabic-scholar-mcp

# Install dependencies
npm install

# Create .env file with your API key
echo "FIRECRAWL_API_KEY=fc-your-key" > .env

# Build and run
npm run build
npm run start