Analytical MCP Server
分析MCP服务器
专门的模型上下文协议 (MCP) 服务器提供高级分析、研究和自然语言处理功能。
主要特点
分析工具
数据集分析
决策分析
相关性分析
回归分析
时间序列分析
假设检验
高级 NLP 功能
增强事实提取
命名实体识别
共指消解
关系提取
情绪分析
文本相似度
词性标注
词形还原
拼写检查
Related MCP server: Sequential Thinking MCP Server
安装
先决条件
Node.js(v20+)
npm
Exa API 密钥(用于研究和高级 NLP 功能)
设置
克隆存储库
安装依赖项:
npm install设置环境变量:
# Copy the example environment file cp .env.example .env # Edit .env and add your API keys # You'll need an Exa API key for research functionality构建项目:
npm run build
用法
运行工具
每个工具都可以使用特定参数来调用。例如:
// Analyze a dataset
const datasetAnalysis = await analyzeDataset([1, 2, 3, 4, 5], 'summary');
// Verify research claims
const researchVerification = await researchVerification.verifyResearch({
query: 'Climate change impacts',
sources: 3
});
// Extract entities from text
const entities = await advancedNER.recognizeEntities(
"Apple Inc. is planning to open a new headquarters in Austin, Texas."
);高级 NLP 演示
您可以运行附带的 NLP 演示来查看高级功能的实际效果:
npm run build
node examples/advanced_nlp_demo.js发展
可用脚本
npm run build:编译 TypeScriptnpm test:运行所有测试npm run test:integration:仅运行集成测试npm run test:exa:运行 Exa Research API 测试npm run test:research:运行研究验证测试npm run test:server:运行服务器工具注册测试npm run lint:检查代码质量npm run format:格式化代码npm run nlp:demo:运行高级 NLP 演示
测试脚本
我们提供用于运行特定测试套件的专用脚本:
Unix/Linux/Mac
# Run all integration tests with a summary report
./tools/run-all-integration-tests.sh
# Run specific test suites
./tools/run-exa-tests.sh
./tools/run-research-tests.sh
./tools/run-server-tests.sh
./tools/run-api-key-tests.sh
./tools/run-data-pipeline-tests.sh
./tools/run-market-analysis-tests.sh视窗
# Run all integration tests with a summary report
.\tools\run-all-integration-tests.bat关键技术
TypeScript
模型上下文协议 SDK
用于研究和 NLP 的 Exa API
自然语言处理库
Jest 用于测试
高级 NLP 实现
分析型 MCP 服务器使用以下方式实现高级 NLP 功能:
用于上下文感知实体识别的 Exa 研究 API
用于基本 NLP 操作的自然语言工具包
基于规则的自定义离线功能回退机制
通过置信度评分增强事实提取
实体间关系提取
有关详细信息,请参阅高级 NLP 文档。
所需的 API 密钥
该项目需要以下 API 密钥:
EXA_API_KEY:用于研究集成和高级 NLP
.env.example文件包含所有可用的配置选项:
API 密钥
功能标志
缓存设置
NLP配置
服务器配置
将此文件复制到项目根目录中的.env并使用实际 API 密钥进行更新以开始使用。
贡献
分叉存储库
创建功能分支
提交你的更改
推送到分支
创建拉取请求
执照
MIT 许可证
Available Tools
12 toolsadvanced_data_preprocessingA
Transform a numeric series for downstream modeling: min-max normalization, z-score standardization, missing-value handling, or IQR outlier detection. Returns a markdown report with the transform's parameters and a preview of the resulting values. Use analyze_dataset to describe data without changing it.
Inputs: data (required), preprocessingType (required).
advanced_regression_analysisA
Fit a regression model (linear, polynomial, logistic, or multivariate) predicting a named dependent variable from named predictor columns. Returns a markdown report with fitted coefficients, performance metrics, and interpretation. Use this when you have a designated outcome to predict; for association strength without a model use advanced_statistical_analysis, and to score existing predictions use ml_model_evaluation.
Inputs: data (required), regressionType (required), dependentVariable (required), independentVariables (required), +6 more.
advanced_statistical_analysisA
Compute per-column descriptive statistics, or Pearson correlation for every numeric column pair, over a table of records. Returns a markdown report (mean/median/std/variance/min/max per column, or r plus a weak/moderate/strong label per pair); non-numeric columns are ignored. Use analyze_dataset for a single numeric series; for correlation significance (p-values) use hypothesis_testing; to fit a predictive model use advanced_regression_analysis.
Inputs: data (required), analysisType (required).
analyze_datasetA
Summarize a single numeric series with descriptive statistics. Returns a markdown report: 'summary' gives count/min/max/mean/sum; 'stats' adds median, quartiles, standard deviation, variance, and coefficient of variation. Accepts a number[] or an array of objects (the first numeric property is used). For multi-column tables or cross-variable correlation use advanced_statistical_analysis; to transform values use advanced_data_preprocessing.
Inputs: data (required), analysisType.
data_visualization_generatorA
Generate a chart specification (Vega-Lite) plus rendering instructions for a dataset — it describes a chart, it does not render an image. Supports scatter, line, bar, histogram, box, heatmap, pie, violin, and correlation plots. Returns a markdown report with the data-point count, the spec, and usage guidance.
Inputs: data (required), variables (required), visualizationType (required), title, +2 more.
decision_analysisA
Rank options against weighted criteria with a weighted-sum decision matrix. Returns a markdown report: ranked options, a per-option breakdown (score × weight contribution, strengths, weaknesses), and a recommendation. Weights are normalized to sum to 1; omit them for equal weighting.
Inputs: scores (required), options (required), criteria (required), weights.
hypothesis_testingA
Run a statistical hypothesis test and report the p-value with a reject / fail-to-reject decision at the chosen alpha. Supports independent (Welch) and paired t-tests, Pearson-correlation significance, chi-square independence, and one-way ANOVA. Returns a markdown report with the test statistic, p-value, and conclusion. Use this when you need significance; for descriptive correlation without inference use advanced_statistical_analysis.
Inputs: data (required), testType (required), alpha, variables, +1 more.
logical_argument_analyzerA
Assess a natural-language argument for structure, validity, strength, and fallacies. Returns a markdown analysis; 'comprehensive' (default) runs all four plus optional improvement recommendations. Use this for overall argument quality; to only flag and name fallacies use logical_fallacy_detector.
Inputs: argument (required), analysisType, includeRecommendations.
logical_fallacy_detectorA
Detect and name logical fallacies in text via pattern matching, each with a confidence score, description, and before/after examples. Returns a markdown report grouped by category with an overall severity assessment. Use this to flag specific fallacies; for a full argument assessment use logical_argument_analyzer.
Inputs: text (required), categories, includeExamples, confidenceThreshold, +1 more.
ml_model_evaluationA
Score an existing model's predictions against actual values. Classification returns accuracy/precision/recall/F1 from a binary (0/1) confusion matrix; regression returns MSE/MAE/RMSE/R². Returns a markdown report of the requested metrics plus sample count. This scores supplied predictions; to fit a model from raw data use advanced_regression_analysis.
Inputs: modelType (required), actualValues (required), predictedValues (required), evaluationMetrics.
perspective_shifterA
Generate alternative viewpoints on a problem — by stakeholder or discipline — grounded in web research via Exa. Returns a markdown report with key facts and actionable insights per perspective. Requires EXA_API_KEY and ENABLE_RESEARCH_INTEGRATION=true and makes live network calls; it fails without them. To cross-check factual claims instead of generating viewpoints, use verify_research.
Inputs: problem (required), shiftType, includeActionable, currentPerspective, +1 more.
verify_researchA
Cross-verify a factual claim across multiple web sources via Exa and return a structured confidence verdict. Returns an object {verifiedResults, confidence:{score, verified, consistencyThreshold, details:{sourceCount, uniqueSources, conflictingClaims, ...}}} — not markdown — from cross-source Jaccard consistency and conflict detection. Requires EXA_API_KEY and ENABLE_RESEARCH_INTEGRATION=true and makes live network calls; it fails without them. To generate alternative viewpoints instead of verifying facts, use perspective_shifter.
Inputs: query (required), sources, verificationQueries, minConsistencyThreshold.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 12 tools
Most tools have clearly distinct purposes, though advanced_statistical_analysis and analyze_dataset overlap in descriptive stats, and logical_argument_analyzer/logical_fallacy_detector cover similar ground. However, the descriptions explicitly differentiate them, reducing confusion.
Naming is inconsistent: some tools use 'advanced_' prefix (advanced_data_preprocessing, advanced_regression_analysis, advanced_statistical_analysis) while others do not. There is a mix of verb-object (analyze_dataset, verify_research) and noun-phrase (decision_analysis, hypothesis_testing) patterns, which lacks uniformity.
12 tools is well-scoped for an analytical server covering statistics, machine learning, logic, and research verification. Each tool addresses a distinct analytical need without feeling excessive or sparse.
The tool set covers core analytical tasks including descriptive stats, hypothesis testing, regression, preprocessing, visualization, decision analysis, and research verification. Minor gaps exist (e.g., clustering, time series), but the provided tools form a coherent analytical workflow.
Maintenance
Related MCP Connectors
A Model Context Protocol server for Wix AI tools
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
The Octagon MCP server provides specialized AI-powered financial research and analysis by integrating with the Octagon Market Intelligence API. It enables users to analyze public market data (SEC filings, earnings transcripts, financial metrics, and stock data for 8000+ companies), private market data (3M+ companies, 500k+ funding rounds, 2M+ M&A/IPO transactions), and conduct deep research including web scraping capabilities. The server also features autonomous research agents that search hundreds of sources and return fully cited reports in approximately one minute.
The BigQuery remote MCP server is a fully managed service that uses the Model Context Protocol to connect AI applications and LLMs to BigQuery data sources. It provides secure, standardized tools for AI agents to list datasets and tables, retrieve schemas, generate and execute SQL queries through natural language, and analyze data—enabling direct access to enterprise analytics data without requiring manual SQL coding.
Related MCP Servers
- AlicenseCqualityDmaintenanceA systematic reasoning MCP server for Claude Desktop, featuring Beam Search and Monte Carlo Tree Search to facilitate complex problem-solving and decision-making processes.112MIT
- AlicenseAqualityBmaintenanceThis server facilitates structured problem-solving by breaking down complex issues into sequential steps, supporting revisions, and enabling multiple solution paths through full MCP integration.577 PyPI962MIT
- FlicenseNot gradedqualityDmaintenanceEnables LLMs to perform statistical analysis and generate ML predictions on user data from databases or CSV files through a Model Context Protocol server.2-
- AlicenseAqualityDmaintenanceGuides problem-solving by breaking down complex problems into steps and recommending appropriate MCP tools for each stage, with confidence scores and rationales for tool suggestions.129MIT