Add your API keys to .env

April 23, 2026 · View on GitHub

hidrix-tools

MCP tool server that gives any AI agent the ability to search, scrape, and analyze content across the internet.

License Stars MCP Bun


What is hidrix-tools?

AI agents like Claude, OpenClaw, Hermes, Cursor, and pi can read files and write code — but they can't search the web, read social media, or scrape data on their own.

hidrix-tools fixes that. It's an MCP server that provides tools for web search, social media search, Facebook scraping, content analysis, and more. Plug it into any agent that supports MCP — no vendor lock-in.

Your AI Agent                    hidrix-tools                     Internet
┌──────────┐     MCP protocol    ┌──────────────┐                ┌─────────┐
│ Claude   │ ◄─────────────────► │ web_search   │ ◄────────────► │ Brave   │
│ OpenClaw │                     │ x_search     │                │ X/Twitter│
│ Hermes   │                     │ reddit_search│                │ Reddit  │
│ Cursor   │                     │ facebook_    │                │ Facebook│
│ pi       │                     │   scraper    │                │ YouTube │
│ Codex    │                     │ content_     │                │ TikTok  │
│ ...      │                     │   scorer     │                │ Meta Ads│
└──────────┘                     └──────────────┘                └─────────┘

Why use hidrix-tools?

Without hidrix-toolsWith hidrix-tools
Agent can only read local filesAgent can search web, read articles, scrape social media
"I don't have access to the internet""Here are the top 10 Reddit posts about your topic this week"
Manual copy-paste researchAgent autonomously gathers data from 7+ platforms
No competitive intelligenceAgent scrapes competitor FB pages, analyzes engagement patterns
One platform at a timeCross-platform research in a single conversation

Compatible agents

Agent / PlatformSetupStatus
Claude Code / Claude Desktopsettings.json → mcpServers✅ Tested
piNative extension (no MCP)✅ Tested
OpenClawopenclaw.json → mcp_servers✅ Compatible
Hermes Agentconfig.yaml → mcp_servers✅ Compatible
CursorMCP settings✅ Compatible
Codex CLIMCP config✅ Compatible
Any MCP clientstdio transport

Tools

ToolSourceWhat it does
web_searchBrave SearchSearch the web — titles, URLs, descriptions
x_searchGetXAPI / RapidAPISearch X/Twitter with engagement data (likes, retweets, views)
x_thread_readerGetXAPIRead full X threads, articles, and tweet replies
x_user_postsGetXAPIGet recent posts from a specific X user with engagement
reddit_searchRapidAPISearch Reddit with full text and engagement data
reddit_thread_readerReddit JSON API (free)Read full post + comment tree
reddit_subreddit_topReddit JSON API (free)Top posts from any subreddit by time range
youtube_searchRapidAPISearch YouTube videos
tiktok_searchRapidAPISearch TikTok videos

Scrape & Fetch

ToolSourceWhat it does
web_fetchMozilla ReadabilityFetch any URL → clean readable markdown
facebook_scraperApify + Meta APIScrape FB groups, pages, keyword search, or Meta Ad Library

Analyze

ToolSourceWhat it does
content_scorerBuilt-inScore and rank posts by weighted engagement + time-decay
content_analyzerBuilt-inTopic clusters, content patterns, timing trends, author leaderboard

LinkedIn

ToolSourceWhat it does
linkedin_searchApify (no login)Search LinkedIn posts by keyword with engagement data
linkedin_profileApify (no login)Get recent posts from a LinkedIn profile

Intel

ToolSourceWhat it does
similarwebRapidAPIWebsite traffic, rank, engagement analytics

Storage & Automation

ToolSourceWhat it does
data_storeSQLite (built-in)Save/query scraped posts, dedup, run history, storage stats

Real-world use cases

🔍 Research agent

"Find top 10 posts about AI agents on Reddit this week, compare with X/Twitter, summarize the trends"

Agent uses: reddit_searchx_searchcontent_analyzer

📊 Content pipeline

"Scrape 5 Facebook groups about marketing VN, rank top 100 posts by engagement, analyze patterns"

Agent uses: facebook_scraper (group mode) → content_scorercontent_analyzer

🕵️ Competitive intelligence

"What ads is competitor X running on Facebook? What's their messaging strategy?"

Agent uses: facebook_scraper (ads mode) → Meta Ad Library API (free)

📰 Article research

"Read these 5 articles and summarize the key insights"

Agent uses: web_fetch (for each URL)

📈 Market research

"What are people saying about product X across Reddit, X, and YouTube?"

Agent uses: reddit_search + x_search + youtube_searchcontent_analyzer

🏆 Top content discovery

"Find the most viral posts in this Facebook group this month"

Agent uses: facebook_scrapercontent_scorer (sort by engagement)

Install

Quick setup

git clone https://github.com/sonpiaz/hidrix-tools.git ~/.hidrix-tools
cd ~/.hidrix-tools && bun install && cp .env.example .env
# Add your API keys to .env

Connect to your agent

Claude Code — add to ~/.claude/settings.json:

{
  "mcpServers": {
    "hidrix-tools": {
      "command": "bun",
      "args": ["run", "/path/to/hidrix-tools/server.ts"]
    }
  }
}

OpenClaw — add to openclaw.json:

mcp_servers:
  hidrix-tools:
    command: "bun"
    args: ["run", "/path/to/hidrix-tools/server.ts"]

Hermes Agent — add to ~/.hermes/config.yaml:

mcp_servers:
  hidrix-tools:
    command: "bun"
    args: ["run", "/path/to/hidrix-tools/server.ts"]

pi (coding agent) — copy extension:

cp -r integrations/pi-extension ~/.pi/agent/extensions/hidrix-tools
# Then /reload in pi

See integrations/pi-extension/README.md for details.

Standalone (any MCP client):

bun run server.ts

API Keys

Tools are auto-skipped if their API keys are missing — only configure what you need.

KeyToolsFree TierGet it
BRAVE_API_KEYweb_search2,000 queries/monthapi.search.brave.com
GETXAPI_KEYx_search, x_thread_reader, x_user_posts$0.001/call, no subscriptiongetxapi.com
RAPIDAPI_KEYx_search (fallback), reddit_search, youtube_search, tiktok_searchVariesrapidapi.com
SUPADATA_API_KEYyoutube_channel (primary)Paid from $9/mosupadata.ai
APIFY_API_TOKENfacebook_scraper (group/page/search)$5/month creditconsole.apify.com
META_ADS_ACCESS_TOKENfacebook_scraper (ads mode)Free, unlimitedfacebook.com/ads/library/api

Add your own tool

Tools are auto-discovered — no changes to server.ts needed.

cp -r tools/_template tools/your-tool-name
# Edit tools/your-tool-name/index.ts
bun run server.ts
# [hidrix-tools] ✓ your_tool_name

See docs/adding-a-tool.md for the full guide.

Project structure

hidrix-tools/
├── server.ts                  — MCP server, auto-discovers tools
├── tools/
│   ├── _template/             — Copy this to create a new tool
│   ├── web-search/            — Brave Search
│   ├── web-fetch/             — URL → markdown
│   ├── x-search/              — X/Twitter search (GetXAPI + RapidAPI fallback)
│   ├── x-thread-reader/       — Read X threads & articles
│   ├── x-user-posts/          — User timeline with engagement
│   ├── reddit-search/         — Reddit search (upgraded)
│   ├── reddit-thread-reader/  — Full post + comment tree (free API)
│   ├── reddit-subreddit-top/  — Subreddit top posts (free API)
│   ├── youtube-search/        — YouTube search
│   ├── tiktok-search/         — TikTok search
│   ├── similarweb/            — Traffic analytics
│   ├── facebook-scraper/      — FB groups, pages, search, ads
│   ├── content-scorer/        — Engagement scoring + ranking
│   └── content-analyzer/      — Topic/pattern/trend analysis
├── lib/
│   ├── tool-registry.ts       — Auto-discovery engine
│   ├── rapidapi.ts            — Shared RapidAPI client
│   ├── getxapi.ts             — GetXAPI client (X/Twitter)
│   ├── apify.ts               — Apify REST client
│   ├── meta-ads.ts            — Meta Ad Library API client
│   └── readability.ts         — HTML → markdown extraction
└── docs/
    ├── adding-a-tool.md       — Tool authoring guide
    ├── feedback-and-bug-reporting.md — Bug reporting standards
    ├── known-issues.md        — Tracked limitations
    └── ROADMAP.md             — Development roadmap

Docs

DocDescription
Adding a toolHow to create a new tool
Feedback & bug reportingStandards for detecting and reporting issues
Known issuesTracked provider limitations and quirks
RoadmapDevelopment roadmap (X upgrade, Reddit upgrade, LinkedIn, extensions)

Tech stack

TechnologyPurpose
BunRuntime
TypeScriptLanguage
MCP SDKAgent protocol
Brave SearchWeb search
Mozilla ReadabilityContent extraction
ApifyFacebook scraping
Meta Ad Library APIAd intelligence (free)

Contributing

Contributions are welcome. See CONTRIBUTING.md for guidelines.

When reporting bugs, follow docs/feedback-and-bug-reporting.md.

  • affiliate-skills — 45 AI agent skills
  • content-pipeline — AI-powered LinkedIn content generation
  • Kapt — macOS screenshot tool with annotation & OCR
  • Yap — Push-to-talk dictation for macOS

License

MIT — see LICENSE for details.


Built by Son Piaz