Logo OSRS Wiki

OSRS Wiki

Cộng đồng
JayArrowz

mcp server for AI to understand osrs

Nhà phát hànhJayArrowz
Kho mãmcp-osrs
Ngôn ngữJavaScript
Bản fork
24
Sao
36
Công cụ có sẵn
19
Phương thức truyền tảistdio
Danh mục
Giấy phépMIT
Liên kết
  • Kết nối công cụ với quy trình làm việc AI

    OSRS Wiki cung cấp các khả năng MCP mà ứng dụng khách và tác nhân AI tương thích có thể sử dụng.

  • 19 công cụ có sẵn

    Xem các thao tác có thể gọi bên dưới, kèm tên và mô tả nếu máy chủ cung cấp.

  • Cấu hình sẵn để sao chép

    Dùng các đoạn cấu hình cài đặt mẫu để thiết lập máy chủ này trong ứng dụng khách MCP bạn muốn dùng.

  • Chỉ số quan tâm đến mã nguồn mở

    36 sao và 24 bản fork từ kho mã được liên kết.

MseeP.ai Security Assessment Badge

OSRS MCP Server smithery badge

MCP Server for interacting with the Old School RuneScape (OSRS) Wiki API and data files. This server provides tools to search the OSRS Wiki and access game data definitions through the Model Context Protocol.

image

image

image

Tools

This server implements the following tools:

OSRS Wiki Methods

  1. osrs_wiki_search - Search the OSRS Wiki for pages matching a search term
  2. osrs_wiki_get_page_info - Get information about specific pages on the OSRS Wiki
  3. osrs_wiki_parse_page - Get the parsed HTML content of a specific OSRS Wiki page

Game Data Search Methods

  1. search_varptypes - Search the varptypes.txt file for player variables (varps) that store player state and progress
  2. search_varbittypes - Search the varbittypes.txt file for variable bits (varbits) that store individual bits from varps
  3. search_iftypes - Search the iftypes.txt file for interface definitions used in the game's UI
  4. search_invtypes - Search the invtypes.txt file for inventory type definitions in the game
  5. search_loctypes - Search the loctypes.txt file for location/object type definitions in the game world
  6. search_npctypes - Search the npctypes.txt file for NPC (non-player character) definitions
  7. search_objtypes - Search the objtypes.txt file for object/item definitions in the game
  8. search_rowtypes - Search the rowtypes.txt file for row definitions used in various interfaces
  9. search_seqtypes - Search the seqtypes.txt file for animation sequence definitions
  10. search_soundtypes - Search the soundtypes.txt file for sound effect definitions in the game
  11. search_spottypes - Search the spottypes.txt file for spot animation (graphical effect) definitions
  12. search_spritetypes - Search the spritetypes.txt file for sprite image definitions used in the interface
  13. search_tabletypes - Search the tabletypes.txt file for interface tab definitions

Generic Data File Methods

  1. search_data_file - Search any file in the data directory for matching entries
  2. get_file_details - Get details about a file in the data directory
  3. list_data_files - List available data files in the data directory

Grand Exchange Prices

  1. search_ge_items - Search for Grand Exchange tradeable items by name. Returns item IDs, names, buy limits, and alch values
  2. get_ge_latest - Get the latest Grand Exchange high and low prices for a specific item by its ID
  3. get_ge_timeseries - Get historical time-series price data for an item at a given interval (5m, 1h, 6h, 24h). Returns up to 365 data points

Player Lookup

  1. lookup_player - Look up an OSRS player's stats (skills, bosses, clue scrolls, and activities) from the official hiscores

Installation

Installing via Smithery

To install mcp-osrs for Claude Desktop automatically via Smithery:

bash
npx @smithery/cli@latest install @jayarrowz/mcp-osrs --client claude

Prerequisites

  • Node.js (v16 or later)
  • npm or yarn

Installing the package

bash
# Clone the repository
git clone https://github.com/jayarrowz/mcp-osrs.git
cd mcp-osrs

# Install dependencies
npm install

# Build the package
npm run build

Usage with Claude Desktop

Add the following to your claude_desktop_config.json:

Using npx

json
{
  "mcpServers": {
    "osrs": {
      "command": "npx",
      "args": ["-y", "@jayarrowz/mcp-osrs"]
    }
  }
}

Direct Node.js

json
{
  "mcpServers": {
    "osrs": {
      "command": "node",
      "args": ["/path/to/mcp-osrs/dist/index.js"]
    }
  }
}

Replace /path/to/mcp-osrs with the actual path to your repository.

Examples

Search the OSRS Wiki

javascript
// Search for information about the Abyssal whip
const result = await callTool("osrs_wiki_search", { 
  search: "Abyssal whip" 
});

Get Page Information

javascript
// Get information about a specific wiki page
const pageInfo = await callTool("osrs_wiki_get_page_info", { 
  titles: "Abyssal_whip" 
});

Search Game Data

javascript
// Search for items in the object definitions
const items = await callTool("search_objtypes", { 
  query: "dragon",
  page: 1,
  pageSize: 10
});

List Available Data Files

javascript
// Get a list of all data files
const files = await callTool("list_data_files", {});

Search Grand Exchange Items

javascript
// Search for tradeable items by name
const items = await callTool("search_ge_items", { 
  query: "dragon scimitar",
  page: 1,
  pageSize: 10
});

Get Latest GE Prices

javascript
// Get the latest high/low prices for an item
const prices = await callTool("get_ge_latest", { 
  itemId: 2 // Cannonball
});

Get GE Price History

javascript
// Get time-series price data for an item
const history = await callTool("get_ge_timeseries", { 
  itemId: 2,
  timestep: "1h"
});

Look Up a Player

javascript
// Look up an OSRS player's stats
const stats = await callTool("lookup_player", { 
  playerName: "Zezima"
});

Development

bash
# Install dependencies
npm install

# Start the server in development mode
npm start

# Build the server
npm run build

License

This MCP server is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License. For more details, please see the LICENSE file in the project repository.

Cài đặt

TypingMind
Yêu cầu:

Node.js 18+

{
  "mcpServers": {
    "osrs": {
      "command": "npx",
      "args": [
        "-y",
        "@jayarrowz/mcp-osrs"
      ]
    }
  }
}

Công cụ có sẵn

  • osrs_wiki_search

    Search the OSRS Wiki for pages matching a search term.

  • osrs_wiki_get_page_info

    Get information about specific pages on the OSRS Wiki.

  • osrs_wiki_parse_page

    Get the parsed HTML content of a specific OSRS Wiki page.

  • search_varptypes

    Search the varptypes.txt file for player variables (varps) that store player state and progress.

  • search_varbittypes

    Search the varbittypes.txt file for variable bits (varbits) that store individual bits from varps.

  • search_iftypes

    Search the iftypes.txt file for interface definitions used in the game's UI.

  • search_invtypes

    Search the invtypes.txt file for inventory type definitions in the game.

  • search_loctypes

    Search the loctypes.txt file for location/object type definitions in the game world.

  • search_npctypes

    Search the npctypes.txt file for NPC (non-player character) definitions.

  • search_objtypes

    Search the objtypes.txt file for object/item definitions in the game.

  • search_rowtypes

    Search the rowtypes.txt file for row definitions used in various interfaces.

  • search_seqtypes

    Search the seqtypes.txt file for animation sequence definitions.

  • search_soundtypes

    Search the soundtypes.txt file for sound effect definitions in the game.

  • search_spottypes

    Search the spottypes.txt file for spot animation (graphical effect) definitions.

  • search_spritetypes

    Search the spritetypes.txt file for sprite image definitions used in the interface.

  • search_tabletypes

    Search the tabletypes.txt file for interface tab definitions.

  • search_data_file

    Search any file in the data directory for matching entries.

  • get_file_details

    Get details about a file in the data directory.

  • list_data_files

    List available data files in the data directory.

Dùng MCP OSRS Wiki với nhiều mô hình AI

TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên sau khi kết nối OSRS Wiki, bạn có thể dùng với nhiều mô hình AI khác nhau trong TypingMind thay vì phải thiết lập riêng cho từng mô hình. MCP này chạy cục bộ thông qua trình kết nối MCP của TypingMind trên thiết bị của bạn.

Hướng dẫn thiết lập để dùng trình kết nối cục bộ

Dùng cách này khi máy chủ MCP cần truy cập các tệp, ứng dụng hoặc tài nguyên riêng tư trên máy tính của bạn.

1

Mở cài đặt MCP

Trong TypingMind, vào Cài đặt, Cài đặt nâng cao, rồi đến Giao thức ngữ cảnh mô hình và chọn Cài trình kết nối.

  1. Mở TypingMind trong trình duyệt của bạn.
  2. Nhấp vào biểu tượng Cài đặt.
  3. Vào Cài đặt nâng cao.
  4. Mở mục Giao thức ngữ cảnh mô hình.
  5. Nhấp vào Cài trình kết nối rồi chọn Thiết bị này.
Màn hình thiết lập trình kết nối MCP của TypingMind với tùy chọn Thiết bị này được chọn
2

Chạy lệnh trình kết nối

Chọn Thiết bị này, sao chép lệnh từ TypingMind và chạy trong Terminal. Giữ tiến trình chạy trong khi bạn dùng MCP.

  1. Sao chép lệnh thiết lập hiển thị trong TypingMind.
  2. Mở Terminal trên macOS hoặc Windows Terminal trên Windows.
  3. Dán và chạy lệnh.
  4. Xác nhận cài đặt gói nếu Terminal hỏi bạn có muốn tiếp tục không.
  5. Giữ tiến trình trong cửa sổ Terminal chạy trong khi dùng các công cụ MCP.
3

Thêm OSRS Wiki làm máy chủ

Khi trạng thái trình kết nối là Sẵn sàng, nhấp vào Sửa máy chủ và dán cấu hình máy chủ MCP.

  1. Đợi đến khi trạng thái trình kết nối hiển thị Sẵn sàng.
  2. Nhấp vào Sửa máy chủ.
  3. Dán cấu hình máy chủ MCP của OSRS Wiki.
  4. Lưu danh sách máy chủ.
  5. Làm mới nếu bạn muốn xác nhận trình kết nối vẫn sẵn sàng.
Cài đặt MCP của TypingMind hiển thị máy chủ đang hoạt động và nút Sửa máy chủ
{
  "mcpServers": {
    "osrs-wiki": {
      "command": "npx",
      "args": [
        "-y",
        "@jayarrowz/mcp-osrs"
      ]
    }
  }
}
4

Dùng kết nối với nhiều mô hình

Lưu danh sách máy chủ, mở Plugin, bật các công cụ MCP của OSRS Wiki, sau đó chọn bất kỳ mô hình AI nào được hỗ trợ trong TypingMind và dùng các công cụ trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.

  1. Mở trang Plugin trong TypingMind.
  2. Bật các công cụ MCP của OSRS Wiki.
  3. Bắt đầu cuộc trò chuyện và chọn mô hình AI bạn muốn dùng.
  4. Dùng các công cụ MCP trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.
  5. Chuyển sang mô hình AI khác bất cứ khi nào cần mà không phải kết nối lại MCP.
Cuộc trò chuyện TypingMind dùng các công cụ MCP đã bật với một mô hình AI được chọn
Bạn có thể dùng OSRS Wiki giúp tôi làm việc này không?
OSRS Wiki
Được. Tôi đã đọc.
Đây là kết quả tôi tìm được bằng OSRS Wiki.

Câu hỏi thường gặp

Máy chủ MCP OSRS Wiki dùng để làm gì?

OSRS Wiki là máy chủ MCP cho phép các ứng dụng AI tương thích kết nối với công cụ và ngữ cảnh bên ngoài. Trong TypingMind, bạn chỉ cần thêm máy chủ MCP này một lần để các công cụ của nó có sẵn trong không gian làm việc AI của bạn.

Bạn có thể dùng MCP OSRS Wiki với nhiều mô hình AI trong TypingMind không?

Có. TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên bạn có thể dùng OSRS Wiki với nhiều mô hình AI như Claude, ChatGPT, Gemini hoặc các mô hình khác đã cấu hình trong TypingMind mà không cần thiết lập máy chủ MCP riêng cho từng mô hình.

Vì sao nên dùng MCP OSRS Wiki với TypingMind?

TypingMind là một trong những giao diện trò chuyện với LLM tốt nhất vì tập hợp nhiều mô hình AI, prompt, plugin, tác nhân AI, khóa API và công cụ MCP vào một không gian làm việc. Khi kết nối OSRS Wiki, bạn có thể dùng các công cụ MCP của dịch vụ này với những mô hình ưa thích, đồng thời giữ quy trình trò chuyện gọn gàng trong TypingMind.

Làm cách nào để kết nối MCP OSRS Wiki với TypingMind?

OSRS Wiki hoạt động thông qua trình kết nối MCP cục bộ của TypingMind. Đây là lựa chọn phù hợp nhất khi máy chủ MCP cần truy cập tệp cục bộ, ứng dụng máy tính, công cụ dòng lệnh hoặc tài nguyên riêng trên máy tính của bạn.

MCP OSRS Wiki cung cấp những công cụ nào trong TypingMind?

OSRS Wiki cung cấp 19 công cụ MCP mà bạn có thể bật từ trang Plugin của TypingMind để dùng trong trò chuyện hoặc gán cho tác nhân AI.

Bạn có cần chia sẻ khóa API với TypingMind để dùng MCP OSRS Wiki không?

Không. TypingMind ưu tiên xử lý cục bộ và cho phép bạn kiểm soát nhà cung cấp mô hình, khóa API, prompt và cấu hình MCP. Nếu OSRS Wiki yêu cầu xác thực, hãy thêm các header, cài đặt OAuth hoặc cấu hình cục bộ cần thiết cho máy chủ MCP đó khi tạo kết nối.

Máy chủ MCP liên quan

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇