intangible-valuation 0.1.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. intangible_valuation-0.1.0/.gitignore +78 -0
  2. intangible_valuation-0.1.0/PKG-INFO +191 -0
  3. intangible_valuation-0.1.0/README.md +149 -0
  4. intangible_valuation-0.1.0/mcp_server/__init__.py +1 -0
  5. intangible_valuation-0.1.0/mcp_server/server.py +131 -0
  6. intangible_valuation-0.1.0/mcp_server/tools.py +593 -0
  7. intangible_valuation-0.1.0/pyproject.toml +129 -0
  8. intangible_valuation-0.1.0/skills/impairment-checker/SKILL.md +177 -0
  9. intangible_valuation-0.1.0/skills/ppa-workflow/SKILL.md +202 -0
  10. intangible_valuation-0.1.0/skills/valuation-calculator/SKILL.md +174 -0
  11. intangible_valuation-0.1.0/src/__init__.py +7 -0
  12. intangible_valuation-0.1.0/src/advanced/__init__.py +6 -0
  13. intangible_valuation-0.1.0/src/advanced/goodwill.py +75 -0
  14. intangible_valuation-0.1.0/src/advanced/impairment_testing.py +613 -0
  15. intangible_valuation-0.1.0/src/advanced/litigation.py +115 -0
  16. intangible_valuation-0.1.0/src/advanced/monte_carlo.py +122 -0
  17. intangible_valuation-0.1.0/src/advanced/purchase_price_alloc.py +405 -0
  18. intangible_valuation-0.1.0/src/advanced/royalty_benchmark.py +456 -0
  19. intangible_valuation-0.1.0/src/advanced/transfer_pricing.py +90 -0
  20. intangible_valuation-0.1.0/src/approaches/__init__.py +4 -0
  21. intangible_valuation-0.1.0/src/approaches/cost_approach.py +232 -0
  22. intangible_valuation-0.1.0/src/approaches/market_approach.py +219 -0
  23. intangible_valuation-0.1.0/src/asset_types/__init__.py +5 -0
  24. intangible_valuation-0.1.0/src/asset_types/brand_valuation.py +441 -0
  25. intangible_valuation-0.1.0/src/asset_types/customer_valuation.py +552 -0
  26. intangible_valuation-0.1.0/src/asset_types/human_capital.py +200 -0
  27. intangible_valuation-0.1.0/src/asset_types/ip_valuation.py +549 -0
  28. intangible_valuation-0.1.0/src/asset_types/technology_valuation.py +665 -0
  29. intangible_valuation-0.1.0/src/core/__init__.py +127 -0
  30. intangible_valuation-0.1.0/src/core/discount_rates.py +1103 -0
  31. intangible_valuation-0.1.0/src/core/statistics.py +890 -0
  32. intangible_valuation-0.1.0/src/core/time_value.py +1002 -0
  33. intangible_valuation-0.1.0/src/income_methods/__init__.py +212 -0
  34. intangible_valuation-0.1.0/src/income_methods/excess_earnings.py +313 -0
  35. intangible_valuation-0.1.0/src/income_methods/incremental_cashflow.py +105 -0
  36. intangible_valuation-0.1.0/src/income_methods/relief_from_royalty.py +152 -0
  37. intangible_valuation-0.1.0/src/utils/__init__.py +5 -0
  38. intangible_valuation-0.1.0/src/utils/constants.py +184 -0
  39. intangible_valuation-0.1.0/src/utils/formulas.py +721 -0
@@ -0,0 +1,78 @@
1
+ # Python
2
+ __pycache__/
3
+ *.py[cod]
4
+ *$py.class
5
+ *.so
6
+ *.egg
7
+ *.egg-info/
8
+ dist/
9
+ build/
10
+ *.egg-info
11
+ .eggs/
12
+
13
+ # Virtual environments
14
+ .venv/
15
+ venv/
16
+ env/
17
+ ENV/
18
+
19
+ # uv
20
+ .uv/
21
+ uv.lock
22
+
23
+ # IDE
24
+ .idea/
25
+ .vscode/
26
+ *.swp
27
+ *.swo
28
+ *~
29
+ .project
30
+ .pydevproject
31
+ .settings/
32
+
33
+ # Testing
34
+ .pytest_cache/
35
+ .coverage
36
+ .coverage.*
37
+ htmlcov/
38
+ .tox/
39
+ .nox/
40
+ .hypothesis/
41
+ coverage.xml
42
+ *.cover
43
+
44
+ # Type checking
45
+ .mypy_cache/
46
+ .dmypy.json
47
+ dmypy.json
48
+
49
+ # Linting
50
+ .ruff_cache/
51
+
52
+ # Distribution / packaging
53
+ *.manifest
54
+ *.spec
55
+ pip-wheel-metadata/
56
+
57
+ # Jupyter Notebook
58
+ .ipynb_checkpoints
59
+
60
+ # Environment variables
61
+ .env
62
+ .env.local
63
+ .env.*.local
64
+ *.env
65
+
66
+ # OS
67
+ .DS_Store
68
+ Thumbs.db
69
+
70
+ # Documentation
71
+ docs/_build/
72
+ site/
73
+
74
+ # Generated output
75
+ output/
76
+ *.pdf
77
+ *.xlsx
78
+ *.pptx
@@ -0,0 +1,191 @@
1
+ Metadata-Version: 2.4
2
+ Name: intangible-valuation
3
+ Version: 0.1.0
4
+ Summary: Python library for intangible asset valuation implementing cost, market, and income approaches. 124+ functions for patents, brands, goodwill, PPA, and more.
5
+ Project-URL: Homepage, https://github.com/simonplmak-cloud/intangible-valuation
6
+ Project-URL: Documentation, https://simonplmak-cloud.github.io/intangible-valuation/
7
+ Project-URL: Repository, https://github.com/simonplmak-cloud/intangible-valuation
8
+ Project-URL: Changelog, https://github.com/simonplmak-cloud/intangible-valuation/releases
9
+ Project-URL: Bug Tracker, https://github.com/simonplmak-cloud/intangible-valuation/issues
10
+ Author: Intangible Valuation Contributors
11
+ License: MIT
12
+ Keywords: ai-agents,ai-valuation-tool,asc-350,asc-805,brand-valuation,capm,control-premium,customer-relationship-valuation,decision-tree,discount-rate,dloM,finance,financial-analysis,goodwill-calculation,ias-36,ifrs-3,impairment-testing,intangible-asset-valuation,litigation-damages,mcp-server,model-context-protocol,monte-carlo-simulation,mpeem,multi-period-excess-earnings,patent-valuation,ppa,purchase-price-allocation,relief-from-royalty,royalty-rate,tax-amortization-benefit,technology-valuation,transfer-pricing,valuation,wacc
13
+ Classifier: Development Status :: 3 - Alpha
14
+ Classifier: Intended Audience :: Financial and Insurance Industry
15
+ Classifier: Intended Audience :: Science/Research
16
+ Classifier: License :: OSI Approved :: MIT License
17
+ Classifier: Operating System :: OS Independent
18
+ Classifier: Programming Language :: Python :: 3
19
+ Classifier: Programming Language :: Python :: 3.11
20
+ Classifier: Programming Language :: Python :: 3.12
21
+ Classifier: Programming Language :: Python :: 3.13
22
+ Classifier: Topic :: Office/Business :: Financial
23
+ Classifier: Topic :: Office/Business :: Financial :: Accounting
24
+ Classifier: Topic :: Office/Business :: Financial :: Investment
25
+ Classifier: Topic :: Scientific/Engineering :: Mathematics
26
+ Classifier: Typing :: Typed
27
+ Requires-Python: >=3.11
28
+ Requires-Dist: numpy>=1.24
29
+ Requires-Dist: pydantic>=2.0
30
+ Provides-Extra: dev
31
+ Requires-Dist: mypy>=1.0; extra == 'dev'
32
+ Requires-Dist: pytest-cov>=4.0; extra == 'dev'
33
+ Requires-Dist: pytest>=7.0; extra == 'dev'
34
+ Requires-Dist: ruff>=0.1; extra == 'dev'
35
+ Provides-Extra: docs
36
+ Requires-Dist: mkdocs-material>=9.0; extra == 'docs'
37
+ Requires-Dist: mkdocs>=1.5; extra == 'docs'
38
+ Requires-Dist: mkdocstrings[python]>=0.24; extra == 'docs'
39
+ Provides-Extra: mcp
40
+ Requires-Dist: fastmcp>=0.1; extra == 'mcp'
41
+ Description-Content-Type: text/markdown
42
+
43
+ # Intangible Asset Valuation Engine
44
+
45
+ > Complete intangible asset valuation library implementing **124+ functions** from the Intangible Asset Valuation textbook. Python library + MCP server + AI-Agent Skills.
46
+
47
+ [![PyPI](https://img.shields.io/pypi/v/intangible-valuation.svg)](https://pypi.org/project/intangible-valuation/)
48
+ [![CI](https://github.com/simonplmak-cloud/intangible-valuation/actions/workflows/ci.yml/badge.svg)](https://github.com/simonplmak-cloud/intangible-valuation/actions/workflows/ci.yml)
49
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
50
+ [![Python 3.11+](https://img.shields.io/badge/python-3.11+-blue.svg)](https://www.python.org/downloads/)
51
+ [![Docs](https://img.shields.io/badge/docs-GitHub_Pages-blue)](https://simonplmak-cloud.github.io/intangible-valuation/)
52
+
53
+ ## Overview
54
+
55
+ A production-grade Python library for intangible asset valuation, implementing every formula from the **[Intangible Asset Valuation](https://www.amazon.com/Intangible-Asset-Valuation-Comprehensive-Technology/dp/B0FZ8742R1)** textbook by Simon Mak, William Yuen, Paul Wu, and Wayne Hu (Valuation in Practice Series, Ascent Partners). Designed for developers, financial analysts, accountants, and AI agents who need auditable, structured valuation computations for ASC 805 / IFRS 3 compliant workflows.
56
+
57
+ **Three-layer architecture:**
58
+ 1. **Python Library** — 22 modules, 124+ typed functions, all returning `ValuationResult` (value + assumptions + sensitivity)
59
+ 2. **MCP Server** — 54 tools for AI agents (Claude, OpenCode, etc.) via stdio/SSE
60
+ 3. **AI-Agent Skills** — 3 skill definitions with workflow guidance for valuation domains
61
+
62
+ ## Installation
63
+
64
+ ```bash
65
+ pip install intangible-valuation # library only
66
+ pip install intangible-valuation[mcp] # + MCP server
67
+ pip install intangible-valuation[dev] # + pytest, ruff, mypy
68
+ ```
69
+
70
+ ## Quick Start
71
+
72
+ ### Python Library
73
+
74
+ ```python
75
+ from intangible_valuation.core.time_value import present_value
76
+ from intangible_valuation.core.discount_rates import build_up_discount_rate
77
+ from intangible_valuation.income_methods.relief_from_royalty import relief_from_royalty
78
+
79
+ # Present Value
80
+ result = present_value(future_value=500_000, discount_rate=0.10, periods=8)
81
+ print(f"PV: ${result.value:,.2f}") # $233,253.69
82
+
83
+ # Build-Up Discount Rate
84
+ rate = build_up_discount_rate(
85
+ risk_free_rate=0.04, equity_risk_premium=0.06,
86
+ size_premium=0.02, industry_risk_premium=0.01, specific_risk_premium=0.03,
87
+ )
88
+ print(f"Discount rate: {rate.value:.2%}") # 16.00%
89
+
90
+ # Relief from Royalty — Patent Valuation
91
+ value = relief_from_royalty(
92
+ revenue_projections=[1_000_000, 1_100_000, 1_200_000, 1_300_000, 1_400_000],
93
+ royalty_rate=0.05, discount_rate=0.12, tax_rate=0.25, useful_life=5,
94
+ )
95
+ print(f"Patent value: ${value.value:,.2f}")
96
+ ```
97
+
98
+ ### MCP Server (for AI Agents)
99
+
100
+ ```bash
101
+ cd mcp_server && python server.py
102
+ ```
103
+
104
+ Connect with any MCP-compatible AI agent. All 54 valuation tools available.
105
+
106
+ ### AI-Agent Skills
107
+
108
+ Copy the `skills/` directory to your agent's skills folder:
109
+ - **`asset-valuation`** — Patents, trademarks, technology, customer relationships, human capital
110
+ - **`discount-rate-construction`** — Build-up, CAPM, WACC, risk premiums, adjustments
111
+ - **`purchase-price-allocation`** — ASC 805 / IFRS 3 PPA workflow, goodwill calculation, impairment testing
112
+
113
+ ## Valuation Methods by Category
114
+
115
+ | Category | Methods | Chapter |
116
+ |----------|---------|---------|
117
+ | **Time Value** | PV, FV, annuity, perpetuity, growing annuity, terminal value | 2 |
118
+ | **Discount Rates** | Build-up, CAPM, WACC, TAB, control premium, DLOM, currency adjustment | 2 |
119
+ | **Statistics** | Monte Carlo, decision trees, regression | 2 |
120
+ | **Cost Approach** | Reproduction cost, replacement cost | 3 |
121
+ | **Market Approach** | Comparable transactions, royalty capitalization | 3 |
122
+ | **Income Methods** | Relief from Royalty, MPEEM, incremental cash flow | 4 |
123
+ | **Intellectual Property** | Patent, trademark, copyright, trade secret | 5 |
124
+ | **Royalty Analysis** | Benchmarking, 25% rule, adjustment | 6 |
125
+ | **Technology** | Developed technology, software, data assets, platforms | 7 |
126
+ | **Customer-Related** | Customer relationships, distribution network, non-compete | 8 |
127
+ | **Human Capital** | Assembled workforce, key person | 9 |
128
+ | **Goodwill & PPA** | Goodwill calculation, PPA waterfall | 10 |
129
+ | **Impairment** | Goodwill & intangible impairment (ASC 350 / IAS 36) | 11 |
130
+ | **Monte Carlo** | Simulation, sensitivity analysis | 15 |
131
+ | **Decision Trees** | Backward induction | 16 |
132
+ | **Litigation** | Lost profits, pre-judgment interest | 17 |
133
+ | **Transfer Pricing** | CUP method, OECD guidelines | 18 |
134
+
135
+ ## Why This Library?
136
+
137
+ - **Auditable** — Every function returns `ValuationResult` with value, method, inputs, assumptions, and step-by-step calculation breakdown
138
+ - **Textbook-accurate** — All 124+ formulas verified against book example values with 698 unit tests
139
+ - **AI-ready** — MCP server and Skills for seamless AI agent integration
140
+ - **Complete coverage** — All three valuation approaches (cost, market, income) across 19 chapters
141
+ - **Open source** — MIT license, extensible, well-documented
142
+
143
+ ## Development
144
+
145
+ ```bash
146
+ # Install dev dependencies
147
+ pip install -e ".[dev]"
148
+
149
+ # Run tests
150
+ pytest
151
+
152
+ # Run with coverage
153
+ pytest --cov=src --cov-report=term-missing
154
+
155
+ # Lint
156
+ ruff check .
157
+
158
+ # Type check
159
+ mypy src/
160
+ ```
161
+
162
+ ## Documentation
163
+
164
+ - **API Reference:** [GitHub Pages](https://simonplmak-cloud.github.io/intangible-valuation/)
165
+ - **PyPI:** [pypi.org/project/intangible-valuation](https://pypi.org/project/intangible-valuation/)
166
+ - **MCP Server Guide:** [docs/mcp.md](docs/mcp.md)
167
+ - **AI Skills Guide:** [docs/skills.md](docs/skills.md)
168
+
169
+ ## Companion Textbook
170
+
171
+ **[Intangible Asset Valuation: A Comprehensive Guide to Valuing Brands, IP, Technology, and Human Capital](https://www.amazon.com/Intangible-Asset-Valuation-Comprehensive-Technology/dp/B0FZ8742R1)**
172
+ *Theory, Methods, Regulation, and Practice* — Valuation in Practice Series by Ascent Partners
173
+ By Simon Mak, William Yuen, Paul Wu, Wayne Hu · 176 pages · 19 chapters · 3 appendices
174
+
175
+ ## Citing This Project
176
+
177
+ ```bibtex
178
+ @software{intangible_valuation_engine,
179
+ author = {Mak, Simon and Yuen, William and Wu, Paul and Hu, Wayne},
180
+ title = {Intangible Asset Valuation Engine},
181
+ year = {2026},
182
+ url = {https://github.com/simonplmak-cloud/intangible-valuation},
183
+ license = {MIT},
184
+ }
185
+ ```
186
+
187
+ Based on formulas from the **Intangible Asset Valuation** textbook.
188
+
189
+ ## License
190
+
191
+ MIT — see [LICENSE](LICENSE) for details.
@@ -0,0 +1,149 @@
1
+ # Intangible Asset Valuation Engine
2
+
3
+ > Complete intangible asset valuation library implementing **124+ functions** from the Intangible Asset Valuation textbook. Python library + MCP server + AI-Agent Skills.
4
+
5
+ [![PyPI](https://img.shields.io/pypi/v/intangible-valuation.svg)](https://pypi.org/project/intangible-valuation/)
6
+ [![CI](https://github.com/simonplmak-cloud/intangible-valuation/actions/workflows/ci.yml/badge.svg)](https://github.com/simonplmak-cloud/intangible-valuation/actions/workflows/ci.yml)
7
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
8
+ [![Python 3.11+](https://img.shields.io/badge/python-3.11+-blue.svg)](https://www.python.org/downloads/)
9
+ [![Docs](https://img.shields.io/badge/docs-GitHub_Pages-blue)](https://simonplmak-cloud.github.io/intangible-valuation/)
10
+
11
+ ## Overview
12
+
13
+ A production-grade Python library for intangible asset valuation, implementing every formula from the **[Intangible Asset Valuation](https://www.amazon.com/Intangible-Asset-Valuation-Comprehensive-Technology/dp/B0FZ8742R1)** textbook by Simon Mak, William Yuen, Paul Wu, and Wayne Hu (Valuation in Practice Series, Ascent Partners). Designed for developers, financial analysts, accountants, and AI agents who need auditable, structured valuation computations for ASC 805 / IFRS 3 compliant workflows.
14
+
15
+ **Three-layer architecture:**
16
+ 1. **Python Library** — 22 modules, 124+ typed functions, all returning `ValuationResult` (value + assumptions + sensitivity)
17
+ 2. **MCP Server** — 54 tools for AI agents (Claude, OpenCode, etc.) via stdio/SSE
18
+ 3. **AI-Agent Skills** — 3 skill definitions with workflow guidance for valuation domains
19
+
20
+ ## Installation
21
+
22
+ ```bash
23
+ pip install intangible-valuation # library only
24
+ pip install intangible-valuation[mcp] # + MCP server
25
+ pip install intangible-valuation[dev] # + pytest, ruff, mypy
26
+ ```
27
+
28
+ ## Quick Start
29
+
30
+ ### Python Library
31
+
32
+ ```python
33
+ from intangible_valuation.core.time_value import present_value
34
+ from intangible_valuation.core.discount_rates import build_up_discount_rate
35
+ from intangible_valuation.income_methods.relief_from_royalty import relief_from_royalty
36
+
37
+ # Present Value
38
+ result = present_value(future_value=500_000, discount_rate=0.10, periods=8)
39
+ print(f"PV: ${result.value:,.2f}") # $233,253.69
40
+
41
+ # Build-Up Discount Rate
42
+ rate = build_up_discount_rate(
43
+ risk_free_rate=0.04, equity_risk_premium=0.06,
44
+ size_premium=0.02, industry_risk_premium=0.01, specific_risk_premium=0.03,
45
+ )
46
+ print(f"Discount rate: {rate.value:.2%}") # 16.00%
47
+
48
+ # Relief from Royalty — Patent Valuation
49
+ value = relief_from_royalty(
50
+ revenue_projections=[1_000_000, 1_100_000, 1_200_000, 1_300_000, 1_400_000],
51
+ royalty_rate=0.05, discount_rate=0.12, tax_rate=0.25, useful_life=5,
52
+ )
53
+ print(f"Patent value: ${value.value:,.2f}")
54
+ ```
55
+
56
+ ### MCP Server (for AI Agents)
57
+
58
+ ```bash
59
+ cd mcp_server && python server.py
60
+ ```
61
+
62
+ Connect with any MCP-compatible AI agent. All 54 valuation tools available.
63
+
64
+ ### AI-Agent Skills
65
+
66
+ Copy the `skills/` directory to your agent's skills folder:
67
+ - **`asset-valuation`** — Patents, trademarks, technology, customer relationships, human capital
68
+ - **`discount-rate-construction`** — Build-up, CAPM, WACC, risk premiums, adjustments
69
+ - **`purchase-price-allocation`** — ASC 805 / IFRS 3 PPA workflow, goodwill calculation, impairment testing
70
+
71
+ ## Valuation Methods by Category
72
+
73
+ | Category | Methods | Chapter |
74
+ |----------|---------|---------|
75
+ | **Time Value** | PV, FV, annuity, perpetuity, growing annuity, terminal value | 2 |
76
+ | **Discount Rates** | Build-up, CAPM, WACC, TAB, control premium, DLOM, currency adjustment | 2 |
77
+ | **Statistics** | Monte Carlo, decision trees, regression | 2 |
78
+ | **Cost Approach** | Reproduction cost, replacement cost | 3 |
79
+ | **Market Approach** | Comparable transactions, royalty capitalization | 3 |
80
+ | **Income Methods** | Relief from Royalty, MPEEM, incremental cash flow | 4 |
81
+ | **Intellectual Property** | Patent, trademark, copyright, trade secret | 5 |
82
+ | **Royalty Analysis** | Benchmarking, 25% rule, adjustment | 6 |
83
+ | **Technology** | Developed technology, software, data assets, platforms | 7 |
84
+ | **Customer-Related** | Customer relationships, distribution network, non-compete | 8 |
85
+ | **Human Capital** | Assembled workforce, key person | 9 |
86
+ | **Goodwill & PPA** | Goodwill calculation, PPA waterfall | 10 |
87
+ | **Impairment** | Goodwill & intangible impairment (ASC 350 / IAS 36) | 11 |
88
+ | **Monte Carlo** | Simulation, sensitivity analysis | 15 |
89
+ | **Decision Trees** | Backward induction | 16 |
90
+ | **Litigation** | Lost profits, pre-judgment interest | 17 |
91
+ | **Transfer Pricing** | CUP method, OECD guidelines | 18 |
92
+
93
+ ## Why This Library?
94
+
95
+ - **Auditable** — Every function returns `ValuationResult` with value, method, inputs, assumptions, and step-by-step calculation breakdown
96
+ - **Textbook-accurate** — All 124+ formulas verified against book example values with 698 unit tests
97
+ - **AI-ready** — MCP server and Skills for seamless AI agent integration
98
+ - **Complete coverage** — All three valuation approaches (cost, market, income) across 19 chapters
99
+ - **Open source** — MIT license, extensible, well-documented
100
+
101
+ ## Development
102
+
103
+ ```bash
104
+ # Install dev dependencies
105
+ pip install -e ".[dev]"
106
+
107
+ # Run tests
108
+ pytest
109
+
110
+ # Run with coverage
111
+ pytest --cov=src --cov-report=term-missing
112
+
113
+ # Lint
114
+ ruff check .
115
+
116
+ # Type check
117
+ mypy src/
118
+ ```
119
+
120
+ ## Documentation
121
+
122
+ - **API Reference:** [GitHub Pages](https://simonplmak-cloud.github.io/intangible-valuation/)
123
+ - **PyPI:** [pypi.org/project/intangible-valuation](https://pypi.org/project/intangible-valuation/)
124
+ - **MCP Server Guide:** [docs/mcp.md](docs/mcp.md)
125
+ - **AI Skills Guide:** [docs/skills.md](docs/skills.md)
126
+
127
+ ## Companion Textbook
128
+
129
+ **[Intangible Asset Valuation: A Comprehensive Guide to Valuing Brands, IP, Technology, and Human Capital](https://www.amazon.com/Intangible-Asset-Valuation-Comprehensive-Technology/dp/B0FZ8742R1)**
130
+ *Theory, Methods, Regulation, and Practice* — Valuation in Practice Series by Ascent Partners
131
+ By Simon Mak, William Yuen, Paul Wu, Wayne Hu · 176 pages · 19 chapters · 3 appendices
132
+
133
+ ## Citing This Project
134
+
135
+ ```bibtex
136
+ @software{intangible_valuation_engine,
137
+ author = {Mak, Simon and Yuen, William and Wu, Paul and Hu, Wayne},
138
+ title = {Intangible Asset Valuation Engine},
139
+ year = {2026},
140
+ url = {https://github.com/simonplmak-cloud/intangible-valuation},
141
+ license = {MIT},
142
+ }
143
+ ```
144
+
145
+ Based on formulas from the **Intangible Asset Valuation** textbook.
146
+
147
+ ## License
148
+
149
+ MIT — see [LICENSE](LICENSE) for details.
@@ -0,0 +1 @@
1
+ """MCP server for intangible asset valuation."""
@@ -0,0 +1,131 @@
1
+ """MCP server for intangible asset valuation.
2
+
3
+ Exposes all valuation methods as MCP tools via fastmcp.
4
+ Run with: python -m mcp_server.server
5
+ """
6
+
7
+ from __future__ import annotations
8
+
9
+ from fastmcp import FastMCP
10
+
11
+ from mcp_server.tools import (
12
+ present_value,
13
+ future_value,
14
+ annuity_pv,
15
+ perpetuity_pv,
16
+ growing_annuity_pv,
17
+ terminal_value,
18
+ build_up_discount_rate,
19
+ capm_discount_rate,
20
+ wacc,
21
+ tax_amortization_benefit,
22
+ control_premium,
23
+ dlom_finnerty,
24
+ currency_adjusted_discount_rate,
25
+ reproduction_cost,
26
+ replacement_cost,
27
+ market_approach_comparables,
28
+ royalty_capitalization,
29
+ relief_from_royalty,
30
+ mpeem,
31
+ single_period_excess_earnings,
32
+ incremental_cashflow,
33
+ contributory_asset_charges,
34
+ patent_valuation,
35
+ trademark_valuation,
36
+ copyright_valuation,
37
+ trade_secret_valuation,
38
+ developed_technology_valuation,
39
+ software_valuation,
40
+ data_asset_valuation,
41
+ platform_valuation,
42
+ customer_relationship_valuation,
43
+ distribution_network_valuation,
44
+ non_compete_valuation,
45
+ assembled_workforce_valuation,
46
+ key_person_value,
47
+ goodwill,
48
+ purchase_price_allocation,
49
+ goodwill_impairment_test,
50
+ intangible_impairment_test,
51
+ royalty_rate_benchmark,
52
+ adjust_royalty_rate,
53
+ twenty_five_percent_rule,
54
+ cup_transfer_price,
55
+ patent_infringement_damages,
56
+ monte_carlo_valuation,
57
+ monte_carlo_sensitivity,
58
+ decision_tree_valuation,
59
+ sensitivity_analysis,
60
+ estimate_useful_life,
61
+ )
62
+
63
+ mcp = FastMCP("intangible-valuation")
64
+
65
+ # Core Math
66
+ mcp.tool()(present_value)
67
+ mcp.tool()(future_value)
68
+ mcp.tool()(annuity_pv)
69
+ mcp.tool()(perpetuity_pv)
70
+ mcp.tool()(growing_annuity_pv)
71
+ mcp.tool()(terminal_value)
72
+ mcp.tool()(build_up_discount_rate)
73
+ mcp.tool()(capm_discount_rate)
74
+ mcp.tool()(wacc)
75
+ mcp.tool()(tax_amortization_benefit)
76
+ mcp.tool()(control_premium)
77
+ mcp.tool()(dlom_finnerty)
78
+ mcp.tool()(currency_adjusted_discount_rate)
79
+
80
+ # Approaches
81
+ mcp.tool()(reproduction_cost)
82
+ mcp.tool()(replacement_cost)
83
+ mcp.tool()(market_approach_comparables)
84
+ mcp.tool()(royalty_capitalization)
85
+
86
+ # Income Methods
87
+ mcp.tool()(relief_from_royalty)
88
+ mcp.tool()(mpeem)
89
+ mcp.tool()(single_period_excess_earnings)
90
+ mcp.tool()(incremental_cashflow)
91
+ mcp.tool()(contributory_asset_charges)
92
+
93
+ # Asset Types
94
+ mcp.tool()(patent_valuation)
95
+ mcp.tool()(trademark_valuation)
96
+ mcp.tool()(copyright_valuation)
97
+ mcp.tool()(trade_secret_valuation)
98
+ mcp.tool()(developed_technology_valuation)
99
+ mcp.tool()(software_valuation)
100
+ mcp.tool()(data_asset_valuation)
101
+ mcp.tool()(platform_valuation)
102
+ mcp.tool()(customer_relationship_valuation)
103
+ mcp.tool()(distribution_network_valuation)
104
+ mcp.tool()(non_compete_valuation)
105
+ mcp.tool()(assembled_workforce_valuation)
106
+ mcp.tool()(key_person_value)
107
+
108
+ # Advanced
109
+ mcp.tool()(goodwill)
110
+ mcp.tool()(purchase_price_allocation)
111
+ mcp.tool()(goodwill_impairment_test)
112
+ mcp.tool()(intangible_impairment_test)
113
+ mcp.tool()(royalty_rate_benchmark)
114
+ mcp.tool()(adjust_royalty_rate)
115
+ mcp.tool()(twenty_five_percent_rule)
116
+ mcp.tool()(cup_transfer_price)
117
+ mcp.tool()(patent_infringement_damages)
118
+ mcp.tool()(monte_carlo_valuation)
119
+ mcp.tool()(monte_carlo_sensitivity)
120
+ mcp.tool()(decision_tree_valuation)
121
+ mcp.tool()(sensitivity_analysis)
122
+ mcp.tool()(estimate_useful_life)
123
+
124
+
125
+ def main() -> None:
126
+ """Run the MCP server."""
127
+ mcp.run()
128
+
129
+
130
+ if __name__ == "__main__":
131
+ main()