Analytical MCP Server

MIT License
  • Linux
  • Apple

Integrations

  • Integrated for environment variable management, allowing configuration of API keys, feature flags, cache settings, NLP and server settings through a .env file

  • Integrated for testing capabilities, supporting various test suites including integration tests, Exa Research API tests, and server tool registration tests

  • Required as the runtime environment for the MCP server, specifically version 20 or higher

分析MCPサーバー

高度な分析、調査、自然言語処理機能を提供する特殊なモデル コンテキスト プロトコル (MCP) サーバー。

主な特徴

分析ツール

  • データセット分析
  • 意思決定分析
  • 相関分析
  • 回帰分析
  • 時系列分析
  • 仮説検定

高度なNLP機能

  • 強化された事実抽出
  • 名前付きエンティティ認識
  • 共参照解決
  • 関係抽出
  • 感情分析
  • テキストの類似性
  • 品詞タグ付け
  • 見出語化
  • スペルチェック

インストール

前提条件

  • Node.js (v20+)
  • npm
  • Exa API キー(研究および高度な NLP 機能用)

設定

  1. リポジトリをクローンする
  2. 依存関係をインストールします:
    npm install
  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デモを実行する

テストスクリプト

特定のテスト スイートを実行するための専用スクリプトを提供します。

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

主要技術

  • タイプスクリプト
  • モデルコンテキストプロトコルSDK
  • 研究とNLPのためのExa API
  • 自然言語処理ライブラリ
  • テスト用のJest

高度なNLP実装

分析 MCP サーバーは、以下を使用して高度な NLP 機能を実装します。

  • コンテキスト認識エンティティ認識のためのExa Research API
  • 基本的なNLP操作のための自然言語ツールキット
  • オフライン機能のためのカスタムルールベースのフォールバックメカニズム
  • 信頼性スコアリングによる強化された事実抽出
  • エンティティ間の関係抽出

詳細については、高度な NLP ドキュメントを参照してください。

必要なAPIキー

このプロジェクトには次の API キーが必要です。

  • EXA_API_KEY : 研究統合と高度なNLPに使用されます

.env.exampleファイルには、使用可能なすべての構成オプションが含まれています。

  • APIキー
  • 機能フラグ
  • キャッシュ設定
  • NLP構成
  • サーバー構成

このファイルをプロジェクト ルートの.envにコピーし、実際の API キーで更新して開始します。

貢献

  1. リポジトリをフォークする
  2. 機能ブランチを作成する
  3. 変更をコミットする
  4. ブランチにプッシュする
  5. プルリクエストを作成する

ライセンス

MITライセンス

-
security - not tested
A
license - permissive license
-
quality - not tested

モデル コンテキスト プロトコル サーバーを通じて高度な分析、調査、自然言語処理機能を提供し、データセット分析、意思決定分析、エンティティ認識やファクト抽出などの強化された NLP 機能を可能にします。

  1. Key Features
    1. Analytical Tools
    2. Advanced NLP Capabilities
  2. Installation
    1. Prerequisites
    2. Setup
  3. Usage
    1. Running Tools
    2. Advanced NLP Demo
  4. Development
    1. Available Scripts
    2. Test Scripts
    3. Key Technologies
  5. Advanced NLP Implementation
    1. Required API Keys
      1. Contributing
        1. License
          ID: zlfufcwj58