Skip to main content

2009scape-wiki-api

PyPI Downloads Docker Image size CI

deb rpm Arch Dataset Docs FAST API docs MCP License

Turns the raw 2009scape game sources (items, NPCs, shops, drop tables, quests, locations) into one immutable SQLite artifact, served two ways: a FastAPI contract for a wiki front end, and an MCP server for Claude and other agents.

flowchart LR
    SRC["game sources<br/>+ overlays"] --> PIPE["pipeline/artifact<br/>offline build"]
    PIPE --> ART[("knowledge.sqlite3<br/>one immutable build")]
    subgraph RUN ["one image, one process, one port"]
        REPO["repository<br/>SQLite + FTS5"] --> CORE["core<br/>resolve, walk, search"]
        CORE --> HTTP["surfaces/http<br/>FastAPI"]
        CORE --> MCP["surfaces/mcp<br/>FastMCP"]
        HTTP --> GUARD["guarding<br/>token, rate, bans"]
        MCP --> GUARD
    end
    ART --> REPO
    GUARD --> WIKI["wiki front end"]
    GUARD --> AGENT["Claude, editors,<br/>any MCP client"]
    DOM["domain<br/>entities, relationships<br/>attribute registry"] -.-> PIPE & REPO & CORE

A build holds ~20,000 entities, ~83,000 relationships and two years of weekly Grand Exchange prices. It ships on Hugging Face, never in this repository.

Installing

Debian, Fedora and Arch packages are on the releases page. Each way in is complete on its own: dataset, settings file, keys and the commands to manage them.

See install. For install guide per method

Documentation

The full documentation is at arsalan-anwari.github.io/2009scape-wiki-api.

read for
install, deployment packages, containers, first questions
configuration, access settings, deploy.json, keys, tokens, bans
http-api, mcp, demos the two surfaces, and worked examples
architecture, data model, pipeline layers, entities, how a build is made
extending, contributing adding a sort, a relationship, a release

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

scape2009_wiki_api-1.1.1.tar.gz (291.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

scape2009_wiki_api-1.1.1-py3-none-any.whl (393.9 kB view details)

Uploaded Python 3

File details

Details for the file scape2009_wiki_api-1.1.1.tar.gz.

File metadata

  • Download URL: scape2009_wiki_api-1.1.1.tar.gz
  • Upload date:
  • Size: 291.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.32 {"installer":{"name":"uv","version":"0.11.32","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Fedora Linux","version":"44","id":"","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for scape2009_wiki_api-1.1.1.tar.gz
Algorithm Hash digest
SHA256 6b8609b73a50e50225d8193fda9ab3911be7206f845e38edb1c657f7b9786c65
MD5 6d5fc3b70881f238fb1035444388d3cf
BLAKE2b-256 ce32d617392cb01d1dc0f93183d5a2db3346e85060175406a673192b55c4051b

See more details on using hashes here.

File details

Details for the file scape2009_wiki_api-1.1.1-py3-none-any.whl.

File metadata

  • Download URL: scape2009_wiki_api-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 393.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.32 {"installer":{"name":"uv","version":"0.11.32","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Fedora Linux","version":"44","id":"","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for scape2009_wiki_api-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 dfec8768c04af7594f3e391eb769aac963b9c57d71a1e57bf7960309b0cd505e
MD5 3e1e8614a57e60d5d4bef680d042a884
BLAKE2b-256 e90282d2f088e4ea144ae99577e816dfc5a9037dfa1da019e972bc3ad11bbaf3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page