Back to Browse

Opafex Mcps MCP Server

by Opafex
Developer ToolsLow Risk9.7MCP RegistryLocal
Free

Server data from the Official MCP Registry

Web search (Brave) and SSRF-safe page fetching, extraction and comparison for agents

About

Web search (Brave) and SSRF-safe page fetching, extraction and comparison for agents

Security Report

9.7
Low Risk9.7Low Risk

Valid MCP server (1 strong, 1 medium validity signals). No known CVEs in dependencies. ⚠️ Package registry links to a different repository than scanned source. Imported from the Official MCP Registry. 1 finding(s) downgraded by scanner intelligence.

19 files analyzed · 1 issue found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Required

This plugin requests these system permissions. Most are normal for its category.

file_system

Check that this permission is expected for this type of plugin.

Shell Command Execution

Runs commands on your machine. Be cautious — only use if you trust this plugin.

env_vars

Check that this permission is expected for this type of plugin.

HTTP Network Access

Connects to external APIs or services over the internet.

What You'll Need

Set these up before or after installing:

Brave Search API key; enables web_search and research_topic (recommended)Required

Environment variable: BRAVE_SEARCH_API_KEY

Search provider: "brave" or "duckduckgo" (unofficial HTML scraper, explicit opt-in only)Optional

Environment variable: WEB_RESEARCH_SEARCH_PROVIDER

User-Agent sent with every request (default identifies the bot and links to the repo)Optional

Environment variable: USER_AGENT

Search result cache TTL in seconds (default: 900)Optional

Environment variable: SEARCH_CACHE_TTL

Fetched page cache TTL in seconds (default: 3600)Optional

Environment variable: PAGE_CACHE_TTL

Per-request timeout in milliseconds, across all redirect hops (default: 10000)Optional

Environment variable: FETCH_TIMEOUT_MS

Maximum bytes read from a page body (default: 1000000)Optional

Environment variable: MAX_HTML_SIZE

How to Install

Add this to your MCP configuration file:

{
  "mcpServers": {
    "io-github-opafex-mcp-web-research": {
      "env": {
        "USER_AGENT": "your-user-agent-here",
        "MAX_HTML_SIZE": "your-max-html-size-here",
        "PAGE_CACHE_TTL": "your-page-cache-ttl-here",
        "FETCH_TIMEOUT_MS": "your-fetch-timeout-ms-here",
        "SEARCH_CACHE_TTL": "your-search-cache-ttl-here",
        "BRAVE_SEARCH_API_KEY": "your-brave-search-api-key-here",
        "WEB_RESEARCH_SEARCH_PROVIDER": "your-web-research-search-provider-here"
      },
      "args": [
        "-y",
        "@opafex/mcp-web-research"
      ],
      "command": "npx"
    }
  }
}

Documentation

View on GitHub

From the project's GitHub README.

Opafex MCPs

Open-source Model Context Protocol servers by Opafex. Each server is a standalone npm package usable with Claude Code, Claude Desktop, Cursor, and any MCP-compatible client.

Servers

PackageDescriptionStatus
@opafex/mcp-enrichmentCompany, contact, email & phone enrichment via Clearbit, Hunter.io, TwilioAvailable
@opafex/mcp-file-processorDocument text extraction, keyword detection, chunkingAvailable
@opafex/mcp-web-researchWeb search (Brave API), SSRF-guarded page fetch, research synthesisAvailable
@opafex/mcp-approval-queueHuman-in-the-loop approval gate — the agent asks, only a person approves (elicitation or CLI)Available
@opafex/knowledge-gridLayered context for agents (a library, in its own repo)Available

Quick Start

# Clone and install
git clone https://github.com/opafex/opafex-mcps.git
cd opafex-mcps
npm install
npm run build

# Run the enrichment server (mock mode — no API keys needed)
node packages/enrichment/dist/index.js

Add to Claude Code

Create or edit .mcp.json in your project root:

{
  "mcpServers": {
    "enrichment": {
      "command": "node",
      "args": ["/path/to/opafex-mcps/packages/enrichment/dist/index.js"],
      "env": {
        "CLEARBIT_API_KEY": "sk-...",
        "HUNTER_API_KEY": "...",
        "TWILIO_ACCOUNT_SID": "...",
        "TWILIO_AUTH_TOKEN": "..."
      }
    }
  }
}

All servers work in mock mode when API keys are omitted — great for development and testing.

Development

npm install          # Install all dependencies
npm run build        # Build all packages
npm test             # Run all tests

Adding a New Server

  1. Create packages/<server-name>/ with package.json, tsconfig.json, and src/
  2. Use @opafex/mcp-shared for the server bootstrap (createMCPServer)
  3. Define tools in tools.ts, wire up in index.ts
  4. Add tests in __tests__/

See packages/enrichment as a reference implementation.

Shared Utilities

@opafex/mcp-shared provides:

  • createMCPServer() / buildMCPServer() — Reusable MCP server bootstrap with tool/resource registration and stdio transport
  • ToolContext.elicit — ask the user a question through the client's UI (MCP elicitation), out of the model's reach
  • Validation helpers — Email, domain, phone format validation

License

MIT

Reviews

No reviews yet

Be the first to review this server!