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

Metadata

Release files for scape2009-wiki-api 1.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for scape2009-wiki-api 1.1.1
File Size Uploaded
scape2009_wiki_api-1.1.1.tar.gz 291.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for scape2009-wiki-api 1.1.1
File Interpreter ABI Platform
scape2009_wiki_api-1.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 685.4 kB

Release files / scape2009_wiki_api-1.1.1.tar.gz

Download URL scape2009_wiki_api-1.1.1.tar.gz
Size 291.5 kB
Tags Source
SHA-256 checksum
How to use checksums
6b8609b73a50e50225d8193fda9ab3911be7206f845e38edb1c657f7b9786c65
BLAKE2b-256 checksum
How to use checksums
ce32d617392cb01d1dc0f93183d5a2db3346e85060175406a673192b55c4051b
Upload date
Uploaded using Trusted Publishing?
What is 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}

Release files / scape2009_wiki_api-1.1.1-py3-none-any.whl

Download URL scape2009_wiki_api-1.1.1-py3-none-any.whl
Size 393.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dfec8768c04af7594f3e391eb769aac963b9c57d71a1e57bf7960309b0cd505e
BLAKE2b-256 checksum
How to use checksums
e90282d2f088e4ea144ae99577e816dfc5a9037dfa1da019e972bc3ad11bbaf3
Upload date
Uploaded using Trusted Publishing?
What is 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}

Release history Release notifications | RSS feed

This release

1.1.1 This release

2 release files

1.1.0

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page