شعار community-research-mcp

community-research-mcp

المجتمع
DocHatty

street smart solutions/workarounds from the community.

الناشرDocHatty
المستودعcommunity-research-mcp
اللغةPython
التفريعات
0
النجوم
2
الأدوات المتاحة
0
نوع نقل البياناتstdio
الفئات
الترخيصMIT
الروابط
  • اربط الأدوات بمسارات عمل الذكاء الاصطناعي

    يتيح community-research-mcp إمكانات MCP لتطبيقات الذكاء الاصطناعي العميلة المتوافقة معه، وكذلك لوكلاء الذكاء الاصطناعي المتوافقين معه.

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

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

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

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

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

    إحصاءات المستودع المرتبط: النجوم: 2، والتفريعات: 0.

Community Research MCP

Street-smart tips, hacks, and workarounds from devs who've been there.

An MCP server that digs through Stack Overflow, GitHub Issues, Hacker News, and other developer watering holes to find battle-tested solutions, clever workarounds, and real-world patterns that actually work.

┌────────────────────────────────────────────────────────────────────────┐
│  "How do I handle FastAPI background tasks with Redis?"                │
│                                                                        │
│  ┌──────────────┐  ┌──────────────┐  ┌──────────────┐  ┌────────────┐  │
│  │ Stack        │  │ GitHub       │  │ Hacker       │  │ Discourse  │  │
│  │ Overflow     │  │ Issues       │  │ News         │  │ Forums     │  │
│  └──────┬───────┘  └──────┬───────┘  └──────┬───────┘  └─────┬──────┘  │
│         │                 │                 │                │         │
│         └─────────────────┴─────────────────┴────────────────┘         │
│                                  │                                     │
│                         ┌────────▼────────┐                            │
│                         │   Deduplicate   │                            │
│                         │    & Score      │                            │
│                         └────────┬────────┘                            │
│                                  │                                     │
│                         ┌────────▼────────┐                            │
│                         │  Ranked Results │                            │
│                         │  with Quality   │                            │
│                         │  Scores 0-100   │                            │
│                         └─────────────────┘                            │
└────────────────────────────────────────────────────────────────────────┘

Quick Start • Features • Configuration • Tools • Troubleshooting


Quick Start

1. Install

bash
git clone https://github.com/your-repo/community-research-mcp.git
cd community-research-mcp
pip install -e .

2. Configure Claude Desktop

Drop this into your claude_desktop_config.json:

json
{
  "mcpServers": {
    "community-research": {
      "command": "python",
      "args": ["-m", "community_research_mcp"],
      "cwd": "/path/to/community-research-mcp"
    }
  }
}

3. Use It

Just ask Claude:

"Search for Python async database connection pooling patterns"

The MCP taps into developer communities and surfaces ranked solutions with quality scores.

Recommended Model

Use Claude Haiku 3.5, NOT Opus 4.5

Opus 4.5 tends to ignore MCP instructions, rephrase your queries into something you didn't ask, and search for tangential topics instead of using the results it got. Haiku 3.5 follows the MCP's guidance much more reliably.


What It Does

Multi-Source Search

Hits 9 developer communities at once:

SourceWhat You GetAPI Key?
Stack OverflowQ&A goldNo
GitHub IssuesBug reports, workaroundsOptional
Hacker NewsTech war storiesNo
LobstersDeep technical divesNo
DiscourseLanguage-specific forumsNo
SerperGoogle Search resultsYes
TavilyAI-optimized searchYes
BravePrivacy-focused searchYes
FirecrawlWeb scrapingYes

Quality Scoring

Every result gets a street-cred score (0-100) based on:

SignalWhat It Means
Source AuthorityStack Overflow accepted answers beat random blog posts
Community ValidationUpvotes, reactions — the crowd has spoken
RecencyFresh fixes for fast-moving tech
SpecificityActual code, not hand-wavy explanations
EvidenceBenchmarks, repro steps, real numbers

Built-In Reliability

FeatureWhy It Matters
Circuit BreakerStops hammering dead APIs
Auto-RetryExponential backoff for flaky connections
DeduplicationKills duplicate results (~20% noise reduction)
Caching1-hour TTL so you don't burn through rate limits

Configuration

Environment Variables

Create a .env file:

bash
# Web Search APIs (unlock more sources)
SERPER_API_KEY=your_key        # https://serper.dev
TAVILY_API_KEY=your_key        # https://tavily.com
BRAVE_SEARCH_API_KEY=your_key  # https://brave.com/search/api
FIRECRAWL_API_KEY=your_key     # https://firecrawl.dev

# Higher rate limits
GITHUB_TOKEN=your_token        # https://github.com/settings/tokens
STACKEXCHANGE_API_KEY=your_key # https://stackapps.com

# Reddit (requires app registration)
REDDIT_CLIENT_ID=your_id
REDDIT_CLIENT_SECRET=your_secret
REDDIT_REFRESH_TOKEN=your_token

Source Weights

Tweak priorities in config.json:

json
{
  "sources": {
    "stackoverflow": {"enabled": true, "weight": 10},
    "github": {"enabled": true, "weight": 9},
    "hackernews": {"enabled": true, "weight": 6},
    "serper": {"enabled": true, "weight": 4}
  }
}

Higher weight = more trusted for street-smart solutions.


MCP Tools

community_search

The main workhorse. Searches all enabled sources and returns ranked results.

language: "Python"
topic: "async SQLAlchemy connection pooling with FastAPI"
goal: "Handle 1000 concurrent database connections"
current_setup: "FastAPI + PostgreSQL + SQLAlchemy 2.0"

get_source_status

Check what's up with all sources — enabled, has API keys, circuit breaker tripped, etc.

get_rate_limit_status

See how much quota you've burned through across all APIs.

clear_cache

Nuke the search cache when you need fresh results.


Rate Limits

SourceFree TierWith API Key
Stack Exchange300/day10,000/day
GitHub10/min30/min
Hacker News1000/hour—
Serper—2,500/month
Tavily—1,000/month
Brave—2,000/month

Project Structure

community-research-mcp/
├── community_research_mcp.py   # Main MCP server & tools
├── api/                        # Source integrations
│   ├── stackexchange.py        # Stack Overflow + 19 SE sites
│   ├── github.py               # GitHub Issues
│   ├── hackernews.py           # HN via Algolia
│   ├── lobsters.py             # Lobsters.rs
│   ├── discourse.py            # Discourse forums
│   ├── serper.py               # Google Search
│   ├── tavily.py               # Tavily API
│   ├── brave.py                # Brave Search
│   └── firecrawl.py            # Web scraping
├── core/                       # Reliability & quality
│   ├── reliability.py          # Circuit breaker, retry logic
│   ├── quality.py              # Quality scoring
│   ├── dedup.py                # Deduplication
│   └── metrics.py              # Performance monitoring
├── models/                     # Pydantic models
├── utils/                      # Cache, rate limiting
└── tests/                      # Test cases

Development

Running Tests

bash
pytest tests/

Code Style

bash
black . && isort .   # Format
flake8 && mypy .     # Lint

Adding a New Source

  1. Create api/yoursource.py with an async search() function
  2. Export from api/__init__.py
  3. Add to source config in community_research_mcp.py
  4. Add rate limit info

Troubleshooting

  • Make your query more specific (not just "performance" or "settings")
  • Check that API keys are set for web search sources
  • Run get_source_status to see if circuit breakers tripped
  • Chill and wait for the window to reset
  • Add API keys for higher limits
  • Rely on caching to avoid repeat searches
  • Check get_source_status for circuit breaker state
  • Breaker trips after 5 failures, resets after 5 minutes
  • Sometimes sources just go down — it happens

Contributing

  1. Fork the repo
  2. Create a feature branch
  3. Make your changes
  4. Run tests and linting
  5. Submit a PR

MIT License — see LICENSE for details.

Built for devs who want real solutions, not documentation fluff.

التثبيت

TypingMind
المتطلبات المسبقة:

Node.js 18+

{
  "mcpServers": {
    "dochhatty14-community-research-mcp": {
      "command": "",
      "args": []
    }
  }
}

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

يربط TypingMind أدوات MCP على مستوى مساحة العمل، لذا بمجرد توصيل community-research-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

إضافة community-research-mcp كخادم

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

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

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

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

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

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

ما استخدامات خادم MCP community-research-mcp؟

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

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

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

لماذا تستخدم خادم MCP community-research-mcp مع TypingMind؟

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

كيف أوصّل خادم MCP community-research-mcp بـ TypingMind؟

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

ما الأدوات التي يوفّرها خادم MCP community-research-mcp في TypingMind؟

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

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

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

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

عرض الكل

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

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