Logo di community-research-mcp

community-research-mcp

Community
DocHatty

street smart solutions/workarounds from the community.

Pubblicato daDocHatty
Repositorycommunity-research-mcp
LinguaPython
Fork
0
Stelle
2
Strumenti disponibili
0
Tipo di trasportostdio
Categorie
LicenzaMIT
Link
  • Collega gli strumenti ai flussi di lavoro IA

    community-research-mcp mette a disposizione funzionalità MCP utilizzabili da client e agenti IA compatibili.

  • Strumenti disponibili: 0

    Esplora le azioni richiamabili qui sotto, con nomi e descrizioni se il server li fornisce.

  • Configurazione pronta da copiare

    Usa gli esempi di installazione per configurare questo server nel tuo client MCP preferito.

  • Indicatori di interesse della comunità open source

    Stelle: 2; fork: 0 (repository collegato).

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.

Installazione

TypingMind
Prerequisiti:

Node.js 18+

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

Usa community-research-mcp MCP con più modelli AI

TypingMind collega gli strumenti MCP a livello di area di lavoro: una volta connesso community-research-mcp, puoi usarlo con diversi modelli IA in TypingMind, senza configurarlo separatamente per ogni modello. Questa integrazione MCP viene eseguita localmente sul tuo dispositivo tramite il connettore MCP di TypingMind.

Guida alla configurazione del connettore locale

Usa questo metodo quando il server MCP deve accedere a file locali, app o risorse private sul tuo computer.

1

Apri le impostazioni MCP

In TypingMind, vai su Impostazioni, Impostazioni avanzate, poi su Model Context Protocol e scegli Configura connettore.

  1. Apri TypingMind nel tuo browser.
  2. Fai clic sull'icona Impostazioni.
  3. Vai a Impostazioni avanzate.
  4. Apri la sezione Model Context Protocol.
  5. Fai clic su Configura connettore e scegli Questo dispositivo.
Schermata di configurazione del connettore MCP di TypingMind con l’opzione «Questo dispositivo» selezionata
2

Esegui il comando del connettore

Scegli Questo dispositivo, copia il comando da TypingMind ed eseguilo nel terminale. Lascia il processo in esecuzione mentre usi MCP.

  1. Copia il comando di configurazione mostrato da TypingMind.
  2. Apri Terminale su macOS o Windows Terminal su Windows.
  3. Incolla ed esegui il comando.
  4. Conferma l'installazione del pacchetto se il terminale ti chiede di procedere.
  5. Tieni aperta la finestra del terminale con il processo in esecuzione mentre usi gli strumenti MCP.
3

Aggiungi community-research-mcp come server

Quando lo stato del connettore è Pronto, fai clic su Modifica server e incolla la configurazione del server MCP.

  1. Attendi che lo stato del connettore sia Pronto.
  2. Fai clic su Modifica server.
  3. Incolla la configurazione del server MCP di community-research-mcp.
  4. Salva l'elenco dei server.
  5. Se vuoi verificare che il connettore sia ancora pronto, aggiorna la pagina.
Impostazioni MCP di TypingMind con un server attivo e il pulsante Modifica server
{
  "mcpServers": {
    "dochhatty14-community-research-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "community-research-mcp"
      ]
    }
  }
}
4

Usa la connessione con diversi modelli

Salva l'elenco dei server, apri Plugin, abilita gli strumenti MCP di community-research-mcp, poi seleziona un modello IA supportato in TypingMind e usa gli strumenti in chat o assegnali a un agente IA.

  1. Apri la pagina Plugin in TypingMind.
  2. Abilita gli strumenti MCP di community-research-mcp.
  3. Avvia una chat e scegli il modello IA che vuoi usare.
  4. Usa gli strumenti MCP in chat o assegnali a un agente IA.
  5. Passa a un altro modello IA quando serve, senza riconnettere MCP.
Chat di TypingMind che usa gli strumenti MCP abilitati con un modello IA selezionato
Puoi usare community-research-mcp per aiutarmi con questa attività?
community-research-mcp
Certo. L’ho letto.
Ecco cosa ho trovato con community-research-mcp.

Domande frequenti

A cosa serve il server MCP community-research-mcp?

community-research-mcp è un server MCP che consente ai client IA compatibili di accedere a strumenti e informazioni di contesto esterni. In TypingMind puoi aggiungere questo server MCP una sola volta e rendere disponibili i suoi strumenti nella tua area di lavoro IA.

Posso usare il server MCP community-research-mcp con più modelli IA in TypingMind?

Sì. TypingMind collega gli strumenti MCP a livello di area di lavoro, quindi puoi usare community-research-mcp con diversi modelli IA come Claude, ChatGPT, Gemini o altri modelli che hai configurato in TypingMind, senza dover configurare il server MCP separatamente per ogni modello.

Perché usare il connettore MCP community-research-mcp con TypingMind?

TypingMind è una delle migliori interfacce per chattare con gli LLM perché riunisce più modelli IA, prompt, plugin, agenti IA, chiavi API e strumenti MCP in un'unica area di lavoro. Collegando community-research-mcp, puoi usare i suoi strumenti MCP con i tuoi modelli preferiti e mantenere organizzato il tuo flusso di lavoro in chat su TypingMind.

Come collego il server MCP community-research-mcp a TypingMind?

community-research-mcp funziona tramite il connettore MCP locale di TypingMind. È la soluzione ideale quando il server MCP deve accedere a file locali, app desktop, strumenti da riga di comando o risorse private sul tuo computer.

Quali strumenti offre il server MCP community-research-mcp in TypingMind?

community-research-mcp mette a disposizione funzionalità MCP che puoi attivare dalla pagina Plugin di TypingMind e usare in chat o assegnare agli agenti IA.

Devo condividere le mie chiavi API con TypingMind per usare il server MCP community-research-mcp?

No. TypingMind privilegia il funzionamento in locale e ti permette di mantenere il controllo su fornitori di modelli, chiavi API, prompt e configurazione MCP. Se community-research-mcp richiede l'autenticazione, aggiungi le intestazioni, le impostazioni OAuth o la configurazione locale necessarie per quel server MCP quando crei la connessione.

Server MCP correlati

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇