Skip to main content
Glama
salwks

mcp-techTrend

by salwks

trends-mcp

Koreanische Dokumentation: README.ko.md

A single MCP server that pulls academic + code + medical-device-regulatory trend data from seven sources and renders newspaper-style briefings — with per-domain tuning baked in.

Quelle

Tools

Hinweise

arXiv

arxiv_recent, arxiv_search

Round-Robin pro Kategorie, damit kleine Kategorien nicht von großen überlagert werden

PubMed

pubmed_search

Vollständige Abstracts via efetch.fcgi

HF Daily Papers

paperswithcode_trending

Sortiert nach Community-Upvotes (ersetzt die eingestellte PwC-API)

GitHub

github_trending, github_search

Trending-Page-Scrape + Search API mit created:> Datumsfilter

Hugging Face

huggingface_trending

Modelle / Datensätze / Spaces, trendig oder aktuell

openFDA 510(k)

fda_510k_recent

Zulassungen von Medizinprodukten

openFDA Recalls

fda_510k_recent

Rückrufereignisse mit Klassenfilter

(Aggregatoren)

trends_digest, trends_briefing

Parallele Aufrufe mehrerer Quellen

trends_briefing ist das Haupt-Tool: Rufen Sie "weekly news" / "주간 뉴스" auf und erhalten Sie ein im Zeitungsformat aufbereitetes Briefing über alle aktivierten Quellen, das vom LLM automatisch in die Konversationssprache des Benutzers übersetzt wird.


Warum existiert dieses Projekt?

Die meisten MCP-Server für akademische/Code-/regulatorische Daten sind auf eine einzige Quelle beschränkt. Dieser Server ist multi-quellenfähig und domänenbewusst: Ein Forscher, der medizinische Bildgebungs-KI verfolgt, ein ML-Ingenieur, der ML-Paper liest, ein Sicherheitsanalyst, der CVEs und trendige Repos beobachtet — alle konfigurieren dies einmal über python configure.py, und dann wird trends_briefing zur "Montagmorgen-Zeitung" für ihre Domäne.

Was es nützlich macht:

  • Zeitungsformat mit Übersetzungshinweis — das LLM übersetzt Quelltexte automatisch (Paper-Abstracts, Rückrufgründe usw.) in Ihre Konversationssprache, während Identifikatoren, URLs und metrische Werte wortgetreu beibehalten werden.

  • Round-Robin pro Kategorie für arXiv — cs.HC (~50 Paper/Woche) wird nicht von cs.LG (~1500/Woche) überlagert, wenn beide zusammen verfolgt werden.

  • TTL-Cache + Zusammenführung gleichzeitiger Anfragen — wiederholte Aufrufe und parallele Briefings belasten die Upstream-APIs nicht.

  • Keine erforderlichen Token. Alle sieben Quellen funktionieren anonym; Token erhöhen lediglich das Ratenlimit pro Quelle.

  • Sandbox-sicherer Python-Launcher. Umgeht den env-Block in der claude_desktop_config.json (der bei einigen macOS-Builds Werte mit Leerzeichen abschneidet), indem Umgebungsvariablen in Python gesetzt werden, bevor sie an den Server übergeben werden.


Related MCP server: mcp-ai-news-server

Installation

git clone https://github.com/salwks/mcp-techTrend.git
cd mcp-techTrend
python3 -m venv .venv
.venv/bin/pip install -r requirements.txt

Verbinden Sie sich mit Claude Desktop, indem Sie ~/Library/Application Support/Claude/claude_desktop_config.json bearbeiten:

{
  "mcpServers": {
    "trends": {
      "command": "/path/to/trends-mcp/.venv/bin/python",
      "args": ["/path/to/trends-mcp/run.py"]
    }
  }
}

⚠️ args verweist auf run.py (den Launcher), nicht auf trends_mcp.py. Der Launcher setzt domänenspezifische Umgebungsvariablen, bevor der Server startet.

Starten Sie Claude Desktop neu. Der trends-Server sollte mit 11 Tools erscheinen.


Konfiguration

Eine Quelle der Wahrheit: run.py. Zwei Möglichkeiten, sie zu bearbeiten:

A. Interaktives TUI — configure.py (empfohlen)

python configure.py
═══ trends-mcp 설정 ═══
  [1] Active sources       (7/7 enabled)
  [2] arXiv categories     (4 entries · 13 papers/wk)
  [3] PubMed query
  [4] API tokens           (0/4 set)
  [5] Show current config
  [6] Save and restart
  [7] Quit without saving

Schalten Sie Quellen mit Nummern um, setzen Sie arXiv-Gewichtungen mit set 1 7, wenden Sie Presets mit preset medical-imaging an, speichern Sie mit [6]. Die Speicheraktion erstellt ein Backup in run.py.bak, schreibt den neuen SETTINGS-Block (AST-basiert — berührt niemals Nicht-Konfigurationscode) und führt pkill -f trends_mcp aus, damit Claude Desktop den Server beim nächsten Aufruf mit der neuen Konfiguration neu startet.

Die TUI-Menübeschriftungen sind auf Koreanisch; Befehle und Presets sind auf Englisch. Die Internationalisierung (i18n) der TUI selbst steht auf der Roadmap für v0.2.

Single-Shot-Modi:

python configure.py --show       # print current config
python configure.py --restart    # pkill stale MCP processes

B. Direkte Bearbeitung — run.py SETTINGS-Block

TRENDS_ENABLED_SOURCES = ""                          # "" = all
TRENDS_ARXIV_CATEGORIES = "cs.LG:5,cs.CV:3,cs.CL:3,cs.AI:2"
TRENDS_DEFAULT_PUBMED_QUERY = "(deep learning OR AI) AND (medical OR clinical)"
# GITHUB_TOKEN = "ghp_..."         # raises 60 → 5,000 req/h
# HF_TOKEN = "hf_..."
# NCBI_API_KEY = "..."             # raises 3 → 10 req/s for PubMed
# OPENFDA_API_KEY = "..."          # raises 240 → 120,000 req/day

Starten Sie Claude Desktop nach dem Speichern neu (oder pkill -f trends_mcp).

Presets

# AI/ML researcher (default)
TRENDS_ARXIV_CATEGORIES = "cs.LG:5,cs.CV:3,cs.CL:3,cs.AI:2"

# Medical imaging / clinical AI
TRENDS_ARXIV_CATEGORIES = "eess.IV:5,cs.CV:3,cs.HC:2,q-bio.QM:2"

# Robotics
TRENDS_ARXIV_CATEGORIES = "cs.RO:5,cs.AI:3,cs.LG:2,cs.CV:2"

# HCI / UX
TRENDS_ARXIV_CATEGORIES = "cs.HC:5,cs.CY:3,cs.AI:2,cs.SI:2"

# Security
TRENDS_ARXIV_CATEGORIES = "cs.CR:5,cs.LG:2,cs.NI:2"

# Computational biology
TRENDS_ARXIV_CATEGORIES = "q-bio.QM:4,q-bio.GN:3,q-bio.BM:3,stat.AP:2"

Allgemeine arXiv-Kategorien (vollständige Referenz: ARXIV_CATEGORIES.md):

Code

Fachbereich

Wöchentliche Paper (ca.)

cs.AI

Künstliche Intelligenz

500–800

cs.LG

Maschinelles Lernen

1.500–2.000 (größte)

cs.CV

Computer Vision

1.000–1.500

cs.CL

NLP

500–800

cs.HC

HCI / UX

50–100

cs.RO

Robotik

100–200

cs.CR

Sicherheit

~200

eess.IV

Bild-/Videoverarbeitung (medizinische Bildgebung)

100–200

q-bio.QM

Quantitative Biologie

50–100

Quellen-Allowlist

TRENDS_ENABLED_SOURCES = "arxiv,github,huggingface,paperswithcode"
# → fda_510k, fda_recalls, pubmed tools won't appear in the tool list at all

Leer / "*" / "all" = alles aktivieren. Deaktivierte Quellen registrieren ihre Tools nicht, sodass die Liste der Chat-Tools selbst schrumpft. trends_digest und trends_briefing bleiben registriert und überspringen deaktivierte Quellen elegant.


Tools

Tool

Zweck

arxiv_recent

Aktuelle Paper in einer Kategorie, nach Einreichungsdatum

arxiv_search

Stichwort- / Feldsyntax-Suche (ti:, au:, abs:, cat:)

pubmed_search

PubMed-Suche (MeSH-Begriffe, Feld-Tags) — Abstracts via efetch

paperswithcode_trending

HF Daily Papers, sortiert nach Community-Upvotes

github_trending

Durchsuchen von github.com/trending (HTML-Scrape)

github_search

GitHub Search API; days filtert nach created:

huggingface_trending

HF Hub Modelle / Datensätze / Spaces

fda_510k_recent

Aktuelle FDA 510(k)-Zulassungen

fda_recalls_recent

Aktuelle Rückrufe von Medizinprodukten der FDA (Klassenfilter)

trends_digest

Zusammenfassung als Aufzählung aus mehreren Quellen zu einem Thema

trends_briefing

Zeitungs-Briefing aus mehreren Quellen; Thema optional

Alle Such-Tools akzeptieren days=N für die Filterung der letzten N Tage. trends_briefing gruppiert Ergebnisse in die Abschnitte 🎓 Forschung / 💻 Code & Modelle / 🏥 Regulatorisches.

trends_digest

trends_briefing

Thema

erforderlich

optional ("Was gibt es Neues"-Modus)

Quellenbereich

konfigurierbare Teilmenge (Standard 4)

alle aktivierten Quellen

Format

Aufzählungs-Zusammenfassung

gruppiertes Zeitungsformat

Anwendungsfall

Deep-Dive zu einem Thema

regelmäßiges wöchentliches Briefing


Caching

Ein prozessinterner In-Memory-TTL-Cache umschließt jede HTTP-Antwort. Gleichzeitige identische Anfragen werden über ein asyncio.Lock pro Schlüssel zusammengeführt — N parallele Aufrufer lösen eine Upstream-Anfrage aus.

TTL-Gruppe

Dauer

Tools

Trending

5 Min

github_trending, paperswithcode_trending, huggingface_trending (Trending-Sortierung), github_search (mit days)

Standard

10 Min

arxiv_recent, arxiv_search, github_search, huggingface_trending (andere Sortierungen)

Statisch

1 Stunde

pubmed_search, fda_510k_recent, fda_recalls_recent

Bis zu 256 Einträge; die ältesten werden bei Vollbelegung entfernt. Keine Deaktivierung möglich — die TTLs sind kurz genug, dass die Veralterung begrenzt ist.


Bekannte Einschränkungen

  • GitHub Trending ist HTML-Scraping — es gibt keine offizielle API. Layout-Änderungen können es beschädigen. Stabiler Trending-Ersatz: github_search mit days=7 und sort=stars.

  • HF trendingScore ist nicht dokumentiert. Die API-Oberfläche kann sich ändern.

  • HF Daily Papers deckt ca. 50 kuratierte Paper/Tag ab, nicht das gesamte arXiv. Es ist ein "Worüber wurde gesprochen"-Feed, nicht erschöpfend.

  • arXiv hat kein natives Trending — wir approximieren dies über kategorien-ausbalancierte Feeds aktueller Einreichungen.

  • openFDA classification-Feld gibt manchmal None zurück, selbst bei kürzlich klassifizierten Rückrufen (Upstream-Datenverzögerung). Der Suchindex hinkt ebenfalls hinterher.


Roadmap (TODO)

  • v0.2: i18n für das TUI-Menü und die Überschriften der Briefing-Abschnitte

  • bioRxiv / medRxiv via RSS

  • Semantic Scholar (Zitationsgraph)

  • openFDA Adverse Events (MAUDE)

  • EU EUDAMED Scraping

  • PMDA (Japanische Medizinprodukte)

  • MFDS (Koreanische Medizinprodukte)

  • Mock-basierte Test-Suite für CI


Lizenz

MIT

Available Tools

16 tools
arxiv_recentA
Read-only

Fetch recent arXiv papers in a category, sorted by submission date (newest first). days filters by published date.

Common categories: cs.AI (general AI), cs.LG (machine learning), cs.CV (computer vision), cs.CL (NLP), cs.HC (HCI / UX), cs.RO (robotics), cs.NE (neural networks), stat.ML (statistical ML), eess.IV (image/video processing — medical imaging lives here), eess.SP (signal processing), q-bio.QM (quantitative biology).

ParametersJSON Schema
NameRequiredDescriptionDefault
categoryYes
daysNo
max_resultsNo
response_formatNomarkdown

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

A3.8/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations indicate readOnlyHint=true, destructiveHint=false, and openWorldHint=true. The description adds behavioral context by stating the sorting order ('newest first') and that 'days filters by published date', which goes beyond the annotations. There is no contradiction between the description and annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is concise: two sentences plus a helpful list of common categories. The first sentence clearly states the primary function, and the list adds value without superfluous text. Every sentence serves a purpose.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool has 4 parameters, 1 required, and an output schema (present but not shown), the description covers the main use case but omits details on result format, pagination, or rate limits. The lack of parameter explanations for most parameters reduces completeness, but the overall scope is clear for a simple read-only tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The description only explains the 'days' parameter, noting it filters by 'published' date. It provides common category examples but does not explain the meaning or constraints of 'category', 'max_results', or 'response_format'. With 0% schema description coverage, the description fails to compensate for the lack of parameter documentation in the schema, leaving three out of four parameters undocumented.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose: 'Fetch recent arXiv papers in a category, sorted by submission date (newest first).' This provides a specific verb ('fetch'), resource ('recent arXiv papers'), and scope ('in a category'), differentiating it from the sibling tool 'arxiv_search' which focuses on specific search queries.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage for browsing recent papers by category, but lacks explicit guidance on when to use this tool versus alternatives like 'arxiv_search'. It does not specify any conditions or exclusions, and does not mention that for specific keyword queries the user should use 'arxiv_search' instead.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

fda_510k_recentA
Read-onlyIdempotent

Recent FDA 510(k) clearances via openFDA. Date filter is always applied. openFDA uses token-exact matching on string fields — for partial name matches use wildcards (e.g. device_name:mammo* not device_name:mammography).

ParametersJSON Schema
NameRequiredDescriptionDefault
queryNo
daysNo
max_resultsNo
response_formatNomarkdown

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

A3.8/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Beyond the annotations (readOnlyHint, idempotentHint), the description discloses that a date filter is always applied and explains the token-exact matching behavior, which is critical for correct query construction. This adds valuable behavioral context.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two sentences long, immediately stating the purpose and then a critical usage detail. Every sentence provides value, and it is front-loaded with the tool's function.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the existence of an output schema and the tool's simplicity, the description adequately covers the essential behavior (date filter, string matching). It does not need to detail return format, but could mention pagination or result limits for completeness.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 0% schema description coverage, the description partially compensates by explaining the 'query' parameter's wildcard usage and implying the 'days' parameter via the date filter. However, 'max_results' and 'response_format' are not mentioned, leaving gaps.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states it provides recent FDA 510(k) clearances via openFDA, specifying the verb (list) and resource (clearances). While the name itself is informative, it does not explicitly distinguish from sibling fda_recalls_recent, but the content is unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description includes a crucial usage tip about token-exact matching and wildcard syntax for partial name searches. However, it does not provide guidance on when to prefer this tool over siblings or mention any prerequisites or context for using the date filter.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

fda_recalls_recentA
Read-onlyIdempotent

Recent FDA medical device recalls via openFDA. Optionally filter by class (1=most serious, 3=least). Note: openFDA query syntax uses token-exact matching on string fields — for partial matches use wildcards (e.g. product_description:mammog*).

ParametersJSON Schema
NameRequiredDescriptionDefault
queryNo
daysNo
class_levelNo
max_resultsNo
response_formatNomarkdown

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

A3.9/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

The description adds useful context beyond annotations, such as that it queries openFDA and the specifics of token-exact matching with wildcard syntax. No contradictions with annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two sentences, efficient and front-loaded. The first sentence states purpose and optional filter, the second provides a critical usage note. No wasted words.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given 5 parameters, no schema descriptions, and an output schema, the description covers only the general purpose and one filter. It omits details for query (free text), days, max_results, and response_format, making it incomplete for full usage.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 0% schema description coverage, the description only explains one parameter (class_level) and briefly mentions query syntax. The parameters query, days, max_results, and response_format are not described, leaving significant gaps.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states it retrieves recent FDA medical device recalls via openFDA, with optional filtering by class. This distinguishes it from sibling tools like fda_510k_recent and arxiv_recent.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explains when to use the class filter and provides a note on openFDA query syntax with wildcards, but does not explicitly state when not to use the tool or compare it to alternatives.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 5 tool updatesv0.2.0
    • Addedtrends_get_config
    • Addedtrends_set_arxiv_categories
    • Addedtrends_set_enabled_sources
    • Addedtrends_set_pubmed_query
    • Addedtrends_set_token
  2. 11 tool updatesv0.1.0
    • First observedarxiv_recent
    • First observedarxiv_search
    • First observedfda_510k_recent
    • First observedfda_recalls_recent
    • First observedgithub_search
    • First observedgithub_trending
    • First observedhuggingface_trending
    • First observedpaperswithcode_trending
    • First observedpubmed_search
    • First observedtrends_briefing
    • First observedtrends_digest

TDQS

A4.4/5.0

Scored across 16 tools

Disambiguation5/5

Each tool targets a distinct source or operation (e.g., arXiv search vs. recent, FDA 510k vs. recalls, GitHub search vs. trending). Even config tools are clearly separated. No ambiguity between tools.

Naming Consistency5/5

All tools follow a consistent pattern: source_action (e.g., arxiv_recent, github_search) for data tools, and trends_verb for configuration tools. Lowercase with underscores throughout.

Tool Count5/5

16 tools is well-scoped for a multi-source trend aggregation server. Each tool covers a specific need across multiple sources and configuration, without bloat.

Completeness5/5

The tool set covers all necessary operations for the domain: retrieval (recent, search, trending) per source, aggregation (briefing, digest), and full configuration (sources, categories, tokens). No obvious gaps.

Maintenance

ActivityInactive
ResponsivenessUnresponsive

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    D
    maintenance
    A personalized news briefing MCP server that filters information from RSS, Reddit, and Hacker News based on user-defined interests and preferences. It also includes stock monitoring and alerting features.
    29
    Apache 2.0
  • F
    license
    Not graded
    quality
    D
    maintenance
    Local MCP server that ingests and normalizes recent AI, tech, and research news from multiple sources, exposing tools for media agents to query and retrieve article content on demand.
    -
  • A
    license
    Not graded
    quality
    C
    maintenance
    An MCP server that fetches, dedupes, and scores women's-health & FemTech research and industry news, designed to feed GitHub Agentic Workflows and an auto-updating Astro + RSS site.
    MIT

Appeared in Searches