Skip to main content
Glama
Analytical MCP Server

Analytical MCP Server

분석 MCP 서버

고급 분석, 연구 및 자연어 처리 기능을 제공하는 특수한 모델 컨텍스트 프로토콜(MCP) 서버입니다.

주요 특징

분석 도구

  • 데이터 세트 분석

  • 의사결정 분석

  • 상관 분석

  • 회귀 분석

  • 시계열 분석

  • 가설 검정

고급 NLP 기능

  • 향상된 사실 추출

  • 명명된 엔터티 인식

  • 공참조 해결

  • 관계 추출

  • 감정 분석

  • 텍스트 유사성

  • 품사 태깅

  • 레마티제이션

  • 맞춤법 검사

Related MCP server: Sequential Thinking MCP Server

설치

필수 조건

  • Node.js(v20+)

  • 엔피엠

  • Exa API 키(연구 및 고급 NLP 기능용)

설정

  1. 저장소를 복제합니다

  2. 종속성 설치:

    지엑스피1

  3. 환경 변수를 설정하세요.

    # 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
  4. 프로젝트를 빌드하세요:

    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 : TypeScript 컴파일

  • npm 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 데모 실행

테스트 스크립트

우리는 특정 테스트 모음을 실행하기 위한 전용 스크립트를 제공합니다:

유닉스/리눅스/맥

# 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

핵심 기술

  • 타입스크립트

  • 모델 컨텍스트 프로토콜 SDK

  • 연구 및 NLP를 위한 Exa API

  • 자연어 처리 라이브러리

  • 테스트를 위한 농담

고급 NLP 구현

분석 MCP 서버는 다음을 사용하여 고급 NLP 기능을 구현합니다.

  • 컨텍스트 인식 엔터티 인식을 위한 Exa 연구 API

  • 기본 NLP 작업을 위한 자연어 툴킷

  • 오프라인 기능을 위한 사용자 정의 규칙 기반 대체 메커니즘

  • 신뢰도 평가를 통한 향상된 사실 추출

  • 엔터티 간 관계 추출

자세한 내용은 고급 NLP 설명서를 참조하세요.

필수 API 키

이 프로젝트에는 다음 API 키가 필요합니다.

  • EXA_API_KEY : 연구 통합 및 고급 NLP에 사용됨

.env.example 파일에는 사용 가능한 모든 구성 옵션이 포함되어 있습니다.

  • API 키

  • 기능 플래그

  • 캐시 설정

  • NLP 구성

  • 서버 구성

시작하려면 이 파일을 프로젝트 루트의 .env 로 복사하고 실제 API 키로 업데이트하세요.

기여하다

  1. 저장소를 포크하세요

  2. 기능 브랜치 생성

  3. 변경 사항을 커밋하세요

  4. 지점으로 밀어 넣기

  5. 풀 리퀘스트 만들기

특허

MIT 라이센스

Available Tools

12 tools
advanced_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

    A4.2/5.0

    Scored across 12 tools

    Disambiguation4/5

    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 Consistency3/5

    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.

    Tool Count5/5

    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.

    Completeness4/5

    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

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers