Price Per TokenPrice Per Token
MTG Chinese Card Database - 大学院废墟(sbwsz.com)

MTG Chinese Card Database - 大学院废墟(sbwsz.com)

by lieyanqzu

GitHub 1 1,388 uses Remote
0

About

大学院废墟 (sbwsz.com) is a Model Context Protocol server that provides access to a Chinese Magic: The Gathering card database. It enables querying of MTG card information, sets, and detailed card data through multiple search and retrieval tools. Key features include: - Search cards using complex query syntax (e.g., `t:creature c:r` for red creatures, `pow>=5` for high-power cards) with pagination and sorting - Retrieve individual cards by set code and collector number - Get comprehensive set information and list all cards within specific sets - 活字乱刷 (Living Type Scatter): A creative tool that generates images by splicing together Magic: The Gathering card artwork based on input text - Supports both STDIO mode for direct MCP client integration and HTTP mode for containerized deployment

README

大学院废墟(sbwsz.com) MCP Server

English | 中文

一个基于 Model Context Protocol (MCP) 的服务端,用于与 大学院废墟 API 交互。提供了一系列工具来查询万智牌中文卡牌信息。

[](https://smithery.ai/server/@lieyanqzu/sbwsz-mcp)

API 文档

本服务端基于大学院废墟的公开 API。您可以在以下地址查看完整的 API 文档:

  • 大学院废墟 API 文档
  • 使用示例

    功能特性

  • get_card_by_set_and_number
  • 通过系列代码和收集编号获取单张卡牌。
  • search_cards
  • 通过查询字符串搜索卡牌,支持分页和排序。支持复杂的查询语法,如 t:creature c:r(红色生物)或 pow>=5 or mv cd sbwsz-mcp

    安装依赖

    npm install

    构建项目

    npm run build

    运行 STDIO 模式

    npm run start:stdio

    运行 HTTP 模式

    npm run start:http
    
    

    运行模式

    服务端支持两种运行模式:

    #### STDIO 模式(默认) 用于与 Claude Desktop 等 MCP 客户端直接集成:

    bash npm run start:stdio
    
    #### HTTP 模式
    用于容器部署或 HTTP 客户端访问:

    bash npm run start:http
    
    HTTP 服务器将在端口 8081 上启动,端点为 http://localhost:8081/mcp

    在 Claude Desktop 中集成

    claude_desktop_config.json 中添加配置:

    #### 使用 NPX(推荐)

    json { "mcpServers": { "sbwsz": { "command": "npx", "args": ["sbwsz-mcp-server"] } } }
    
    #### 使用本地构建
    
    json { "mcpServers": { "sbwsz": { "command": "node", "args": ["path/to/sbwsz-mcp/dist/index.js"], "cwd": "path/to/sbwsz-mcp" } } }
    
    

    Docker 部署

    bash

    构建镜像

    docker build -t sbwsz-mcp .

    运行 STDIO 模式(用于集成)

    docker run -i --rm sbwsz-mcp

    运行 HTTP 模式(用于服务)

    docker run -p 8081:8081 sbwsz-mcp
    `

    跨平台支持

    项目使用 cross-env 确保在所有平台上正确设置环境变量:

  • Windows: npm run start:httpnpm run start:stdio
  • macOS/Linux: npm run start:httpnpm run start:stdio`
  • Docker: 自动使用 HTTP 模式
  • Related MCP Servers

    AI Research Assistant

    AI Research Assistant

    hamid-vakilzadeh

    AI Research Assistant provides comprehensive access to millions of academic papers through the Semantic Scholar and arXiv databases. This MCP server enables AI coding assistants to perform intelligent literature searches, citation network analysis, and paper content extraction without requiring an API key. Key features include: - Advanced paper search with multi-filter support by year ranges, citation thresholds, field of study, and publication type - Title matching with confidence scoring for finding specific papers - Batch operations supporting up to 500 papers per request - Citation analysis and network exploration for understanding research relationships - Full-text PDF extraction from arXiv and Wiley open-access content (Wiley TDM token required for institutional access) - Rate limits of 100 requests per 5 minutes with options to request higher limits through Semantic Scholar

    Web & Search
    12 8
    Linkup

    Linkup

    LinkupPlatform

    Linkup is a real-time web search and content extraction service that enables AI assistants to search the web and retrieve information from trusted sources. It provides source-backed answers with citations, making it ideal for fact-checking, news gathering, and research tasks. Key features of Linkup: - Real-time web search using natural language queries to find current information, news, and data - Page fetching to extract and read content from any webpage URL - Search depth modes: Standard for direct-answer queries and Deep for complex research across multiple sources - Source-backed results with citations and context from relevant, trustworthy websites - JavaScript rendering support for accessing dynamic content on JavaScript-heavy pages

    Web & Search
    2 24
    Math-MCP

    Math-MCP

    EthanHenrickson

    Math-MCP is a computation server that enables Large Language Models (LLMs) to perform accurate numerical calculations through the Model Context Protocol. It provides precise mathematical operations via a simple API to overcome LLM limitations in arithmetic and statistical reasoning. Key features of Math-MCP: - Basic arithmetic operations: addition, subtraction, multiplication, division, modulo, and bulk summation - Statistical analysis functions: mean, median, mode, minimum, and maximum calculations - Rounding utilities: floor, ceiling, and nearest integer rounding - Trigonometric functions: sine, cosine, tangent, and their inverses with degrees and radians conversion support

    Developer Tools
    22 81