Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCP_HTTP_HOSTNoHTTP 模式监听地址127.0.0.1
MCP_HTTP_PORTNoHTTP 模式监听端口8000
MCP_INPUT_DIRNo专利数据文件目录./my_patents
MCP_LOG_LEVELNo日志级别:DEBUG / INFO / WARNING / ERRORINFO
MCP_AUTH_TOKENNo非回环监听必填;HTTP 客户端使用 Bearer Token
MCP_STORE_CACHE_TTLNo数据缓存有效期(秒),超时自动从磁盘重载300
MCP_MAX_ITEMS_IN_RESULTNo分析结果中列表字段的最大条目数50

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

PatentAgent exposes its runtime patent-analysis tool registry over MCP. data (Web of Science / Derwent format). Load patent data by setting MCP_INPUT_DIR to the directory containing .txt patent export files. Each analysis tool performs statistical computation and returns structured results. Charts are returned as embedded HTML resources where applicable.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
analyze_patent_trendA

按公开日、申请日、优先权日或授权日生成月度或年度趋势。公开文献数、申请数和专利族数是不同单位;按申请日统计申请数时选择 filing 和 applications。 方法: 按指定日期和计数单位聚合;尾年月份不完整时不解释为技术衰退。 算法: publication_count_trend v3.0.1 证据等级: descriptive_statistic 禁止结论: technology decline, technology lifecycle

analyze_lifecycleA

分析专利公开数量的增长趋势: 累计公开量 + 年同比增长率。适用于用户询问'趋势'、'增长'、'变化'等关键词。 方法: 按公开日期统计累计量与同比变化;不把尾年缺失月份解释为生命周期衰退。 算法: publication_growth_summary v2.0.1 证据等级: engineering_screening 禁止结论: S-curve lifecycle stage, decline stage, technology maturity

analyze_ipc_distributionA

分析专利的 IPC 分类分布情况,生成年份×IPC 部级(A-H)热力图,可选择 IPC 标注次数、去重专利数或同族归一化计数。适用于用户询问'技术构成'、'IPC分布'、'技术领域'等关键词。 方法: 按公开年份与 IPC 分类聚合的描述性统计。 算法: ipc_publication_matrix_assignment_count v2.1 证据等级: descriptive_statistic 禁止结论: exclusive technology share

generate_wordcloudA

分析专利标题或摘要中的关键词,生成词云和词频柱状图。适用于用户询问'热点'、'关键词'、'词云'、'高频词'等。 方法: Derwent 模板清洗后按专利文档频率统计术语和高支持短语,同时公开原始词频与文档占比。 算法: derwent_phrase_frequency v2.0 证据等级: engineering_screening 禁止结论: paper-exact text mining pipeline, technology value

analyze_burst_termsA

检测近期增长词——通过平滑的近期/历史文档频率变化,识别近期快速增长的新兴技术关键词。适用于用户询问'新兴技术'、'热点方向'、'趋势变化'等。 方法: 带最小文档支持、加性平滑和时间覆盖检查的近期增长分数;不是 Kleinberg Burst。 算法: recent_document_frequency_growth v2.1 证据等级: engineering_screening 禁止结论: Kleinberg burst detection, validated emerging technology forecast

analyze_yearly_keywordsA

逐年关键词对比分析,生成分组柱状图展示每年 Top 关键词的变化趋势。适用于用户询问'关键词变化'、'逐年对比'、'热点迁移'等。 方法: 按公开年份统计经过清洗的技术术语文档频率;一件专利对同一术语每年最多贡献一次。 算法: yearly_phrase_frequency v2.0 证据等级: engineering_screening 禁止结论: causal technology migration

analyze_co_networkA

分析申请人/专利权人之间的合作网络,生成交互式网络图。适用于用户询问'合作关系'、'合作网络'、'共同申请'、'产学研'等关键词。 方法: 同一专利的多申请人共现网络;使用可逆的确定性格式/公司后缀规范化,不做模糊实体合并。 算法: co_applicant_network v2.1 证据等级: descriptive_statistic 禁止结论: alliance, technology transfer, co-invention

analyze_country_distributionA

分析主公开号所属的首个公开局分布。该指标不等同于同族市场覆盖。适用于用户询问'公开局分布'、'地域分布'等关键词。 方法: 按 PN 主公开号前缀统计首个公开局;另有同族数据时才可讨论市场覆盖。 算法: primary_publication_office_count v2.0 证据等级: descriptive_statistic 禁止结论: family market coverage, market attractiveness

analyze_tech_roadmapA

默认生成按公开年度组织的主题时间线;仅在同族、优先权时间和内部引证覆盖门禁通过时,附加可追溯的同族引证路线草稿。 方法: 低覆盖时按公开年度生成主题时间线;高覆盖时按来源同族归并、优先权时间和 citing→cited 证据生成待复核路线。 算法: annual_theme_timeline v2.2 证据等级: engineering_screening 禁止结论: complete invention genealogy, causal technology route

get_dataset_summaryA

获取当前专利数据集的概况信息,包括专利总量、时间跨度、IPC分类范围、主要申请人排名和字段质量。仅在用户询问数据概览、数据质量、样本范围,或当前问题确实需要核对数据边界时使用;不要为每个分析自动调用。 方法: 数据集记录数、公开日期范围、IPC 与申请人字段的描述性汇总。 算法: dataset_field_audit v2.0 证据等级: descriptive_statistic 禁止结论: 无

search_patentsA

使用标题与摘要的 TF-IDF 词项相似度检索相关专利,支持按年份、IPC分类、申请人过滤;不等同于语义嵌入或查全检索。 方法: 标题与摘要的 TF-IDF 混合检索;结果是相关性筛查,不等同于查全检索。 算法: tfidf_cosine_retrieval v2.2 证据等级: engineering_screening 禁止结论: vector embedding, legal novelty search, exhaustive prior-art search

read_patent_detailsA

读取指定专利在当前数据源中可用的结构化记录与 Derwent 摘要。仅当数据源实际提供时才展示权利要求、说明书或法律状态。仅在检索后需要深入了解某几篇专利时使用,单次最多查询 5 篇。 方法: 按公开号精确读取当前数据源已有字段;缺失全文和法律状态时不会推断。 算法: structured_record_lookup v2.0 证据等级: descriptive_statistic 禁止结论: full specification, complete claims, legal status conclusion

analyze_tech_matrixA

从 Derwent 摘要标签构建代理技术功效矩阵,分析技术手段与用途/效果的共现;低共现仅列为需要逐件复核的候选,不直接解释为创新空白。适用于用户询问'技术热点'、'空白点'、'功效矩阵'、'创新方向'等关键词。 方法: 从 Derwent NOVELTY/详细描述代理技术手段,从 USE/ADVANTAGE 代理用途与效果;空白仅作复核候选。 算法: derwent_abstract_proxy_te_matrix v2.3 证据等级: engineering_screening 禁止结论: blue ocean, validated white space, paper-exact function matrix

analyze_clusteringA

对专利文本进行聚类分析,自动发现技术主题群组。使用 TF-IDF 空间 K-means 聚类,为每个簇生成关键技术关键词。适用于用户询问'聚类'、'技术主题'、'分组'、'技术方向'等关键词。 方法: 默认字符 n-gram TF-IDF 空间 K-means;采用固定种子的多次随机样本初始化,标签使用分词词项与 Tseng CC0.5;未指定 k 时以 silhouette 与 ARI 稳定性选择。 算法: multilingual_char_ngram_kmeans_cc05 v3.2 证据等级: paper_adapted 禁止结论: complete Tseng multi-stage pipeline, ground-truth technology taxonomy

analyze_patent_valuationA

对专利进行多维度价值筛查和排名,并报告日期、同族与引证覆盖率。适用于用户询问'价值'、'排名'、'核心专利'、'重要专利'等关键词。 方法: 数据集内稳健百分位价值筛查;引证充分时使用三阶段可达性与耦合指标,字段不足时明确降级。 算法: patent_family_citation_screening v3.1 证据等级: paper_adapted 禁止结论: financial valuation, market value, universal patent quality, paper_exact unless manually verified

analyze_competitor_evolutionA

追踪主要申请人的技术重心转移:分析每家公司的技术多元化程度(IPC entropy)、核心领域集中度(dominant IPC share)、画像变化(IPC profile cosine shift),以及每年 Top IPC 小类/主组变化。适用于'竞争对手动向'、'技术布局变化'、'研发战略转移'等分析。 方法: IPC 小类/主组年度画像的熵、主导份额与相邻年份余弦距离;不是 PatentMiner DICT/PBC/HBC。 算法: ipc_profile_evolution v2.0 证据等级: engineering_screening 禁止结论: PatentMiner DICT, heterogeneous-network co-ranking, paper-exact competitor evolution

audit_trend_robustnessC

比较指定日期轴上的年度公开文献数、申请数、真实同族数和去尾年方向。 方法: 年度归属沿用原趋势的最早有效日期。缺标识或端点无观察不作增减比较。 算法: audit_trend_robustness v1.0 证据等级: descriptive_statistic 禁止结论: technology maturity, market growth

search_gap_counterevidenceB

在当前完整范围分轮查找技术手段和用途的原文反证,列出同义扩展、分类线索和逐件复核成本。 方法: 按同文献标题或摘要双轴命中、双语扩展双轴命中、分类与至少单轴命中分轮复核。 算法: search_gap_counterevidence v1.0 证据等级: engineering_screening 禁止结论: market opportunity, novelty, freedom to operate

analyze_entity_portfolioB

按规范化申请人、受让人、当前权利人或发明人统计组合排名、年度公开趋势与 IPC 构成。 方法: 确定性名称规范化后的实体组合描述统计;不自动进行母子公司或并购历史归并。 算法: deterministic_entity_portfolio v1.1 证据等级: descriptive_statistic 禁止结论: R&D strength, market share, patent quality

analyze_concentrationA

计算申请人、IPC 小类或主公开号首次公开局的 CRn、HHI、Gini 与 Shannon 有效主体数。 方法: 多值维度按每件记录分数计数,报告 CR3/5/10、HHI、Gini、Shannon entropy 和 bootstrap HHI 稳定区间。 算法: fractional_concentration_metrics v1.1 证据等级: descriptive_statistic 禁止结论: competitive conduct, market power, causal market event

analyze_citation_networkB

区分数据集内部与外部引证边,描述关键节点、共引、文献耦合和引证年龄。 方法: 引用方向为 citing→cited;内部边参与网络统计,外部未解析边只报告覆盖,不把后向参考数量称为影响力。 算法: internal_external_citation_network v1.1 证据等级: engineering_screening 禁止结论: backward references as impact, universal key patent, causal technology path

analyze_family_geographyB

分别统计优先权来源地、主公开号首次公开局、同族覆盖局、指定国与可用的当前有效地域。 方法: 各地域口径分栏统计;PN 前缀只代表公开局,绝不代替市场覆盖或有效权利地域。 算法: separated_family_geography_counts v1.1 证据等级: descriptive_statistic 禁止结论: market coverage from PN, export intent, active right without authoritative status

audit_search_strategyB

比较版本化关键词/IPC/申请人检索策略的返回集、增量、独有记录、已知专利回查和滚雪球候选。 方法: 在同一词法检索基线上对版本化策略做集合差异审计;已知专利回查率不是总体查全率。 算法: versioned_lexical_search_set_audit v1.1 证据等级: engineering_screening 禁止结论: 100% recall, validated exhaustive prior-art search

analyze_legal_statusB

在权威来源能力门禁通过后,分开统计当前法律状态与年度法律事件。 方法: 当前状态与历史事件分开统计,并保留司法辖区、来源和 as_of;不构成有效性或 FTO 法律意见。 算法: dated_authoritative_legal_status_composition v1.1 证据等级: descriptive_statistic 禁止结论: freedom to operate, non-infringement, validity opinion

monitor_patent_changesB

保存版本化词法检索基线,并审计新公开、移除记录以及同族、引证、法律事件和申请人字段变化。 方法: 比较持久化策略基线与当前内容版本;预警只表示数据变化,不表示侵权风险。 算法: versioned_patent_change_monitor v2.0 证据等级: engineering_screening 禁止结论: infringement alert, legal risk event, complete external change coverage

analyze_claim_elementsA

生成权利要求依赖树、规则化要素拆分和产品特征词面映射草稿,供专利专业人员复核。 方法: 按来源 claim number/dependency 构树,以标点和连接词进行可逆规则拆分;产品映射仅为词面草稿。 算法: reversible_claim_element_draft v2.0 证据等级: engineering_screening 禁止结论: infringement, doctrine of equivalents, invalidity, FTO opinion

Prompts

Interactive templates invoked by user choice

NameDescription
patent_overviewGet a comprehensive overview of the patent dataset
technology_trendAnalyze technology trends over a time period
competitor_analysisAnalyze competitive landscape by applicant
innovation_gapsReview low-co-occurrence candidates in the Derwent abstract proxy matrix
technology_hotspotsIdentify technology hotspots using word clouds and burst terms

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.5/5.0

Scored across 26 tools

Disambiguation3/5

Most tools have distinct analytical targets, but several clusters overlap heavily: analyze_patent_trend vs analyze_lifecycle vs audit_trend_robustness all address publication-count trends, and generate_wordcloud vs analyze_yearly_keywords vs analyze_burst_terms all produce keyword-frequency views. analyze_ipc_distribution, analyze_tech_matrix, and analyze_competitor_evolution also share IPC-based territory. The long descriptions explain the boundaries, but an agent must read carefully to pick correctly.

Naming Consistency5/5

All 26 names are snake_case with a leading verb (analyze_*, audit_*, search_*, get_*, read_*, monitor_*, generate_*). The dominant analyze_ prefix is used for consistent analytical semantics, with other verbs reserved for genuinely different operation types. Pattern is predictable and readable throughout.

Tool Count3/5

26 tools is at the heavy end for a single server and sits above the comfortable 3-15 band; maintaining consistent selection across so many near-adjacent analytics is costly. Each tool does encode a distinct algorithm, so it is not padding, but the surface is noticeably over-scoped.

Completeness4/5

Coverage is broad and deep: retrieval (search_patents, read_patent_details), portfolio/entity and concentration analytics, citation and family networks, legal status, monitoring, and even methodological audits. Minor gaps exist around explicit cross-patent comparison and export/report generation, but no core workflow dead-ends.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues