Manalink MCP Server

Manalink MCP Server

A Model Context Protocol server implementation that enables AI assistants to search for tutors on Manalink platform by subject, grade level, and other criteria.

Category
Visit Server

README

マナリンクMCPサーバー

マナリンクのModel Context Protocol (MCP) サーバー実装です。AIアシスタントが先生検索などの機能を利用できるようにします。

機能

このMCPサーバーは以下のツールを提供します:

  1. 科目マスタ取得: 科目名と科目IDのマスタを取得
  2. 特徴マスタ取得: コース特徴のマスタを取得(APIから動的に取得)
  3. 学年マスタ取得: 学年名とIDのマスタを取得
  4. 先生検索(詳細指定): 科目ID、学年IDなどの詳細パラメータで先生を検索

前提条件

  • Node.js 18+
  • npm または yarn

インストール

# リポジトリのクローン
git clone [リポジトリURL]
cd manalink-mcp

# 依存関係のインストール
npm install

使い方

開発モード

npm run dev

本番モード

npm run build
npm start

Claude for Desktopとの連携

Claude for Desktopで使用するには、claude_desktop_config.json ファイルに設定を追加します。

  1. Claude for Desktopの設定ファイルを開く
code ~/Library/Application\ Support/Claude/claude_desktop_config.json
  1. 以下の設定を追加
{
    "mcpServers": {
        "manalink": {
            "command": "node",
            "args": [
                "/絶対パス/manalink-mcp/dist/index.js"
            ]
        }
    }
}
  1. Claude for Desktopを再起動

MCP ツール

1. 科目マスタ取得

// ツール名: get_subject_master
// パラメータ: なし

2. 特徴マスタ取得

// ツール名: get_course_features
// パラメータ: なし

3. 学年マスタ取得

// ツール名: get_grade_master
// パラメータ: なし

4. 先生検索 (詳細指定)

// ツール名: search_teachers_advanced
// パラメータ:
// - subject_ids: 科目IDの配列(オプション)
// - grade_ids: 学年IDの配列(オプション)
// - course_feature_id: 特徴ID(オプション)
// - sort: ソート順(オプション)[pr, certification, rating, lesson_count, latest]
// - desired_teaching_period: 指導期間(オプション)[monthly, once]

検証方法

MCP Inspectorを使用して検証することができます。

  1. ビルドを実行してから、インスペクタを実行します
npm run build
npx @modelcontextprotocol/inspector node dist/index.js

ライセンス

MIT

HTMLからMarkdownへの変換機能

マナリンクから取得したHTMLコンテンツをマークダウン形式に変換する機能を実装しています。

インストール方法

npm install node-html-markdown

使用方法

import { convertHtmlToMarkdown } from './utils/api';

// HTMLからMarkdownへの変換
const html = `
  <div>
    <h1>マナリンク</h1>
    <p>オンライン家庭教師プラットフォーム</p>
    <ul>
      <li><a href="/about">サービスについて</a></li>
      <li><a href="/teachers">先生を探す</a></li>
    </ul>
  </div>
`;

const markdown = convertHtmlToMarkdown(html);
console.log(markdown);

変換結果

上記のHTMLからは以下のようなマークダウンが生成されます:

# マナリンク

オンライン家庭教師プラットフォーム

* [サービスについて](/about)
* [先生を探す](/teachers)

先生検索結果のマークダウン変換

先生検索APIでは、検索結果をHTML形式とMarkdown形式の両方で取得できます:

import { searchTeachers } from './utils/api';

// 数学の中学生を教えられる先生を検索
const result = await searchTeachers({
  subject_ids: [2], // 数学
  grade_ids: [4], // 中学1年生
  sort: 'rating'
});

// HTML形式の検索結果
console.log(result.bodyContent);

// Markdown形式の検索結果
console.log(result.markdown);

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured