شعار Subio MCP

Subio MCP

المجتمع
alijancb

MCP server that scrapes public posts from X, LinkedIn and Hacker News in a local browser that is never signed in

الناشرalijancb
المستودعsubio-mcp
اللغةTypeScript
التفريعات
0
النجوم
35
الأدوات المتاحة
0
نوع نقل البياناتstdio
الفئات
الترخيصMIT
الروابط
  • اربط الأدوات بسير عمل الذكاء الاصطناعي

    يتيح Subio MCP إمكانات MCP التي يمكن لتطبيقات الذكاء الاصطناعي العميلة ووكلاء الذكاء الاصطناعي المتوافقة استخدامها.

  • الأدوات المتاحة: 0

    تصفّح الإجراءات القابلة للاستدعاء أدناه، بما في ذلك أسماؤها وأوصافها عندما يوفّرها الخادم.

  • إعدادات جاهزة للنسخ

    استخدم أمثلة إعداد التثبيت لتهيئة هذا الخادم في تطبيق MCP العميل المفضّل لديك.

  • مؤشرات الاهتمام بالمصدر المفتوح

    النجوم: 35، والنسخ المتفرعة: 0 في المستودع المرتبط.

Subio Scrape

Read what people are actually posting — in a browser that is never signed in.

An MCP server that opens a browser on your own machine, reads the public posts a signed-out visitor is shown on X, LinkedIn and Hacker News, and hands them back as structured data your agent can reason about.

Install · Tools · What signed-out access buys you · Blocks · Security


What this is

Ask your agent "what have @naval and @paulg been posting about onboarding this week?" and it opens a real browser window, reads those two timelines, and answers with the posts, their engagement counts and their links.

Everything happens locally. There is no API key, no account, no cloud service and no data leaving your machine except the page requests themselves.

It never signs in. Session cookies are deleted from its browser profile before every run. It reads exactly what a logged-out visitor is shown — nothing behind a login, nothing behind a challenge. It does not solve CAPTCHAs, does not disguise that it is automated, and does not retry a refusal.

That constraint is the point, and it shapes what the tool can and cannot do. The sections below are honest about both.

Quick start

bash
claude mcp add subio-scrape -- npx -y github:alijancb/subio-mcp

Then ask, in plain language:

собери, что @naval и @paulg писали за неделю про онбординг

Using a different agent — Codex, Cursor, Windsurf, Cline, Zed, VS Code? See INSTALL.md, which has a one-page guide per client that your agent can follow for you.

For Claude Code there is also a plugin, which adds a /scrape command and a workflow skill on top of the tools:

bash
git clone https://github.com/alijancb/subio-mcp.git ~/subio-mcp && cd ~/subio-mcp && npm install
bash
claude plugin marketplace add ~/subio-mcp && claude plugin install subio-scrape@subio

Requirements

  • Node.js 20 or newer.
  • A browser. It uses Chrome or Edge if you have one. If not, run npx playwright install chromium once.
  • A desktop session. The window has to be visible — see below for why. This does not run on a headless server.

Tools

ToolWhat it reads
x_account_postsPosts from named X accounts, with exact view / like / repost / reply counts. match filters them by keyword or hashtag
x_account_profileBio, followers, post count for one account
linkedin_pageA public company or person page, from its JSON-LD
linkedin_company_postsA company's posts, when LinkedIn serves them signed out
hackernews_searchHacker News stories and comments on a topic
browser_statusWhich browser will be driven, from where, how fast, and what happens on a block
browser_closeClose the window early

Every tool returns the same item shape, so results from four sources merge into one report:

json
{
  "source": "x",
  "externalId": "1960...",
  "url": "https://x.com/naval/status/1960...",
  "author": "naval",
  "text": "…",
  "publishedAt": "2026-08-27T02:22:11.000Z",
  "engagement": { "views": 8499257, "likes": 14021, "replies": 689, "reposts": 1367 },
  "via": "@naval"
}

Results tell you what actually happened

Collector tools answer with { items, notes, partial }, and notes is not decoration. A source that was blocked, walled or misspelled returns zero items — and so does a genuinely quiet week. Without the notes, an agent reports the second for both:

notes: [
  "@naval: 2 items",
  "@paulg: 2 items",
  "@definitely-not-real: FAILED — not-found: X sent @definitely-not-real to its
   signup page instead of a profile. Either the handle does not exist, or X
   declined to serve it signed out."
]
partial: true

What signed-out access actually buys you

Worth reading before you plan anything around this.

  • X serves account timelines to a signed-out browser, and serves search to nobody. x.com/search, hashtags and explore all redirect to a login wall. There is deliberately no search tool here, because there is no signed-out search. A topic on X is answered by reading the accounts that discuss it and filtering with match.
  • X answers a headless browser with a bare 403 and an empty document. The window is visible by default for that reason, and not as a preference. SUBIO_MCP_HEADLESS=1 exists and mostly does not work.
  • A missing X handle is not a 404. X answers 200 and redirects into its signup flow, which reads exactly like an empty timeline. The final URL is what gives it away, and is checked.
  • LinkedIn gives the least and takes it away fastest. A public company or person page renders, usually with JSON-LD on it. After a handful of pages from one client it becomes a sign-in wall — served with a 200 status and carrying an og:title of its own, so a wall parses as a page named "Sign Up | LinkedIn" unless you check for the JSON-LD. Expect to be walled within a session.
  • Hacker News has a real public API and is the one source with no ceiling.
  • Reddit was removed rather than worked around. It closed /*.json to clients without a session, and its public RSS feed carries neither score nor comment count, so what remained could not be ranked against anything else.

Blocks, and what to do about them

Nothing here retries a refusal. A 403, a 429, a challenge or a sign-in wall is the site answering, and asking again is how being throttled becomes being banned. The first block also ends the whole run: the accounts that were not read are listed in the notes, with an instruction not to retry them now.

If you are getting blocked, what helps, in order:

  1. Read fewer accounts per run. This is the whole answer most of the time.
  2. Widen the gap — SUBIO_MCP_MIN_INTERVAL_MS=10000. Reads are already jittered by ±25% so they do not arrive on a metronome.
  3. Wait. A signed-out quota refills on its own, and nothing you change locally makes it refill faster.

What does not help is a fresh browser per account. Blocks are counted against your IP address, and a new browser profile does not change your address — a hundred brand-new fingerprints from one address is a stronger bot signal than one returning visitor. SUBIO_MCP_ISOLATE=1 exists if you want to try anyway: it opens a throwaway browser on a throwaway profile per account and deletes it afterwards. It costs a browser launch per account, and it resets the cookie-scoped guest quota — which is working around a limit rather than respecting one, and is the opposite of every other decision here. Off by default.

One window, one tab

A scan does not open a browser per account. The server keeps a single browser with a single tab and drives every account, company and page through it, one load at a time — lighter on your machine than a tab per source, and less conspicuous to the sites being read.

The window closes itself five minutes after the last read, and immediately if the client goes away, so nothing is ever left running with nobody driving it.

Configuration

Everything has a working default. Set these only if you need to.

VariableDefault
SUBIO_MCP_PROFILE~/.subio-mcp/browser-profileBrowser profile, kept apart from your own Chrome
SUBIO_MCP_CACHE~/.subio-mcp/cacheRead cache
SUBIO_MCP_CACHE_TTL_MS1800000How long a read counts as fresh
SUBIO_MCP_MIN_INTERVAL_MS4000Minimum gap between two loads of one host
SUBIO_MCP_IDLE_MS300000Close the window after this long idle. 0 never
SUBIO_MCP_HEADLESSunset1 runs without a window. X will refuse
SUBIO_MCP_BROWSERunsetForce chrome or msedge, or leave it to pick
SUBIO_MCP_ISOLATEunset1 opens a throwaway browser per account. Read above first

Session cookies (auth_token, ct0, li_at, …) are deleted from the profile before every run, so the promise on the tin holds even if you once opened that profile by hand and signed in.

Development

bash
npm install
bash
npm run check && npm run build && node scripts/probe.mjs

scripts/probe.mjs starts the built server over stdio the way a client does and exercises the tools that need no browser. It catches a broken build, a bad tool schema, or anything accidentally written to stdout — all of which look like a silent hang from inside an agent. scripts/live.mjs is the manual counterpart that reads the real sites; it is not in CI, because CI should not scrape.

Where things live:

Path
src/server.tsThe tool surface
src/browser/session.tsOne window, pacing, signing out, idle close
src/collect/One module per source
src/parse/x.tsEverything known about X's markup — the only file to edit when X changes
src/parse/linkedin.tsThe same for LinkedIn, parsed as HTML in node
skills/, commands/The Claude Code plugin's workflow

The X parser runs inside the page. The LinkedIn parser deliberately does not: LinkedIn redirects on entry, and anything evaluated in the document loses its execution context when it does. It reads the HTML as a string instead, which makes it immune to that rather than lucky about it — and testable from a fixture.

Contributions welcome: see CONTRIBUTING.md.

History

This repository previously held a different Subio MCP server — one that brought a live Subio workspace into MCP clients over the Subio API. It was replaced rather than extended, because a local signed-out scraper and an API client share a name and nothing else. That work is preserved on the legacy/subio-api-server branch and under the v0.1.0 tag.

License

MIT.

التثبيت

TypingMind
{
  "mcpServers": {
    "subio-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "subio-mcp"
      ],
      "env": {
        "SUBIO_MCP_TOKEN": "<SUBIO_MCP_TOKEN>"
      }
    }
  }
}

استخدم MCP الخاص بـ Subio MCP مع نماذج ذكاء اصطناعي متعددة

يربط TypingMind أدوات MCP على مستوى مساحة العمل، لذا بمجرد توصيل Subio MCP، يمكنك استخدامه مع نماذج ذكاء اصطناعي مختلفة في TypingMind بدلًا من إعداده لكل نموذج على حدة. يعمل تكامل MCP هذا محليًا عبر موصل MCP الخاص بـ TypingMind على جهازك.

دليل الإعداد لاستخدام الموصل المحلي

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

1

فتح إعدادات MCP

في TypingMind، انتقل إلى «الإعدادات»، ثم «الإعدادات المتقدمة»، ثم «بروتوكول سياق النموذج»، واختر «إعداد الموصل».

  1. افتح TypingMind في متصفحك.
  2. انقر على أيقونة الإعدادات.
  3. انتقل إلى الإعدادات المتقدمة.
  4. افتح قسم بروتوكول سياق النموذج.
  5. انقر على «إعداد الموصل» واختر «هذا الجهاز».
شاشة إعداد موصل MCP في TypingMind مع تحديد «هذا الجهاز»
2

تنفيذ أمر الموصل

اختر «هذا الجهاز»، وانسخ الأمر من TypingMind وشغّله في Terminal. أبقِ العملية قيد التشغيل أثناء استخدام MCP.

  1. انسخ أمر الإعداد الذي يعرضه TypingMind.
  2. افتح Terminal على macOS أو Windows Terminal على Windows.
  3. الصق الأمر ونفّذه.
  4. وافق على تثبيت الحزمة إذا طلب منك Terminal تأكيد المتابعة.
  5. أبقِ نافذة Terminal والعملية التي تعمل فيها قيد التشغيل أثناء استخدام أدوات MCP.
3

أضف Subio MCP كخادم

عندما تظهر حالة الموصل «جاهز»، انقر على «تعديل الخوادم» والصق إعدادات خادم MCP.

  1. انتظر حتى تظهر حالة الموصل «جاهز».
  2. انقر على «تعديل الخوادم».
  3. الصق إعدادات خادم MCP الخاص بـ Subio MCP.
  4. احفظ قائمة الخوادم.
  5. حدّث الحالة إذا أردت التأكد من أن الموصل لا يزال جاهزًا.
إعدادات MCP في TypingMind تعرض خادمًا نشطًا وزر «تعديل الخوادم»
{
  "mcpServers": {
    "subio-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "subio-mcp"
      ]
    }
  }
}
4

استخدام الاتصال مع نماذج مختلفة

احفظ قائمة الخوادم، وافتح «الإضافات»، وفعّل أدوات MCP الخاصة بـ Subio MCP، ثم اختر أي نموذج ذكاء اصطناعي مدعوم في TypingMind واستخدم الأدوات في المحادثة أو أسندها إلى وكيل ذكاء اصطناعي.

  1. افتح صفحة الإضافات في TypingMind.
  2. فعّل أدوات MCP الخاصة بـ Subio MCP.
  3. ابدأ محادثة واختر نموذج الذكاء الاصطناعي الذي تريد استخدامه.
  4. استخدم أدوات MCP في المحادثة أو عيّنها لوكيل ذكاء اصطناعي.
  5. انتقل إلى نموذج ذكاء اصطناعي آخر عند الحاجة دون إعادة الاتصال بـ MCP.
محادثة في TypingMind تستخدم أدوات MCP المفعّلة مع نموذج ذكاء اصطناعي محدّد
هل يمكنك استخدام Subio MCP لمساعدتي في هذه المهمة؟
Subio MCP
بالتأكيد. قرأته.
إليك ما وجدته باستخدام Subio MCP.

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

ما استخدامات خادم MCP Subio MCP؟

Subio MCP هو خادم MCP يتيح لتطبيقات الذكاء الاصطناعي المتوافقة الاتصال بأدوات ومصادر سياق خارجية. في TypingMind، يمكنك إضافة خادم MCP هذا مرة واحدة وإتاحة أدواته في مساحة عملك للذكاء الاصطناعي.

هل يمكنني استخدام خادم MCP Subio MCP مع نماذج ذكاء اصطناعي متعددة في TypingMind؟

نعم. يربط TypingMind أدوات MCP على مستوى مساحة العمل، لذا يمكنك استخدام Subio MCP مع نماذج ذكاء اصطناعي مختلفة مثل Claude أو ChatGPT أو Gemini أو غيرها من النماذج التي أعددتها في TypingMind، دون إعداد خادم MCP لكل نموذج على حدة.

لماذا تستخدم موصل MCP Subio MCP مع TypingMind؟

يُعد TypingMind من أفضل واجهات المحادثة مع النماذج اللغوية الكبيرة، إذ يجمع نماذج ذكاء اصطناعي متعددة ومطالبات وإضافات ووكلاء ذكاء اصطناعي ومفاتيح API وأدوات MCP في مساحة عمل واحدة. بعد توصيل Subio MCP، يمكنك استخدام أدوات MCP الخاصة به عبر نماذجك المفضلة مع الحفاظ على سير عمل محادثاتك منظمًا في TypingMind.

كيف أوصّل خادم MCP Subio MCP بـ TypingMind؟

يعمل Subio MCP عبر موصل MCP المحلي في TypingMind. هذا هو الخيار الأنسب عندما يحتاج خادم MCP إلى الوصول إلى ملفات محلية أو تطبيقات سطح المكتب أو أدوات سطر الأوامر أو موارد خاصة على حاسوبك.

ما الأدوات التي يوفّرها خادم MCP Subio MCP في TypingMind؟

يتيح Subio MCP إمكانات MCP يمكنك تفعيلها من صفحة الإضافات في TypingMind واستخدامها في المحادثات أو تعيينها لوكلاء ذكاء اصطناعي.

هل أحتاج إلى مشاركة مفاتيح API الخاصة بي مع TypingMind لاستخدام خادم MCP Subio MCP؟

لا. يعطي TypingMind الأولوية للعمل المحلي ويُبقي مزوّدي النماذج ومفاتيح API والمطالبات وإعدادات MCP تحت تحكمك. إذا كان Subio MCP يتطلب مصادقة، فأضف الترويسات أو إعدادات OAuth أو الإعدادات المحلية المطلوبة لخادم MCP هذا عند إنشاء الاتصال.

خوادم MCP ذات صلة

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا البريدية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇